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

Function get_gossmap

plugins/topology.c:25–29  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

23
24/* We load this on demand, since we can start before gossipd. */
25static struct gossmap *get_gossmap(void)
26{
27 gossmap_refresh(global_gossmap, NULL);
28 return global_gossmap;
29}
30
31/* Convenience global since route_score_fuzz doesn't take args. 0 to 1. */
32static double fuzz;

Callers 5

json_payFunction · 0.70
json_getrouteFunction · 0.70
listpeers_doneFunction · 0.70
json_listnodesFunction · 0.70
json_listincomingFunction · 0.70

Calls 1

gossmap_refreshFunction · 0.85

Tested by

no test coverage detected