doc: Improve setup_clean_chain documentation

This commit is contained in:
Fabian Jahr committed 2021-02-01 23:13:35 +01:00
1 parent 16b784d953
commit 98892f39e3
3 files changed
+11 -5

No files matched your search

+3
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