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

Function nodeidx_id

common/gossmap.c:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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