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

Function flow_delay

plugins/renepay/flow.c:468–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468u64 flow_delay(const struct flow *flow)
469{
470 u64 delay = 0;
471 for (size_t i = 0; i < tal_count(flow->path); i++)
472 delay += flow_edge(flow, i)->delay;
473 return delay;
474}
475
476u64 flows_worst_delay(struct flow **flows)
477{

Callers 1

flows_worst_delayFunction · 0.70

Calls 1

flow_edgeFunction · 0.70

Tested by

no test coverage detected