MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / setup_network

Method setup_network

test/functional/rpc_txoutproof.py:21–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 self.skip_if_no_wallet()
20
21 def setup_network(self):
22 self.setup_nodes()
23 connect_nodes(self.nodes[0], 1)
24 connect_nodes(self.nodes[0], 2)
25 connect_nodes(self.nodes[0], 3)
26
27 self.sync_all()
28
29 def run_test(self):
30 self.log.info("Mining blocks...")

Callers

nothing calls this directly

Calls 3

connect_nodesFunction · 0.90
sync_allMethod · 0.80
setup_nodesMethod · 0.45

Tested by

no test coverage detected