= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
This module supports two distinct notions of time. The first notion of time is the time as handled by the protocol. This is the time that appears in the header of blocks, the time that baking slots are specified on, etc. It only has second-level precision.
The second notion of time is the time as handled by the system. This is the time as returned by the processor clock, the time that network timeouts are specified on, etc. In has sub-second precision.
The distinction between the two notions of time is important for multiple reasons:
- Protocol time and system time may evolve independently. E.g., if a protocol update changes the notion of time.
- Protocol time and system time have different levels of precision.
- Protocol time and system time have different end-of-times. Respectively that's int64 end-of-time (some time in the year 292277026596) and rfc3339 end-of-time (end of the year 9999).
module Protocol : sig ... end
module System : sig ... end