# 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
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.
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
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.
StateUpdates is the generic type to represent the state updates.
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
PvtCollFilter represents the set of the collection names (as keys of the map with value 'true').
PvtNsCollFilter specifies the tuple <namespace, PvtCollFilter>.
StateListeners maintains the association between a namespace to its corresponding listener.