Skip to main content

count_script_sigops

Function count_script_sigops 

Source
pub fn count_script_sigops(script: &[u8]) -> u32
Expand description

Count HSD witness sigops without executing the script. A malformed trailing push terminates scanning after the valid prefix, matching HSD.