Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ node2ptrint
Function
node2ptrint
common/gossmap.c:244–247 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
242
}
243
244
static ptrint_t *node2ptrint(const struct gossmap_node *node)
245
{
246
return int2ptr(node - map->node_arr + 2);
247
}
248
249
static struct short_channel_id chanidx_id(const ptrint_t *pidx)
250
{
Callers
2
remove_node
Function · 0.85
add_channel
Function · 0.85
Calls
1
int2ptr
Function · 0.85
Tested by
no test coverage detected