# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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
No description provided by the author
No description provided by the author

# Functions

NewPvtNsCollFilter constructs an empty PvtNsCollFilter.

# Structs

BlockAndPvtData encapsulates the block and a map that contains the tuples <seqInBlock, *TxPvtData> The map is expected to contain the entries only for the transactions that has associated pvt data.
BlockPvtData contains the private data for a block.
ChaincodeLifecycleDetails captures the finer details of chaincode lifecycle event.
ChaincodeLifecycleInfo captures the update info of a chaincode.
CollConfigNotDefinedError is returned whenever an operation is requested on a collection whose config has not been defined.
CollectionConfigInfo encapsulates a collection config for a chaincode and its committing block number.
CommitOptions encapsulates options associated with a block commit.
DeployedChaincodeInfo encapsulates chaincode information from the deployed chaincodes.
ErrCollectionConfigNotYetAvailable is an error which is returned from the function ConfigHistoryRetriever.CollectionConfigAt() if the latest block number committed is lower than the block number specified in the request.
Initializer encapsulates dependencies for PeerLedgerProvider.
InvalidCollNameError is returned whenever an operation is requested on a collection whose name is invalid.
MissingCollectionPvtDataInfo includes the name of the chaincode and collection for which private data is missing.
MissingPvtData contains a namespace and collection for which the pvtData is not present.
PvtdataHashMismatch is used when the hash of private write-set does not match the corresponding hash present in the block See function `PeerLedger.CommitPvtData` for the usages.
StateUpdateTrigger encapsulates the information and helper tools that may be used by a StateListener.
TxPvtData encapsulates the transaction number and pvt write-set for a transaction.
TxSimulationResults captures the details of the simulation results.

# Interfaces

ConfigHistoryRetriever allow retrieving history of collection configs.
DeployedChaincodeInfoProvider is a dependency that is used by ledger to build collection config history LSCC module is expected to provide an implementation fo this dependencys.
No description provided by the author
HistoryQueryExecutor executes the history queries.
MembershipInfoProvider is a dependency that is used by ledger to determine whether the current peer is a member of a collection.
MissingPvtDataTracker allows getting information about the private data that is not missing on the peer.
PeerLedger differs from the OrdererLedger in that PeerLedger locally maintain a bitmask that tells apart valid transactions from invalid ones.
PeerLedgerProvider provides handle to ledger instances.
QueryExecutor executes the queries Get* methods are for supporting KV-based data model.
QueryResultsIterator - an iterator for query result set.
SimpleQueryExecutor encapsulates basic functions.
StateListener allows a custom code for performing additional stuff upon state change for a perticular namespace against which the listener is registered.
TxSimulator simulates a transaction on a consistent snapshot of the 'as recent state as possible' Set* methods are for supporting KV-based data model.

# Type aliases

MissingBlockPvtdataInfo is a map of transaction number (within the block) to MissingCollectionPvtDataInfo.
MissingPvtDataInfo is a map of block number to MissingBlockPvtdataInfo.
NotFoundInIndexErr is used to indicate missing entry in the index.
PvtCollFilter represents the set of the collection names (as keys of the map with value 'true').
PvtNsCollFilter specifies the tuple <namespace, PvtCollFilter>.
StateUpdates is the generic type to represent the state updates.
TxMissingPvtDataMap is a map from txNum to the list of missing pvtData.
TxPvtDataMap is a map from txNum to the pvtData.