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

Function nodeidx_id

common/gossmap.c:257–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257static struct node_id nodeidx_id(const ptrint_t *pidx)
258{
259 struct node_id id;
260 gossmap_node_get_id(map, ptrint2node(pidx), &id);
261 return id;
262}
263
264struct gossmap_node *gossmap_find_node(const struct gossmap *map,
265 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