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

Function flows_worst_delay

plugins/renepay/flow.c:476–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476u64 flows_worst_delay(struct flow **flows)
477{
478 u64 maxdelay = 0;
479 for (size_t i = 0; i < tal_count(flows); i++) {
480 u64 delay = flow_delay(flows[i]);
481 if (delay > maxdelay)
482 maxdelay = delay;
483 }
484 return maxdelay;
485}
486
487#ifndef SUPERVERBOSE_ENABLED
488#undef SUPERVERBOSE

Callers

nothing calls this directly

Calls 1

flow_delayFunction · 0.70

Tested by

no test coverage detected