pub fn count_tapscript_sigops(script: &Vec<u8>) -> u32Expand description
Count sigops in a tapscript per BIP 342 (CountTapscriptSigOps).
Used for per-tapscript validation weight during script execution. This must not be folded
into block MAX_BLOCK_SIGOPS_COST: Bitcoin Core WitnessSigOps only counts witness v0; v1
(Taproot) contributes 0 to that total.