pub(crate) fn p2sh_input_sigop_count(
input: &Input,
spent_output: &Output,
) -> u32Expand description
Returns the P2SH sigop count for a single input.
Returns 0 for non-P2SH inputs, coinbase inputs, and P2SH inputs where no redeem script can be extracted from the scriptSig.