MCPcopy Create free account
hub / github.com/ElementsProject/elements / on_ping

Method on_ping

test/functional/p2p_eviction.py:39–41  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

37
38class SlowP2PInterface(P2PInterface):
39 def on_ping(self, message):
40 time.sleep(0.1)
41 self.send_message(msg_pong(message.nonce))
42
43class P2PEvict(BitcoinTestFramework):
44 def set_test_params(self):

Callers

nothing calls this directly

Calls 2

msg_pongClass · 0.90
send_messageMethod · 0.45

Tested by

no test coverage detected