[][src]Function zcash_script::zcash_script_verify_precomputed

pub unsafe extern "C" fn zcash_script_verify_precomputed(
    preTx: *const c_void,
    nIn: c_uint,
    scriptPubKey: *const c_uchar,
    scriptPubKeyLen: c_uint,
    amount: i64,
    flags: c_uint,
    consensusBranchId: u32,
    err: *mut zcash_script_error
) -> c_int

Returns 1 if the input nIn of the precomputed transaction pointed to by preTx correctly spends the scriptPubKey pointed to by scriptPubKey under the additional constraints specified by flags.

If not NULL, err will contain an error/success code for the operation.