test: p2p: check disconnect due to lack of desirable service flags

This commit is contained in:
Sebastian Falbesoner
2024-01-19 03:08:29 +01:00
parent 405ac819af
commit c4a67d396d
3 changed files with 72 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ MAX_PROTOCOL_MESSAGE_LENGTH = 4000000 # Maximum length of incoming protocol mes
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_NONE = 0
NODE_NETWORK = (1 << 0)
NODE_BLOOM = (1 << 2)
NODE_WITNESS = (1 << 3)