ouroboros-network-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Network.Types

Synopsis

Documentation

data LedgerStateJudgement Source #

Wether the node is caught up or fell too far behind the chain

Constructors

YoungEnough 
TooOld 

Instances

Instances details
Generic LedgerStateJudgement Source # 
Instance details

Defined in Cardano.Network.Types

Associated Types

type Rep LedgerStateJudgement 
Instance details

Defined in Cardano.Network.Types

type Rep LedgerStateJudgement = D1 ('MetaData "LedgerStateJudgement" "Cardano.Network.Types" "ouroboros-network-api-0.12.0.0-inplace" 'False) (C1 ('MetaCons "YoungEnough" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TooOld" 'PrefixI 'False) (U1 :: Type -> Type))
Show LedgerStateJudgement Source # 
Instance details

Defined in Cardano.Network.Types

Eq LedgerStateJudgement Source # 
Instance details

Defined in Cardano.Network.Types

NoThunks LedgerStateJudgement Source # 
Instance details

Defined in Cardano.Network.Types

type Rep LedgerStateJudgement Source # 
Instance details

Defined in Cardano.Network.Types

type Rep LedgerStateJudgement = D1 ('MetaData "LedgerStateJudgement" "Cardano.Network.Types" "ouroboros-network-api-0.12.0.0-inplace" 'False) (C1 ('MetaCons "YoungEnough" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TooOld" 'PrefixI 'False) (U1 :: Type -> Type))

newtype NumberOfBigLedgerPeers Source #

Minimum number of hot big ledger peers in Genesis mode for trusted state to be signalled to Consensus. This number should be smaller than the targetNumberOfActiveBigLedgerPeers but greater than 1. In Genesis, we may demote a big ledger peer for underperformance, but not promote a replacement immediately to guard against adversaries which may want to slow down our progress.