diff options
author | Greg Sanders <gsanders87@gmail.com> | 2024-06-27 14:45:01 -0400 |
---|---|---|
committer | Greg Sanders <gsanders87@gmail.com> | 2024-07-30 14:06:58 -0400 |
commit | 1349e9ec1558484f2912a2444c410170fcec8745 (patch) | |
tree | 888471c451e464bab2e03a81847ab6b99f868312 /test/functional/test_framework | |
parent | 9d892099378b2ad5f52220403bdeae43c61d6955 (diff) |
test: Add anchor mempool acceptance test
Diffstat (limited to 'test/functional/test_framework')
-rwxr-xr-x | test/functional/test_framework/script_util.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/test_framework/script_util.py b/test/functional/test_framework/script_util.py index 855f3b8cf5..938183ece4 100755 --- a/test/functional/test_framework/script_util.py +++ b/test/functional/test_framework/script_util.py @@ -8,6 +8,7 @@ import unittest from test_framework.script import ( CScript, OP_0, + OP_1, OP_15, OP_16, OP_CHECKMULTISIG, @@ -42,6 +43,8 @@ assert MIN_PADDING == 5 DUMMY_MIN_OP_RETURN_SCRIPT = CScript([OP_RETURN] + ([OP_0] * (MIN_PADDING - 1))) assert len(DUMMY_MIN_OP_RETURN_SCRIPT) == MIN_PADDING +PAY_TO_ANCHOR = CScript([OP_1, bytes.fromhex("4e73")]) + def key_to_p2pk_script(key): key = check_key(key) return CScript([key, OP_CHECKSIG]) |