aboutsummaryrefslogtreecommitdiff
path: root/test/functional/example_test.py
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2020-07-29 15:32:21 +0200
committerFabian Jahr <fjahr@protonmail.com>2021-02-01 23:13:35 +0100
commit98892f39e3d079c73bff7f2a5d5420fa95270497 (patch)
treed67a006677c0ea2233d91149180860d7277be561 /test/functional/example_test.py
parent16b784d953365bb2d7ae65acd2b20a79ef8ba7b6 (diff)
downloadbitcoin-98892f39e3d079c73bff7f2a5d5420fa95270497.tar.xz
doc: Improve setup_clean_chain documentation
Diffstat (limited to 'test/functional/example_test.py')
-rwxr-xr-xtest/functional/example_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/example_test.py b/test/functional/example_test.py
index 97f24e1b6e..a0eb213a78 100755
--- a/test/functional/example_test.py
+++ b/test/functional/example_test.py
@@ -76,6 +76,9 @@ class ExampleTest(BitcoinTestFramework):
"""Override test parameters for your individual test.
This method must be overridden and num_nodes must be explicitly set."""
+ # By default every test loads a pre-mined chain of 200 blocks from cache.
+ # Set setup_clean_chain to True to skip this and start from the Genesis
+ # block.
self.setup_clean_chain = True
self.num_nodes = 3
# Use self.extra_args to change command-line arguments for the nodes