mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-24 12:51:39 +02:00
doc: Improve setup_clean_chain documentation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user