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

Function gossmap_next_chan

common/gossmap.c:1593–1597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1591}
1592
1593struct gossmap_chan *gossmap_next_chan(const struct gossmap *map,
1594 struct gossmap_chan *prev)
1595{
1596 return chan_iter(map, prev - map->chan_arr + 1);
1597}
1598
1599bool gossmap_chan_has_capacity(const struct gossmap_chan *chan,
1600 int direction,

Callers 8

json_listchannelsFunction · 0.85
get_capacitiesFunction · 0.85
uncertainty_updateFunction · 0.85
get_routesFunction · 0.85
check_disabledFunction · 0.85
mainFunction · 0.85
clean_topoFunction · 0.85

Calls 1

chan_iterFunction · 0.85

Tested by

no test coverage detected