Code refactoring from Bitcoin Core 0.13.0
72c2651581fc7c60d699fa19b18c633e2c946cfd0fd599767d220f950ab1fade505e8bfa9976b853fa10ce6a6d...and some more
This commit is contained in:
@@ -21,6 +21,7 @@ from .util import (
|
||||
sync_blocks,
|
||||
sync_mempools,
|
||||
stop_nodes,
|
||||
stop_node,
|
||||
wait_bitcoinds,
|
||||
enable_coverage,
|
||||
check_json_precision,
|
||||
@@ -44,6 +45,9 @@ class BitcoinTestFramework(object):
|
||||
print("Initializing test directory "+self.options.tmpdir)
|
||||
initialize_chain(self.options.tmpdir)
|
||||
|
||||
def stop_node(self, num_node):
|
||||
stop_node(self.nodes[num_node], num_node)
|
||||
|
||||
def setup_nodes(self):
|
||||
return start_nodes(4, self.options.tmpdir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user