mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge #8056: [qa] Remove hardcoded "4 nodes" from test_framework
fad68f7[qa] Reduce node count for some tests (MarcoFalke)fac9349[qa] Remove hardcoded "4 nodes" from test_framework (MarcoFalke)
This commit is contained in:
@@ -20,14 +20,14 @@ def calc_usage(blockdir):
|
||||
class PruneTest(BitcoinTestFramework):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 3
|
||||
|
||||
self.utxo = []
|
||||
self.address = ["",""]
|
||||
self.txouts = gen_return_txouts()
|
||||
|
||||
def setup_chain(self):
|
||||
print("Initializing test directory "+self.options.tmpdir)
|
||||
initialize_chain_clean(self.options.tmpdir, 3)
|
||||
|
||||
def setup_network(self):
|
||||
self.nodes = []
|
||||
self.is_network_split = False
|
||||
|
||||
Reference in New Issue
Block a user