Expand description

Miscellaneous constraints imposed by Bitcoin. These constraints can be either Consensus or Policy (standardness) rules, for either Segwitv0 or Legacy scripts.

Constants

The Threshold for deciding whether nLockTime is interpreted as time or height.

The maximum allowed weight for a block, see BIP 141 (network rule)

Maximum operations per script

Maximum pubkeys as arguments to CHECKMULTISIG

Maximum script sig size allowed by standardness rules

Maximum script element size allowed by consensus rules

Maximum script size allowed by consensus rules

Maximum items during stack execution

Maximum script size allowed by standardness rules

Maximum p2wsh initial stack items

Disable flag for sequence locktime

Bit flag for deciding whether sequence number is interpreted as height or time

Maximum number of scripts allowed by standardness rules in TapTree format