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

Function get_gossmap

connectd/connectd.c:2364–2371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2362}
2363
2364struct gossmap *get_gossmap(struct daemon *daemon)
2365{
2366 if (!daemon->gossmap_raw)
2367 setup_gossip_store(daemon);
2368 else
2369 gossmap_refresh(daemon->gossmap_raw);
2370 return daemon->gossmap_raw;
2371}
2372
2373static void dev_exhaust_fds(struct daemon *daemon, const u8 *msg)
2374{

Callers 5

setup_peer_gossip_storeFunction · 0.70
maybe_gossip_msgFunction · 0.70
append_gossmap_addressesFunction · 0.70

Calls 2

setup_gossip_storeFunction · 0.85
gossmap_refreshFunction · 0.85

Tested by

no test coverage detected