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

Function gossmap_next_chan

common/gossmap.c:1104–1108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102}
1103
1104struct gossmap_chan *gossmap_next_chan(const struct gossmap *map,
1105 struct gossmap_chan *prev)
1106{
1107 return chan_iter(map, prev - map->chan_arr + 1);
1108}
1109
1110bool gossmap_chan_capacity(const struct gossmap_chan *chan,
1111 int direction,

Callers 2

listpeers_doneFunction · 0.85
clean_topoFunction · 0.85

Calls 1

chan_iterFunction · 0.85

Tested by

no test coverage detected