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

Function status_peer_io

common/status.c:122–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void status_peer_io(enum log_level iodir,
123 const struct node_id *peer,
124 const u8 *p)
125{
126 report_logging_io("SIGUSR1");
127 if (logging_io)
128 status_io_full(iodir, peer, "", p);
129 /* We get a huge amount of gossip; don't log it */
130 else if (!is_msg_for_gossipd(p))
131 status_peer_io_short(iodir, peer, p);
132}
133
134void status_io(enum log_level iodir,
135 const struct node_id *peer,

Callers 12

peer_writeFunction · 0.70
peer_readFunction · 0.70
inject_peer_msgFunction · 0.50
maybe_from_gossip_storeFunction · 0.50
handle_ping_inFunction · 0.50
handle_pong_inFunction · 0.50
handle_gossip_inFunction · 0.50
handle_custommsgFunction · 0.50
read_body_from_peer_doneFunction · 0.50
peer_init_receivedFunction · 0.50
peer_exchange_initmsgFunction · 0.50

Calls 4

report_logging_ioFunction · 0.85
status_io_fullFunction · 0.85
status_peer_io_shortFunction · 0.85
is_msg_for_gossipdFunction · 0.50

Tested by

no test coverage detected