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

Method peer_disconnect

test/functional/test_framework/mininode.py:97–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 return conn_gen
96
97 def peer_disconnect(self):
98 # Connection could have already been closed by other end.
99 NetworkThread.network_event_loop.call_soon_threadsafe(lambda: self._transport and self._transport.abort())
100
101 # Connection and disconnection methods
102

Callers 1

disconnect_p2psMethod · 0.80

Calls

no outgoing calls

Tested by 1

disconnect_p2psMethod · 0.64