cardano-diffusion
Safe HaskellNone
LanguageHaskell2010

Cardano.Network.LedgerPeerConsensusInterface

Contents

Synopsis

Documentation

data LedgerPeersConsensusInterface (m :: Type -> Type) Source #

Cardano Node specific consensus interface actions.

Constructors

LedgerPeersConsensusInterface 

Fields

data GetImmutableBlockPointError Source #

Error returned by getImmutableBlockPoint.

Constructors

ImmutableBlockPointGenesisPoint

Genesis point was provided as the target, which has no slot or hash to look up.

ImmutableBlockPointNotYetImmutable

The block was not found in ImmutableDB because the target slot is not yet immutable.

ImmutableBlockPointTipIsOrigin

ImmutableDB is empty (tip is at origin).

Re-exports

data LedgerStateJudgement #

Constructors

YoungEnough 
TooOld 

Instances

Instances details
Generic LedgerStateJudgement 
Instance details

Defined in Cardano.Network.LedgerStateJudgement

Associated Types

type Rep LedgerStateJudgement 
Instance details

Defined in Cardano.Network.LedgerStateJudgement

type Rep LedgerStateJudgement = D1 ('MetaData "LedgerStateJudgement" "Cardano.Network.LedgerStateJudgement" "cardano-diffusion-1.0.0.0-inplace-api" 'False) (C1 ('MetaCons "YoungEnough" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TooOld" 'PrefixI 'False) (U1 :: Type -> Type))
Show LedgerStateJudgement 
Instance details

Defined in Cardano.Network.LedgerStateJudgement

Eq LedgerStateJudgement 
Instance details

Defined in Cardano.Network.LedgerStateJudgement

NoThunks LedgerStateJudgement 
Instance details

Defined in Cardano.Network.LedgerStateJudgement

type Rep LedgerStateJudgement 
Instance details

Defined in Cardano.Network.LedgerStateJudgement

type Rep LedgerStateJudgement = D1 ('MetaData "LedgerStateJudgement" "Cardano.Network.LedgerStateJudgement" "cardano-diffusion-1.0.0.0-inplace-api" 'False) (C1 ('MetaCons "YoungEnough" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TooOld" 'PrefixI 'False) (U1 :: Type -> Type))

data OutboundConnectionsState #

Instances

Instances details
Generic OutboundConnectionsState 
Instance details

Defined in Cardano.Network.PeerSelection.LocalRootPeers

Associated Types

type Rep OutboundConnectionsState 
Instance details

Defined in Cardano.Network.PeerSelection.LocalRootPeers

type Rep OutboundConnectionsState = D1 ('MetaData "OutboundConnectionsState" "Cardano.Network.PeerSelection.LocalRootPeers" "cardano-diffusion-1.0.0.0-inplace-api" 'False) (C1 ('MetaCons "TrustedStateWithExternalPeers" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UntrustedState" 'PrefixI 'False) (U1 :: Type -> Type))
Show OutboundConnectionsState 
Instance details

Defined in Cardano.Network.PeerSelection.LocalRootPeers

Eq OutboundConnectionsState 
Instance details

Defined in Cardano.Network.PeerSelection.LocalRootPeers

NoThunks OutboundConnectionsState 
Instance details

Defined in Cardano.Network.PeerSelection.LocalRootPeers

type Rep OutboundConnectionsState 
Instance details

Defined in Cardano.Network.PeerSelection.LocalRootPeers

type Rep OutboundConnectionsState = D1 ('MetaData "OutboundConnectionsState" "Cardano.Network.PeerSelection.LocalRootPeers" "cardano-diffusion-1.0.0.0-inplace-api" 'False) (C1 ('MetaCons "TrustedStateWithExternalPeers" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UntrustedState" 'PrefixI 'False) (U1 :: Type -> Type))