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