doc: Improve setup_clean_chain documentation

This commit is contained in:
Fabian Jahr
2020-07-29 15:32:21 +02:00
parent 16b784d953
commit 98892f39e3
3 changed files with 11 additions and 5 deletions

View File

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