| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.BlockchainTime.WallClock.Util
Contents
Description
Support for defining BlockchainTime instances
Tracing
data TraceBlockchainTimeEvent Source #
Time related tracing
Constructors
| TraceStartTimeInTheFuture SystemStart NominalDiffTime | The start time of the blockchain time is in the future We have to block (for |
| TraceCurrentSlotUnknown UTCTime PastHorizonException | Current slot is not yet known This happens when the tip of our current chain is so far in the past that we cannot translate the current wallclock to a slot number, typically during syncing. Until the current slot number is known, we cannot produce blocks. Seeing this message during syncing therefore is normal and to be expected. We record the current time (the time we tried to translate to a |
Instances
| Show TraceBlockchainTimeEvent Source # | |
Defined in Ouroboros.Consensus.BlockchainTime.WallClock.Util Methods showsPrec :: Int -> TraceBlockchainTimeEvent -> ShowS # show :: TraceBlockchainTimeEvent -> String # showList :: [TraceBlockchainTimeEvent] -> ShowS # | |
Exceptions
data SystemClockMovedBackException Source #
Constructors
| SystemClockMovedBack SlotNo SlotNo | The system clock got moved back so far that the slot number decreased We record the the slot number before and after the change. |