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

Function clock_time_progresses_

common/clock_time.c:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22struct timeabs clock_time_progresses_(u64 *progress)
23{
24 if (!clock_time_overridden())
25 return clock_time();
26
27 return timeabs_add(dev_override, time_from_sec((*progress)++));
28}
29
30void dev_override_clock_time(struct timeabs now)
31{

Callers

nothing calls this directly

Calls 4

clock_time_overriddenFunction · 0.85
clock_timeFunction · 0.85
timeabs_addFunction · 0.85
time_from_secFunction · 0.85

Tested by

no test coverage detected