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

Function peer_gossip_startup

gossipd/seeker.c:314–320  ·  view source on GitHub ↗

We have selected this peer to stream us startup gossip */

Source from the content-addressed store, hash-verified

312
313/* We have selected this peer to stream us startup gossip */
314static void peer_gossip_startup(struct seeker *seeker, struct peer *peer,
315 bool ask_for_all)
316{
317 status_peer_debug(&peer->id, "seeker: chosen as startup peer");
318 selected_peer(seeker, peer);
319 normal_gossip_start(seeker, peer, ask_for_all);
320}
321
322static bool peer_has_gossip_queries(const struct peer *peer)
323{

Callers 2

check_firstpeerFunction · 0.85
seeker_setup_peer_gossipFunction · 0.85

Calls 2

selected_peerFunction · 0.85
normal_gossip_startFunction · 0.85

Tested by

no test coverage detected