test: Introduce MIN_BLOCKS_TO_KEEP constant

This commit is contained in:
Aurèle Oulès committed 2022-12-15 09:53:51 +01:00
1 parent 71d9a7c03b
commit 564b580bf0
2 files changed
+3 -1

No files matched your search

@@ -61,6 +61,7 @@ WITNESS_COMMITMENT_HEADER = b"\xaa\x21\xa9\xed"
NORMAL_GBT_REQUEST_PARAMS = {"rules": ["segwit"]}
VERSIONBITS_LAST_OLD_BLOCK_VERSION = 4
MIN_BLOCKS_TO_KEEP = 288
def create_block(hashprev=None, coinbase=None, ntime=None, *, version=None, tmpl=None, txlist=None):