Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ chanidx_id
Function
chanidx_id
common/gossmap.c:223–226 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
221
}
222
223
static struct short_channel_id chanidx_id(const ptrint_t *pidx)
224
{
225
return gossmap_chan_scid(map, ptrint2chan(pidx));
226
}
227
228
static struct node_id nodeidx_id(const ptrint_t *pidx)
229
{
Callers
1
chanidx_eq_id
Function · 0.85
Calls
2
gossmap_chan_scid
Function · 0.85
ptrint2chan
Function · 0.85
Tested by
no test coverage detected