# Functions
CleanupTestEnv closes the ledgermagmt and removes the store directory.
Close closes all the opened ledgers and any resources held for ledger management.
CreateLedger creates a new ledger with the given genesis block.
GetLedgerIDs returns the ids of the ledgers created.
Initialize initializes ledgermgmt.
InitializeTestEnv initializes ledgermgmt for tests.
InitializeTestEnvWithCustomProcessors initializes ledgermgmt for tests with the supplied custom tx processors.
OpenLedger returns a ledger for the given id.
# Variables
ErrLedgerAlreadyOpened is thrown by a CreateLedger call if a ledger with the given id is already opened.
ErrLedgerMgmtNotInitialized is thrown when ledger mgmt is used before initializing this.