Skip to main content

Module clock_gate

Module clock_gate 

Source
Expand description

Holds seq minting until the wall clock can be trusted. A Pi without an RTC boots on a saved, older time until NTP syncs, and a restored card boots at roughly its image time; seqs minted then could repeat.

Structs§

ClockGate
GateStatus
SystemSignals

Constants§

READING_FILE

Traits§

TimeSignals

Functions§

is_untrusted
True for ClockUntrusted itself or an anyhow::Error carrying it anywhere in its chain.
report_to
Reports the gate, and a store basis running ahead of synchronised time, to /health on every tick.