package
1.1.0
Repository: https://github.com/yuanlv/fabric-1.git
Documentation: pkg.go.dev

# Functions

InitTestEnv initialize TestEnv with given configurations.

# Constants

ChainInitOpCreate indicates that the chains should be creates afresh.
ChainInitOpOpen indicates that the existing chains should be opened.

# Structs

BatchConf captures the batch related configurations BatchSize specifies the number of transactions in one block SignBlock specifies whether the transactions should be signed.
Chain extends ledger.PeerLedger and the experiments invoke ledger functions via a chain type.
ChainMgrConf captures the configurations meant at the level of chainMgr DataDir field specifies the filesystem location where the chains data is maintained NumChains field specifies the number of chains to instantiate.
TestEnv is a high level struct that the experiments are expeted to use as a starting point.

# Type aliases

ChainID is a type used for the ids for the chains for experiments.
SimulationResult is a type used for simulation results.