Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module contains the definition of a state in the Genesis State Machine (GSM). The GSM itself is defined in 'ouroboros-consensus-diffusion', but the ChainSync client relies on its state.
Synopsis
- data GsmState
Documentation
Current state of the Genesis State Machine
PreSyncing | We are syncing, and the Honest Availability Assumption is not satisfied. |
Syncing | We are syncing, and the Honest Availability Assumption is satisfied. |
CaughtUp | We are caught-up. |
Instances
Generic GsmState Source # | |
Read GsmState Source # | |
Show GsmState Source # | |
Eq GsmState Source # | |
NoThunks GsmState Source # | |
type Rep GsmState Source # | |
Defined in Ouroboros.Consensus.Node.GsmState type Rep GsmState = D1 ('MetaData "GsmState" "Ouroboros.Consensus.Node.GsmState" "ouroboros-consensus-0.21.0.0-inplace" 'False) (C1 ('MetaCons "PreSyncing" 'PrefixI 'False) (U1 ∷ Type → Type) :+: (C1 ('MetaCons "Syncing" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "CaughtUp" 'PrefixI 'False) (U1 ∷ Type → Type))) |