Expand description
Miscellaneous constraints imposed by Bitcoin. These constraints can be either Consensus or Policy (standardness) rules, for either Segwitv0 or Legacy scripts.
Constantsยง
- MAX_
BLOCK_ WEIGHT - The maximum allowed weight for a block, see BIP 141 (network rule)
- MAX_
OPS_ PER_ SCRIPT - Maximum operations per script
- MAX_
PUBKEYS_ IN_ CHECKSIGADD - Maximum pubkeys in a CHECKSIGADD construction.
- MAX_
PUBKEYS_ PER_ MULTISIG - Maximum pubkeys as arguments to CHECKMULTISIG
- MAX_
SCRIPTSIG_ SIZE - Maximum script sig size allowed by standardness rules
- MAX_
SCRIPT_ ELEMENT_ SIZE - Maximum script element size allowed by consensus rules
- MAX_
SCRIPT_ SIZE - Maximum script size allowed by consensus rules
- MAX_
STACK_ SIZE - Maximum items during stack execution
- MAX_
STANDARD_ P2WSH_ SCRIPT_ SIZE - Maximum script size allowed by standardness rules
- MAX_
STANDARD_ P2WSH_ STACK_ ITEMS - Maximum p2wsh initial stack items