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

Function get_gossmap

plugins/topology.c:23–27  ·  view source on GitHub ↗

We load this on demand, since we can start before gossipd. */

Source from the content-addressed store, hash-verified

21
22/* We load this on demand, since we can start before gossipd. */
23static struct gossmap *get_gossmap(void)
24{
25 gossmap_refresh(global_gossmap);
26 return global_gossmap;
27}
28
29static bool can_carry(const struct gossmap *map,
30 const struct gossmap_chan *c,

Callers 4

json_listchannelsFunction · 0.70
json_listnodesFunction · 0.70

Calls 1

gossmap_refreshFunction · 0.85

Tested by

no test coverage detected