aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorAurèle Oulès <aurele@oules.com>2022-11-27 11:03:04 +0100
committerAurèle Oulès <aurele@oules.com>2022-12-15 09:53:51 +0100
commit564b580bf07742483a140c7c095b896a6d5d6cad (patch)
tree8563f2d234fa5341b3d3ba51201a27577472c3bf /test/functional/test_framework
parent71d9a7c03b44236c2fea2b74f92a69234d29f717 (diff)
test: Introduce MIN_BLOCKS_TO_KEEP constant
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r--test/functional/test_framework/blocktools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/blocktools.py b/test/functional/test_framework/blocktools.py
index 77653df96e..f8e94ca6ba 100644
--- a/test/functional/test_framework/blocktools.py
+++ b/test/functional/test_framework/blocktools.py
@@ -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):