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

Function log_peer_io

connectd/multiplex.c:908–912  ·  view source on GitHub ↗

Various cases where we don't send the msg to a gossipd, we want to * do IO logging! */

Source from the content-addressed store, hash-verified

906/* Various cases where we don't send the msg to a gossipd, we want to
907 * do IO logging! */
908static void log_peer_io(const struct peer *peer, const u8 *msg)
909{
910 status_peer_io(LOG_IO_IN, &peer->id, msg);
911 io_wake(peer->peer_outq);
912}
913
914/* Forward to gossipd */
915static void handle_gossip_in(struct peer *peer, const u8 *msg)

Callers 3

handle_gossip_inFunction · 0.85
custommsg_completedFunction · 0.85
handle_message_locallyFunction · 0.85

Calls 2

io_wakeFunction · 0.85
status_peer_ioFunction · 0.50

Tested by

no test coverage detected