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

Function clock_time

common/clock_time.c:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13struct timeabs clock_time(void)
14{
15 used = true;
16 if (!clock_time_overridden())
17 return time_now(); /* discouraged: use clock_time so we can override */
18
19 return dev_override;
20}
21
22struct timeabs clock_time_progresses_(u64 *progress)
23{

Callers 15

update_recent_timestampFunction · 0.85
gossip_store_openFunction · 0.85
prune_networkFunction · 0.85
timestamp_reasonableFunction · 0.85
enable_gossip_streamFunction · 0.85
migrate_setup_coinmovesFunction · 0.85
trigger_expirationFunction · 0.85
install_expiration_timerFunction · 0.85
invoices_createFunction · 0.85

Calls 2

clock_time_overriddenFunction · 0.85
time_nowFunction · 0.85

Tested by 1

mainFunction · 0.68