Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_framework/messages.py
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
# messages (BIP37) | # messages (BIP37) | ||||
MY_RELAY = 1 | MY_RELAY = 1 | ||||
MAX_LOCATOR_SZ = 101 | MAX_LOCATOR_SZ = 101 | ||||
MAX_BLOCK_BASE_SIZE = 1000000 | MAX_BLOCK_BASE_SIZE = 1000000 | ||||
MAX_BLOOM_FILTER_SIZE = 36000 | MAX_BLOOM_FILTER_SIZE = 36000 | ||||
MAX_BLOOM_HASH_FUNCS = 50 | MAX_BLOOM_HASH_FUNCS = 50 | ||||
# 1 BCH in satoshis | # 1,000,000 XEC in satoshis (legacy BCHA) | ||||
COIN = 100000000 | COIN = 100000000 | ||||
# 1 XEC in satoshis | # 1 XEC in satoshis | ||||
XEC = 100 | XEC = 100 | ||||
MAX_MONEY = 21000000 * COIN | MAX_MONEY = 21000000 * COIN | ||||
# Maximum length of incoming protocol messages | # Maximum length of incoming protocol messages | ||||
MAX_PROTOCOL_MESSAGE_LENGTH = 2 * 1024 * 1024 | MAX_PROTOCOL_MESSAGE_LENGTH = 2 * 1024 * 1024 | ||||
MAX_HEADERS_RESULTS = 2000 # Number of headers sent in one getheaders result | MAX_HEADERS_RESULTS = 2000 # Number of headers sent in one getheaders result | ||||
▲ Show 20 Lines • Show All 2,031 Lines • Show Last 20 Lines |