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

Function gossmap_max_node_idx

common/gossmap.c:189–193  ·  view source on GitHub ↗

These values can change across calls to gossmap_check. */

Source from the content-addressed store, hash-verified

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

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