Expand description
Unspent transparent output data structures and functions.
Structs§
- Ordered
Utxo - A
Utxo
, and the index of its transaction within its block. - Utxo
- An unspent
transparent::Output
, with accompanying metadata.
Enums§
- Coinbase
Spend Restriction - A restriction that must be checked before spending a transparent output of a coinbase transaction.
Functions§
- new_
ordered_ outputs - Compute an index of newly created
OrderedUtxo
s, given a block and a list of precomputed transaction hashes. - new_
ordered_ outputs_ with_ height - Compute an index of newly created
OrderedUtxo
s, given a block and a list of precomputed transaction hashes. - new_
outputs - Compute an index of newly created
Utxo
s, given a block and a list of precomputed transaction hashes. - new_
outputs_ with_ height - Compute an index of newly created
Utxo
s, given a block and a list of precomputed transaction hashes. - new_
transaction_ ordered_ outputs - Compute an index of newly created
OrderedUtxo
s, given a transaction, its precomputed transaction hash, the transaction’s index in its block, and the block’s height. - outputs_
from_ utxos - Compute an index of
transparent::Output
s, given an index ofUtxo
s. - utxos_
from_ ordered_ utxos - Compute an index of
Utxo
s, given an index ofOrderedUtxo
s.