package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Packages
Code generated by counterfeiter.
Code generated by counterfeiter.
# Functions
IsDevMode returns true if the peer was configured with development-mode enabled.
NewHandlerRegistry constructs a HandlerRegistry.
NewTransactionContexts creates a registry for active transaction contexts.
ParseName parses a chaincode name into a ChaincodeInstance.
# Constants
DevModeUserRunsChaincode enables chaincode execution in a development environment.
InitializedKeyName is the reserved key in a chaincode's namespace which records the ID of the chaincode which initialized the namespace.
# Structs
ChaincodeSupport responsible for providing interfacing with chaincodes from the Peer.
ContainerRuntime is responsible for managing containerized chaincode.
Handler implements the peer side of the chaincode stream.
HandlerRegistry maintains chaincode Handler instances.
RuntimeLauncher is responsible for launching chaincode runtimes.
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.
ConnectionHandler handles the `Chaincode` client connection.
ContainerRouter is a poor abstraction used for building, and running chaincode processes.
A ContextRegistry is responsible for managing transaction contexts.
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.
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.
TransactionRegistry tracks active transactions for each channel.
UUIDGenerator is responsible for creating unique query identifiers.
# Type aliases
CollectionACLCache encapsulates a cache that stores read write permission on a collection.