pub unsafe extern "C" fn bitcoinconsensus_verify_script_with_spent_outputs(
script_pubkey: *const u8,
script_pubkeylen: u32,
amount: u64,
tx_to: *const u8,
tx_tolen: u32,
spent_outputs: *const u8,
num_spent_outputs: u32,
n_in: u32,
flags: u32,
err: *mut Error
) -> i32
Expand description
Verifies that the transaction input correctly spends the previous output, considering any additional constraints specified by flags.
This function verifies Taproot inputs.