MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / run

Method run

test/functional/test_framework/p2p.py:748–751  ·  view source on GitHub ↗

Start the network thread.

(self)

Source from the content-addressed store, hash-verified

746 NetworkThread.protos = {}
747
748 def run(self):
749 """Start the network thread."""
750 NetworkThread.network_event_loop = asyncio.SelectorEventLoop() if platform.system() == "Windows" else asyncio.new_event_loop()
751 self.network_event_loop.run_forever()
752
753 def close(self, *, timeout):
754 """Close the connections and network event loop."""

Callers 15

download_binaryFunction · 0.45
mainFunction · 0.45
check_shellcheck_installFunction · 0.45
get_filesFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
transform_rpc_targetFunction · 0.45
jobFunction · 0.45
parse_test_listFunction · 0.45
test_oneMethod · 0.45
run_testMethod · 0.45

Calls

no outgoing calls

Tested by 9

mainFunction · 0.36
transform_rpc_targetFunction · 0.36
jobFunction · 0.36
parse_test_listFunction · 0.36
test_oneMethod · 0.36
test_cliMethod · 0.36
run_unit_testsFunction · 0.36
run_testsFunction · 0.36