Skip to main content

p2sh_redeemed_script_sigop_count

Function p2sh_redeemed_script_sigop_count 

Source
fn p2sh_redeemed_script_sigop_count(
    input: &Input,
    spent_output: &Output,
) -> Option<u32>
Expand description

Extracts the P2SH redeemed script’s sigop count for a single input.

Returns Some(count) for P2SH inputs where a redeemed script was found, None for non-P2SH, coinbase, or P2SH inputs with an empty scriptSig.