package
1.4.7
Repository: https://github.com/hyperledger-labs/fabric.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Code generated by counterfeiter.
No description provided by the author
No description provided by the author
Code generated by counterfeiter.
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

No description provided by the author
IsDevMode returns true if the peer was configured with development-mode enabled.
No description provided by the author
NewChaincodeSupport creates a new ChaincodeSupport instance.
No description provided by the author
NewHandlerRegistry constructs a HandlerRegistry.
No description provided by the author
No description provided by the author
No description provided by the author
NewTransactionContexts creates a registry for active transaction contexts.
No description provided by the author
ParseName parses a chaincode name into a ChaincodeInstance.

# Constants

No description provided by the author
DevModeUserRunsChaincode enables chaincode execution in a development environment.
No description provided by the author
HistoryQueryExecutorKey is the context key used to provide a ledger.HistoryQueryExecutor from the endorser to the chaincode.
No description provided by the author
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 the context key used to provide a ledger.TxSimulator from the endorser to the chaincode.

# Structs

No description provided by the author
ccProviderImpl is an implementation of the ccprovider.ChaincodeProvider interface.
ChaincodeSupport responsible for providing interfacing with chaincodes from the Peer.
No description provided by the author
ContainerRuntime is responsible for managing containerized chaincode.
Handler implements the peer side of the chaincode stream.
No description provided by the author
HandlerRegistry maintains chaincode Handler instances.
LaunchConfig holds chaincode launch arguments, environment variables, and files.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RuntimeLauncher is responsible for launching chaincode runtimes.
No description provided by the author
TransactionContexts maintains active transaction contexts for a Handler.

# Interfaces

An ACLProvider performs access control checks when invoking chaincode.
ApplicationConfigRetriever to retrieve the application configuration for a channel.
CertGenerator generates client certificates for chaincode.
ChaincodeDefinitionGetter is responsible for retrieving a chaincode definition from the system.
A ContextRegistry is responsible for managing transaction contexts.
InstantiationPolicyChecker is used to evaluate instantiation policies.
An Invoker invokes chaincode.
Launcher is used to launch chaincode runtimes.
LaunchRegistry tracks launching chaincode instances.
LedgerGetter is used to get ledgers for chaincode.
Lifecycle provides a way to retrieve chaincode definitions and the packages necessary to run them.
No description provided by the author
PackageProvider gets chaincode packages from the filesystem.
Processor processes vm and container requests.
QueryResponseBuilder is responsible for building QueryResponse messages for query transactions initiated by chaincode.
A Registry is responsible for tracking handlers.
Runtime is used to manage chaincode runtime instances.
SystemCCProvider provides system chaincode metadata.
TransactionRegistry tracks active transactions for each channel.
UUIDGenerator is responsible for creating unique query identifiers.

# Type aliases

Adapter from function to InstantiationPolicyChecker interface.
No description provided by the author
No description provided by the author