pub unsafe extern "C" fn bitcoinconsensus_verify_script_with_amount(
    script_pubkey: *const c_uchar,
    script_pubkeylen: c_uint,
    amount: u64,
    tx_to: *const c_uchar,
    tx_tolen: c_uint,
    n_in: c_uint,
    flags: c_uint,
    err: *mut Error
) -> c_int
Expand description

Verifies that the transaction input correctly spends the previous output, considering any additional constraints specified by flags.