Module nakamoto_common::block::time
source · Expand description
Block time and other time-related types.
Structs
Network-adjusted time tracker.
Time duration as measured locally.
Local time.
Clock with interior mutability.
Constants
Maximum a block timestamp can exceed the network-adjusted time before
it is considered invalid (2 hours).
Maximum time adjustment between network and local time (70 minutes).
Maximum number of samples stored.
Number of previous blocks to look at when determining the median
block time.
Minimum number of samples before we adjust local time.
Traits
A network-adjusted clock.
Clock that tells the time.
Type Definitions
A time offset, in seconds.