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

Function flow_delay

plugins/askrene/child/flow.c:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157u64 flow_delay(const struct flow *flow)
158{
159 u64 delay = 0;
160 for (size_t i = 0; i < tal_count(flow->path); i++)
161 delay += flow_edge(flow, i)->delay;
162 return delay;
163}
164
165u64 flows_worst_delay(struct flow **flows)
166{

Callers 1

flows_worst_delayFunction · 0.70

Calls 1

flow_edgeFunction · 0.70

Tested by

no test coverage detected