package
1.4.12
Repository: https://github.com/arktree/fabric.git
Documentation: pkg.go.dev

# Functions

ConstructBlock constructs a single block.
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.
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
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

# 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