package
1.2.0-rc1
Repository: https://github.com/sinochem-tech/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
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
Package pvtdatastorage is a generated protocol buffer package.
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.
CollectionConfigInfo encapsulates a collection config for a chaincode and its committing block number.
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.
MissingPrivateData represents a private RWSet that isn't present among the private data passed to the ledger at the commit of the corresponding block.
TxPvtData encapsulates the transaction number and pvt write-set for a transaction.
TxSimulationResults captures the details of the simulation results the field 'SimulationBlkHt' captures the approximate height of the blockchain on which the transaction is simulated - this is used to decide when to expire the 'PvtDataSimulationResults' from transient storage.

# Interfaces

ConfigHistoryRetriever allow retrieving history of collection configs.
HistoryQueryExecutor executes the history queries.
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.
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.
ValidatedLedger represents the 'final ledger' after filtering out invalid transactions from PeerLedger.

# Type aliases

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.