Class UTXOTracker
Tracks a set of UTXO according to an inclusion criteria
An abstract base class that can be used to track UTXOs,
e.g. to track UTXOs belonging to a set of keys, or matching a certain value.
Fields
Name | Type | Description |
data_
|
Set!(agora.consensus.state.Ledger.UTXOTracker.Tracked) | The underlying data
|
Methods
Name | Description |
data
()
|
|
externalize
(block, onRemoved)
|
Process all transactions in this Block
|
externalize
(tx, onRemoved)
|
Process all inputs and outputs in this Transaction
|
externalize
(hash, output)
|
Process a single Output
|
include
(hash, utxo)
|
Implement this as the inclusion criteria
|
Inner structs
Name | Description |
Tracked
|
Type of data we keep track of
|