diff options
author | w0xlt <woltx@protonmail.com> | 2022-08-06 02:57:14 -0300 |
---|---|---|
committer | w0xlt <woltx@protonmail.com> | 2022-08-11 12:05:09 -0300 |
commit | 8b3d2bbd0d3c87f1a68586822ddc468e0c2f9b52 (patch) | |
tree | b074a30cdb60a0f88689251337eec3c4e95ff341 /test/functional/test_framework/messages.py | |
parent | 93999a5fbe317852307455b6a42d137cc08a0edc (diff) |
test: add tests for `datacarrier` and `datacarriersize` options
Co-authored-by: Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
Diffstat (limited to 'test/functional/test_framework/messages.py')
-rwxr-xr-x | test/functional/test_framework/messages.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index b323c52e5e..4e757b64ca 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -68,6 +68,9 @@ WITNESS_SCALE_FACTOR = 4 DEFAULT_ANCESTOR_LIMIT = 25 # default max number of in-mempool ancestors DEFAULT_DESCENDANT_LIMIT = 25 # default max number of in-mempool descendants +# Default setting for -datacarriersize. 80 bytes of data, +1 for OP_RETURN, +2 for the pushdata opcodes. +MAX_OP_RETURN_RELAY = 83 + def sha256(s): return hashlib.sha256(s).digest() |