package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.git
Documentation: pkg.go.dev
# Packages
Code generated by counterfeiter.
# Functions
ConstructBlock constructs a single block.
No description provided by the author
No description provided by the author
No description provided by the author
ConstructBytesProposalResponsePayload constructs a ProposalResponse byte with given chaincode version and simulationResults for testing.
ConstructRandomBytes constructs random bytes of given size.
ConstructSignedTxEnv constructs a transaction envelop for tests.
ConstructSignedTxEnvWithDefaultSigner constructs a transaction envelop for tests with a default signer.
ConstructTestBlock constructs a single block with random contents.
ConstructTestBlocks returns a series of blocks starting with blockNum=0.
ConstructTransaction constructs a transaction for testing.
No description provided by the author
ConstructTransaction constructs a transaction for testing with header type.
ConstructUnsignedTxEnv creates a Transaction envelope from given inputs.
CopyDir creates a copy of a dir.
CreateTarBytesForTest creates a tar byte array for unit testing.
No description provided by the author
NewBlockGenerator instantiates new BlockGenerator for testing.
No description provided by the author
Unzip will decompress the src zip file to the dest directory.
# Structs
No description provided by the author
BlockGenerator generates a series of blocks for testing.
TarFileEntry is a structure for adding test index files to an tar.
No description provided by the author