Module utxo

Source
Expand description

Consensus rule checks for the finalized state.

Functions§

remaining_transaction_value
Reject negative remaining transaction value.
transparent_coinbase_spend
Check that utxo is spendable, based on the coinbase spend_restriction.
transparent_spend
Lookup all the transparent::Utxos spent by a SemanticallyVerifiedBlock. If any of the spends are invalid, return an error. Otherwise, return the looked up UTXOs.
transparent_spend_chain_order 🔒
Check that transparent spends occur in chain order.