MCPcopy Create free account
hub / github.com/ElementsProject/lightning / on_connected

Function on_connected

tests/plugins/peer_connected_logger_b.py:12–14  ·  view source on GitHub ↗
(peer, plugin, **kwargs)

Source from the content-addressed store, hash-verified

10
11@plugin.hook('peer_connected')
12def on_connected(peer, plugin, **kwargs):
13 print(f"peer_connected_logger_b {peer['id']} {peer}")
14 return {'result': 'continue'}
15
16
17plugin.run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected