Class UTXOSet

class UTXOSet
  : UTXOCache ;

Constructors

NameDescription
this (db) Constructor

Methods

NameDescription
clear ()
getUTXOs (pubkey) Get UTXOs from the UTXO set
length ()
opApply (dg)
peekUTXO (utxo, value)
findUTXO (utxo, value) Get an UTXO, does not return double spend.
getUTXOFinder () Prepare tracking double-spent transactions and return the UTXOFinder delegate
updateUTXOCache (tx, height, commons_budget) Add all of a transaction's outputs to the Utxo set, and remove the spent outputs in the transaction from the set.
updateUTXOLock (utxo, unlock_height) Update lock height of a UTXO
add (utxo, value)
remove (utxo)
getUTXO (utxo) Get an UTXO from the UTXO set.