Module agora.consensus.state.Ledger
The Ledger
class binds together other components to provide a consistent
view of the state of the node.
The Ledger acts as a bridge between other components, e.g. the UTXOSet
,
EnrollmentManager
, IBlockStorage
, etc...
The most basic class, Ledger
, is found in this module. Other derived
classes might provide more advanced features, e.g. nodes use either
NodeLedger
or a class derived from it, which includes pools,
allowing to reduce network communication and/or perform validation.
Classes
Name | Description |
---|---|
Ledger
|
|
UTXOTracker
|
Tracks a set of UTXO according to an inclusion criteria |