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

Function chan2ptrint

common/gossmap.c:234–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234static ptrint_t *chan2ptrint(const struct gossmap_chan *chan)
235{
236 return int2ptr(chan - map->chan_arr + 2);
237}
238
239static struct gossmap_node *ptrint2node(const ptrint_t *pidx)
240{

Callers 2

new_channelFunction · 0.85
gossmap_remove_chanFunction · 0.85

Calls 1

int2ptrFunction · 0.85

Tested by

no test coverage detected