test: test MAX_SCRIPT_SIZE for block validity

This commit is contained in:
Greg Sanders
2025-04-18 12:36:43 -04:00
parent 247e9de622
commit b1ea542ae6
2 changed files with 32 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ from .messages import (
from .crypto.ripemd160 import ripemd160
MAX_SCRIPT_ELEMENT_SIZE = 520
MAX_SCRIPT_SIZE = 10000
MAX_PUBKEYS_PER_MULTI_A = 999
LOCKTIME_THRESHOLD = 500000000
ANNEX_TAG = 0x50