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

Function node2ptrint

common/gossmap.c:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244static ptrint_t *node2ptrint(const struct gossmap_node *node)
245{
246 return int2ptr(node - map->node_arr + 2);
247}
248
249static struct short_channel_id chanidx_id(const ptrint_t *pidx)
250{

Callers 2

remove_nodeFunction · 0.85
add_channelFunction · 0.85

Calls 1

int2ptrFunction · 0.85

Tested by

no test coverage detected