Module sapio_miniscript::miniscript::limits[][src]

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

Constants

HEIGHT_TIME_THRESHOLD

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

MAX_OPS_PER_SCRIPT

Maximum operations per script

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_STANDARD_P2WSH_SCRIPT_SIZE

Maximum script size allowed by standardness rules

MAX_STANDARD_P2WSH_STACK_ITEMS

Maximum p2wsh initial stack items

SEQUENCE_LOCKTIME_DISABLE_FLAG

Disable flag for sequence locktime

SEQUENCE_LOCKTIME_TYPE_FLAG

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