Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data ConsensusMode Source #
Diffusion layer configuration parameter.
The two modes determine which PeerSelectionTargets
basis is used
by churn and OG. The node's configuration sets this, and diffusion
is initiated and remains only in this mode.
GenesisMode | When |
PraosMode | The legacy mode which depends on official relays and/or bootstrap peers configuration. This mode uses only the default target basis irrespective ledger state. |
Instances
FromJSON ConsensusMode Source # | |||||
Defined in Ouroboros.Network.ConsensusMode parseJSON :: Value -> Parser ConsensusMode # parseJSONList :: Value -> Parser [ConsensusMode] # | |||||
Generic ConsensusMode Source # | |||||
Defined in Ouroboros.Network.ConsensusMode
from :: ConsensusMode -> Rep ConsensusMode x # to :: Rep ConsensusMode x -> ConsensusMode # | |||||
Show ConsensusMode Source # | |||||
Defined in Ouroboros.Network.ConsensusMode showsPrec :: Int -> ConsensusMode -> ShowS # show :: ConsensusMode -> String # showList :: [ConsensusMode] -> ShowS # | |||||
Eq ConsensusMode Source # | |||||
Defined in Ouroboros.Network.ConsensusMode (==) :: ConsensusMode -> ConsensusMode -> Bool # (/=) :: ConsensusMode -> ConsensusMode -> Bool # | |||||
type Rep ConsensusMode Source # | |||||
Defined in Ouroboros.Network.ConsensusMode |