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

Function gossmap_max_chan_idx

common/gossmap.c:192–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192u32 gossmap_max_chan_idx(const struct gossmap *map)
193{
194 assert(tal_count(map->chan_arr) == map->num_chan_arr);
195 return map->num_chan_arr;
196}
197
198/* Each channel has a unique (low) index. */
199u32 gossmap_node_idx(const struct gossmap *map, const struct gossmap_node *node)

Callers 15

gather_rangeFunction · 0.85
prune_networkFunction · 0.85
gossmap_chan_byidxFunction · 0.85
get_capacitiesFunction · 0.85
do_getroutesFunction · 0.85
new_route_queryFunction · 0.85
init_linear_networkFunction · 0.85
get_flow_pathsFunction · 0.85
init_linear_networkFunction · 0.85
get_flow_pathsFunction · 0.85
check_disabledFunction · 0.85

Calls

no outgoing calls

Tested by 3

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68