test: refactor: add constant for sequence number SEQUENCE_FINAL

This commit is contained in:
Sebastian Falbesoner committed 2022-01-11 15:28:28 +01:00
1 parent c561f2f06e
commit 2f79786822
8 files changed
+32 -20

No files matched your search

@@ -40,6 +40,7 @@ COIN = 100000000 # 1 btc in satoshis
MAX_MONEY = 21000000 * COIN
BIP125_SEQUENCE_NUMBER = 0xfffffffd # Sequence number that is rbf-opt-in (BIP 125) and csv-opt-out (BIP 68)
SEQUENCE_FINAL = 0xffffffff # Sequence number that disables nLockTime if set for every input of a tx
MAX_PROTOCOL_MESSAGE_LENGTH = 4000000 # Maximum length of incoming protocol messages
MAX_HEADERS_RESULTS = 2000 # Number of headers sent in one getheaders result