MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / stop_node

Function stop_node

qa/rpc-tests/test_framework/util.py:269–272  ·  view source on GitHub ↗
(node, i)

Source from the content-addressed store, hash-verified

267 return os.path.join(dirname, "node"+str(n_node), "regtest", logname)
268
269def stop_node(node, i):
270 node.stop()
271 bitcoind_processes[i].wait()
272 del bitcoind_processes[i]
273
274def stop_nodes(nodes):
275 for node in nodes:

Callers 7

stop_threeMethod · 0.85
run_testMethod · 0.85
reorg_testMethod · 0.85
run_testMethod · 0.85
reindexMethod · 0.85
run_testMethod · 0.85

Calls 2

waitMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected