Skip to main content

Module transaction

Module transaction 

Source

Functionsยง

calculate_transaction_size
Spec-locked to Orange Paper Section 5.1: CalculateTransactionSize
check_transaction
Spec-locked to Orange Paper Section 5.1: CheckTransaction
check_tx_inputs
Spec-locked to Orange Paper Section 5.1: CheckTxInputs
check_tx_inputs_with_owned_data
Hot-path: validate inputs using pre-copied UTXO data (value, is_coinbase, height). Avoids holding overlay refs; enables buffer reuse in block validation.
check_tx_inputs_with_utxos
Optimized version that accepts pre-collected UTXOs to avoid redundant lookups
is_coinbase
Spec-locked to Orange Paper Section 6.4: IsCoinbase