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

Function handle_gossip_in

connectd/multiplex.c:660–667  ·  view source on GitHub ↗

Forward to gossipd */

Source from the content-addressed store, hash-verified

658
659/* Forward to gossipd */
660static void handle_gossip_in(struct peer *peer, const u8 *msg)
661{
662 u8 *gmsg = towire_gossipd_recv_gossip(NULL, &peer->id, msg);
663
664 /* gossipd doesn't log IO, so we log it here. */
665 status_peer_io(LOG_IO_IN, &peer->id, msg);
666 daemon_conn_send(peer->daemon->gossipd, take(gmsg));
667}
668
669static void handle_gossip_timestamp_filter_in(struct peer *peer, const u8 *msg)
670{

Callers 1

handle_message_locallyFunction · 0.85

Calls 2

status_peer_ioFunction · 0.50
daemon_conn_sendFunction · 0.50

Tested by

no test coverage detected