Skip to main content

verify_p2pkh_inline_parsed

Function verify_p2pkh_inline_parsed 

Source
pub fn verify_p2pkh_inline_parsed(
    signature_bytes: &[u8],
    pubkey_bytes: &[u8],
    script_pubkey: &[u8],
    flags: u32,
    tx: &Transaction,
    input_index: usize,
    height: u64,
    network: Network,
    precomputed_sighash_all: Option<[u8; 32]>,
    precomputed_p2pkh_hash: Option<[u8; 20]>,
    ecdsa_collect: Option<(&EcdsaSignatureCollector, usize)>,
) -> Result<bool, ConsensusError>
Expand description

Like verify_p2pkh_inline but skips a second parse_p2pkh_script_sig when the caller already parsed (IBD serial / collect hot path).