pub unsafe extern "C" fn bitcoinconsensus_verify_script_with_amount(
script_pubkey: *const u8,
script_pubkeylen: u32,
amount: u64,
tx_to: *const u8,
tx_tolen: 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.