Skip to main content

validate_p2pkh_with_opts

Function validate_p2pkh_with_opts 

Source
pub fn validate_p2pkh_with_opts(
    script_sig: &[u8],
    script_pubkey: &[u8],
    opts: &ExecuteOpts,
) -> Result<bool, ScriptError>
Expand description

Validates a P2PKH script pair with execution options.

See validate_p2pkh for details. The opts parameter controls OP_CHECKSIG behavior via ExecuteOpts::sighash.