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

Function node2ptrint

common/gossmap.c:218–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static ptrint_t *node2ptrint(const struct gossmap_node *node)
219{
220 return int2ptr(node - map->node_arr + 2);
221}
222
223static struct short_channel_id chanidx_id(const ptrint_t *pidx)
224{

Callers 2

remove_nodeFunction · 0.85
add_channelFunction · 0.85

Calls 1

int2ptrFunction · 0.85

Tested by

no test coverage detected