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

Method on_ping

test/functional/test_framework/p2p.py:430–431  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

428 self.send_message(want)
429
430 def on_ping(self, message):
431 self.send_message(msg_pong(message.nonce))
432
433 def on_verack(self, message):
434 pass

Callers

nothing calls this directly

Calls 2

msg_pongClass · 0.90
send_messageMethod · 0.45

Tested by

no test coverage detected