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

Function log_peer_io

connectd/multiplex.c:822–826  ·  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

820/* Various cases where we don't send the msg to a gossipd, we want to
821 * do IO logging! */
822static void log_peer_io(const struct peer *peer, const u8 *msg)
823{
824 status_peer_io(LOG_IO_IN, &peer->id, msg);
825 io_wake(peer->peer_outq);
826}
827
828/* Forward to gossipd */
829static 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