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

Function get_gossmap

plugins/fetchinvoice.c:490–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490static struct gossmap *get_gossmap(struct plugin *plugin)
491{
492 if (!global_gossmap)
493 init_gossmap(plugin);
494 else
495 gossmap_refresh(global_gossmap, NULL);
496 return global_gossmap;
497}
498
499static struct command_result *param_offer(struct command *cmd,
500 const char *name,

Callers 1

path_to_nodeFunction · 0.70

Calls 2

gossmap_refreshFunction · 0.85
init_gossmapFunction · 0.70

Tested by

no test coverage detected