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

Function get_gossmap

plugins/libplugin-pay.c:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35struct gossmap *get_gossmap(struct plugin *plugin)
36{
37 if (!global_gossmap)
38 init_gossmap(plugin);
39 else
40 gossmap_refresh(global_gossmap, NULL);
41 return global_gossmap;
42}
43
44struct payment *payment_new(tal_t *ctx, struct command *cmd,
45 struct payment *parent,

Callers 3

payment_getrouteFunction · 0.70
routehint_step_cbFunction · 0.70

Calls 2

gossmap_refreshFunction · 0.85
init_gossmapFunction · 0.70

Tested by

no test coverage detected