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

Function level_may_beat

ccan/ccan/timer/timer.c:220–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220static bool level_may_beat(const struct timers *timers, size_t level,
221 const struct timer *first)
222{
223 return !first || timers->firsts[level] < first->time;
224}
225
226/* FIXME: Suboptimal */
227static const struct timer *brute_force_first(struct timers *timers)

Callers 1

brute_force_firstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected