Versions in this module Expand all Collapse all v1 v1.4.9 Sep 30, 2020 Changes in this version + var ErrLedgerAlreadyOpened = errors.New("ledger already opened") + var ErrLedgerMgmtNotInitialized = errors.New("ledger mgmt should be initialized before using") + func CleanupTestEnv() + func Close() + func CreateLedger(genesisBlock *common.Block) (ledger.PeerLedger, error) + func GetLedgerIDs() ([]string, error) + func Initialize(initializer *Initializer) + func InitializeExistingTestEnvWithInitializer(initializer *Initializer) + func InitializeTestEnv() + func InitializeTestEnvWithInitializer(initializer *Initializer) + func OpenLedger(id string) (ledger.PeerLedger, error) + type Initializer struct + CustomTxProcessors customtx.Processors + DeployedChaincodeInfoProvider ledger.DeployedChaincodeInfoProvider + HealthCheckRegistry ledger.HealthCheckRegistry + MembershipInfoProvider ledger.MembershipInfoProvider + MetricsProvider metrics.Provider + PlatformRegistry *platforms.Registry Incompatible versions in this module v2.1.1+incompatible Jun 1, 2020