test: refactor: add constant for sequence number SEQUENCE_FINAL

This commit is contained in:
Sebastian Falbesoner
2022-01-11 02:08:01 +01:00
parent c561f2f06e
commit 2f79786822
8 changed files with 32 additions and 20 deletions

View File

@@ -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