package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.
Code generated by mockery v1.0.0.

# Functions

AssemblePvtRWSet prepares TxPvtReadWriteSet for distribution augmenting it into TxPvtReadWriteSetWithConfigInfo adding information about collections config available related to private read-write set.
NewPluginEndorser endorses with using a plugin.
UnpackProposal creates an *UnpackedProposal which is guaranteed to have no zero-ed fields or it returns an error.

# Structs

ChannelState defines state operations.
Context defines the data that is related to an in-flight endorsement.
Endorser provides the Endorser service ProcessProposal.
PluginEndorser endorsers proposal responses using plugins.
PluginSupport aggregates the support interfaces needed for the operation of the plugin endorser.
StateContext defines an execution context that interacts with the state.
SupportImpl provides an implementation of the endorser.Support interface issuing calls to various static methods of the peer.
UnpackedProposal contains the interesting artifacts from inside the proposal.

# Interfaces

ChannelFetcher fetches the channel context for a given channel ID.
ChannelStateRetriever retrieves Channel state.
CollectionConfigRetriever encapsulates sub-functionality of ledger.TxSimulator to abstract minimum required functions set.
PeerOperations contains the peer operation required to support the endorser.
PluginMapper maps plugin names to their corresponding factories.
PvtRWSetAssembler assembles private read write set for distribution augments with additional information if needed.
QueryCreator creates new QueryExecutors go:generate mockery -dir .
Support contains functions that the endorser requires to execute its tasks.
TransientStoreRetriever retrieves transient stores.

# Type aliases

MapBasedPluginMapper maps plugin names to their corresponding factories.
PluginName defines the name of the plugin as it appears in the configuration.