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

Function node2ptrint

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

Source from the content-addressed store, hash-verified

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

Callers 2

remove_nodeFunction · 0.85
add_channelFunction · 0.85

Calls 1

int2ptrFunction · 0.85

Tested by

no test coverage detected