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

Function timer_earliest

ccan/ccan/timer/timer.c:283–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283bool timer_earliest(struct timers *timers, struct timemono *first)
284{
285 if (!update_first(timers))
286 return false;
287
288 *first = grains_to_time(timers->first);
289 return true;
290}
291
292/* Assume no timers before 'time', cascade down and update base time. */
293static void timer_fast_forward(struct timers *timers, uint64_t time)

Callers 7

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

Calls 2

update_firstFunction · 0.85
grains_to_timeFunction · 0.85

Tested by 5

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