Skip to main content

Module sigops

Module sigops 

Source
Expand description

Signature operation counters.

Functions§

count_block
Counts sigop cost visible without a UTXO set.
count_legacy
Counts legacy sigops in a script using Core’s legacy multisig rule.
count_segwit
Counts segwit-v0 sigops for a witness program and witness stack.
count_taproot
Counts taproot sigops under BIP342’s per-input budget model.