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

Function flowset_size

plugins/renepay/flow.c:181–187  ·  view source on GitHub ↗

FIXME: pass a pointer to const here */

Source from the content-addressed store, hash-verified

179
180/* FIXME: pass a pointer to const here */
181size_t flowset_size(struct flow **flows)
182{
183 size_t size = 0;
184 for (size_t i = 0; i < tal_count(flows); i++)
185 size += tal_count(flows[i]->path);
186 return size;
187}
188
189/* Checks if the flows satisfy the liquidity bounds imposed by the known maximum
190 * liquidity and pending HTLCs.

Callers 1

minflowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected