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

Function gossmap_max_node_idx

common/gossmap.c:160–164  ·  view source on GitHub ↗

These values can change across calls to gossmap_check. */

Source from the content-addressed store, hash-verified

158
159/* These values can change across calls to gossmap_check. */
160u32 gossmap_max_node_idx(const struct gossmap *map)
161{
162 assert(tal_count(map->node_arr) == map->num_node_arr);
163 return map->num_node_arr;
164}
165
166u32 gossmap_max_chan_idx(const struct gossmap *map)
167{

Callers 4

dijkstra_Function · 0.85
gossmap_node_byidxFunction · 0.85
clean_topoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected