pub fn bitcoinconsensus_verify_script(
    script_pub_key: *const u8,
    script_pub_key_len: u32,
    tx_to: *const u8,
    tx_to_len: u32,
    n_in: u32,
    flags: u32,
    err: *mut BitcoinConsensusError
) -> i32
Expand description

| Returns 1 if the input nIn of the serialized | transaction pointed to by txTo correctly | spends the scriptPubKey pointed to by | scriptPubKey under the additional constraints | specified by flags. | | If not nullptr, err will contain an | error/success code for the operation