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

Method on_ping

test/functional/p2p_ping.py:24–25  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

22
23class NodePongAdd1(P2PInterface):
24 def on_ping(self, message):
25 self.send_message(msg_pong(message.nonce + 1))
26
27
28class NodeNoPong(P2PInterface):

Callers

nothing calls this directly

Calls 2

msg_pongClass · 0.90
send_messageMethod · 0.45

Tested by

no test coverage detected