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

Function get_raw_gossmap

plugins/libplugin-pay.c:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39struct gossmap *get_raw_gossmap(struct payment *payment)
40{
41 assert(!got_gossmap);
42 if (!global_gossmap)
43 init_gossmap(payment->plugin);
44 else
45 gossmap_refresh(global_gossmap);
46 return global_gossmap;
47}
48
49static struct gossmap *get_gossmap(struct payment *payment)
50{

Callers 2

json_payFunction · 0.85
get_gossmapFunction · 0.85

Calls 2

gossmap_refreshFunction · 0.85
init_gossmapFunction · 0.70

Tested by

no test coverage detected