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

Function timer_earliest

ccan/ccan/timer/timer.c:291–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291bool timer_earliest(struct timers *timers, struct timemono *first)
292{
293 if (!update_first(timers))
294 return false;
295
296 *first = grains_to_time(timers->first);
297 return true;
298}
299
300/* Assume no timers before 'time', cascade down and update base time. */
301static void timer_fast_forward(struct timers *timers, uint64_t time)

Callers 8

mainFunction · 0.85
io_loopFunction · 0.85
mainFunction · 0.85
update_and_expireFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 2

update_firstFunction · 0.85
grains_to_timeFunction · 0.85

Tested by 6

mainFunction · 0.68
update_and_expireFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68