MCPcopy Create free account
hub / github.com/ElementsProject/lightning / node_iter

Function node_iter

common/gossmap.c:1552–1559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550}
1551
1552static struct gossmap_node *node_iter(const struct gossmap *map, size_t start)
1553{
1554 for (size_t i = start; i < map->num_node_arr; i++) {
1555 if (map->node_arr[i].chan_idxs != NULL)
1556 return &map->node_arr[i];
1557 }
1558 return NULL;
1559}
1560
1561struct gossmap_node *gossmap_first_node(const struct gossmap *map)
1562{

Callers 2

gossmap_first_nodeFunction · 0.85
gossmap_next_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected