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

Function flows_worst_delay

plugins/askrene/child/flow.c:165–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165u64 flows_worst_delay(struct flow **flows)
166{
167 u64 maxdelay = 0;
168 for (size_t i = 0; i < tal_count(flows); i++) {
169 u64 delay = flow_delay(flows[i]);
170 if (delay > maxdelay)
171 maxdelay = delay;
172 }
173 return maxdelay;
174}
175
176u32 flows_worst_length(struct flow **flows)
177{

Callers 1

linear_routesFunction · 0.70

Calls 1

flow_delayFunction · 0.70

Tested by

no test coverage detected