Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ ptrint2node
Function
ptrint2node
common/gossmap.c:239–242 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
237
}
238
239
static struct gossmap_node *ptrint2node(const ptrint_t *pidx)
240
{
241
return map->node_arr + ptr2int(pidx) - 2;
242
}
243
244
static ptrint_t *node2ptrint(const struct gossmap_node *node)
245
{
Callers
3
nodeidx_id
Function · 0.85
gossmap_find_node
Function · 0.85
gossmap_random_node
Function · 0.85
Calls
1
ptr2int
Function · 0.85
Tested by
no test coverage detected