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

Function node_iter

common/gossmap.c:1546–1553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544}
1545
1546static struct gossmap_node *node_iter(const struct gossmap *map, size_t start)
1547{
1548 for (size_t i = start; i < map->num_node_arr; i++) {
1549 if (map->node_arr[i].chan_idxs != NULL)
1550 return &map->node_arr[i];
1551 }
1552 return NULL;
1553}
1554
1555struct gossmap_node *gossmap_first_node(const struct gossmap *map)
1556{

Callers 2

gossmap_first_nodeFunction · 0.85
gossmap_next_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected