Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ chan2ptrint
Function
chan2ptrint
common/gossmap.c:208–211 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
206
}
207
208
static ptrint_t *chan2ptrint(const struct gossmap_chan *chan)
209
{
210
return int2ptr(chan - map->chan_arr + 2);
211
}
212
213
static struct gossmap_node *ptrint2node(const ptrint_t *pidx)
214
{
Callers
2
new_channel
Function · 0.85
gossmap_remove_chan
Function · 0.85
Calls
1
int2ptr
Function · 0.85
Tested by
no test coverage detected