Function UTXOCache.updateUTXOCache
Add all of a transaction's outputs to the Utxo set, and remove the spent outputs in the transaction from the set.
void updateUTXOCache
(
ref const(Transaction) tx,
Height height,
immutable(PublicKey) commons_budget
) @safe;
Parameters
Name | Description |
---|---|
tx | the transaction |
height | local height of the block |
commons_budget | the CommonsBudget address |