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

Function gossmap_max_node_idx

common/gossmap.c:186–190  ·  view source on GitHub ↗

These values can change across calls to gossmap_check. */

Source from the content-addressed store, hash-verified

184
185/* These values can change across calls to gossmap_check. */
186u32 gossmap_max_node_idx(const struct gossmap *map)
187{
188 assert(tal_count(map->node_arr) == map->num_node_arr);
189 return map->num_node_arr;
190}
191
192u32 gossmap_max_chan_idx(const struct gossmap *map)
193{

Callers 14

get_unannounced_nodesFunction · 0.85
populate_node_mapFunction · 0.85
dijkstra_Function · 0.85
gossmap_node_byidxFunction · 0.85
init_linear_networkFunction · 0.85
find_path_or_cycleFunction · 0.85
get_flow_pathsFunction · 0.85
init_linear_networkFunction · 0.85
get_flow_pathsFunction · 0.85
minflowFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected