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

Function node_iter

common/gossmap.c:1065–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065static struct gossmap_node *node_iter(const struct gossmap *map, size_t start)
1066{
1067 for (size_t i = start; i < map->num_node_arr; i++) {
1068 if (map->node_arr[i].chan_idxs != NULL)
1069 return &map->node_arr[i];
1070 }
1071 return NULL;
1072}
1073
1074struct gossmap_node *gossmap_first_node(const struct gossmap *map)
1075{

Callers 2

gossmap_first_nodeFunction · 0.85
gossmap_next_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected