package
0.6.1-preview
Repository: https://github.com/yunpeng-j/hlf-2.2.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package shim is a generated protocol buffer package.

# Functions

Execute - execute transaction or a query.
ExecuteTransactions - will execute transactions on the array one by onewill return an array of errors one for each transaction.
GetChain returns the chaincode support for a given chain.
HandleChaincodeStream Main loop for handling the associated Chaincode stream.
NewChaincodeSupport creates a new ChaincodeSupport instance.
SetupTestConfig setup the config during test execution.
SetupTestLogging setup the logging during test execution.

# Constants

DefaultChain is the name of the default chain.
DevModeUserRunsChaincode property allows user to run chaincode in development environment.

# Structs

ChaincodeSupport responsible for providing interfacing with chaincodes from the Peer.
Config the config wrapper structure.
DuplicateChaincodeHandlerError returned if attempt to register same chaincodeID while a stream already exists.
Handler responsbile for management of Peer's side of chaincode stream.

# Interfaces

MessageHandler interface for handling chaincode messages (common between Peer chaincode support and chaincode).

# Type aliases

ChainName is the name of the chain to which this chaincode support belongs to.