diff options
author | Jon Atack <jon@atack.com> | 2020-06-14 12:54:37 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-06-19 14:14:35 +0200 |
commit | 56010f92564a94b0ca6c008c0e6f74a19fad4a2a (patch) | |
tree | 3f4ea1c0198ab6a5e688c98cc39148fd5d2df870 /test/functional/test_framework/messages.py | |
parent | 75447f0893f9ad9bf83d182b301d139430d8de1c (diff) |
test: hoist p2p values to test framework constants
Diffstat (limited to 'test/functional/test_framework/messages.py')
-rwxr-xr-x | test/functional/test_framework/messages.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 4d1dd4422e..eb1244035f 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -45,6 +45,10 @@ MAX_MONEY = 21000000 * COIN BIP125_SEQUENCE_NUMBER = 0xfffffffd # Sequence number that is BIP 125 opt-in and BIP 68-opt-out +MAX_PROTOCOL_MESSAGE_LENGTH = 4000000 # Maximum length of incoming protocol messages +MAX_HEADERS_RESULTS = 2000 # Number of headers sent in one getheaders result +MAX_INV_SIZE = 50000 # Maximum number of entries in an 'inv' protocol message + NODE_NETWORK = (1 << 0) NODE_GETUTXO = (1 << 1) NODE_BLOOM = (1 << 2) |