Skip to main content

check_tx_inputs_with_owned_data

Function check_tx_inputs_with_owned_data 

Source
pub fn check_tx_inputs_with_owned_data(
    tx: &Transaction,
    height: u64,
    utxo_data: &[Option<(i64, bool, u64)>],
) -> Result<(ValidationResult, i64), ConsensusError>
Expand description

Hot-path: validate inputs using pre-copied UTXO data (value, is_coinbase, height). Avoids holding overlay refs; enables buffer reuse in block validation.