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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package shim provides APIs for the chaincode to access its state variables, transaction context and call other chaincodes.

# Functions

Execute - execute proposal, return original response of chaincode.
ExecuteChaincode executes a given chaincode given chaincode name and arguments.
ExecuteWithErrorFilter is similar to Execute, but filters error contained in chaincode response and returns Payload of response only.
GetCDS retrieves a chaincode deployment spec for the required chaincode.
GetChain returns the chaincode framework support object.
GetChaincodeDefinition returns resourcesconfig.ChaincodeDefinition for the chaincode with the supplied name.
HandleChaincodeStream Main loop for handling the associated Chaincode stream.
IsDevMode returns true if the peer was configured with development-mode enabled.
NewChaincodeSupport creates a new ChaincodeSupport instance.

# Constants

DevModeUserRunsChaincode property allows user to run chaincode in development environment.
HistoryQueryExecutorKey is used to attach ledger history query executor context.
No description provided by the author
Mutual TLS auth client key and cert paths in the chaincode container.
No description provided by the author
TXSimulatorKey is used to attach ledger simulation context.

# Structs

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