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

Method setup_network

test/functional/p2p_unrequested_blocks.py:72–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 self.skip_if_no_wallet()
71
72 def setup_network(self):
73 # Node0 will be used to test behavior of processing unrequested blocks
74 # from peers which are not whitelisted, while Node1 will be used for
75 # the whitelisted case.
76 # Node2 will be used for non-whitelisted peers to test the interaction
77 # with nMinimumChainWork.
78 self.setup_nodes()
79
80 def run_test(self):
81 # Setup the p2p connections

Callers

nothing calls this directly

Calls 1

setup_nodesMethod · 0.45

Tested by

no test coverage detected