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

Function nodeidx_id

common/gossmap.c:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228static struct node_id nodeidx_id(const ptrint_t *pidx)
229{
230 struct node_id id;
231 gossmap_node_get_id(map, ptrint2node(pidx), &id);
232 return id;
233}
234
235struct gossmap_node *gossmap_find_node(const struct gossmap *map,
236 const struct node_id *id)

Callers 1

nodeidx_eq_idFunction · 0.85

Calls 2

gossmap_node_get_idFunction · 0.85
ptrint2nodeFunction · 0.85

Tested by

no test coverage detected