test: test MAX_SCRIPT_SIZE for block validity

This commit is contained in:
Greg Sanders committed 2025-04-21 09:39:05 -04:00
1 parent 247e9de622
commit b1ea542ae6
2 files changed
+32 -2

No files matched your search

+1
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