ouroboros-network-api-0.7.2.0: A networking api shared with ouroboros-consensus
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Network.PeerSelection.LocalRootPeers

Documentation

data OutboundConnectionsState Source #

Constructors

TrustedStateWithExternalPeers
  • in the Praos mode: connected only to trusted local peers and at least one bootstrap peer or public root;
  • in the Genesis mode: meeting target of active big ledger peers;
  • or it is in LocalRootsOnly mode and indeed only connected to trusted local root peers (see AssociationMode).
UntrustedState

catch all other cases

Instances

Instances details
Generic OutboundConnectionsState Source # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LocalRootPeers

Associated Types

type Rep OutboundConnectionsStateTypeType #

Show OutboundConnectionsState Source # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LocalRootPeers

Eq OutboundConnectionsState Source # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LocalRootPeers

NoThunks OutboundConnectionsState Source # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LocalRootPeers

type Rep OutboundConnectionsState Source # 
Instance details

Defined in Ouroboros.Network.PeerSelection.LocalRootPeers

type Rep OutboundConnectionsState = D1 ('MetaData "OutboundConnectionsState" "Ouroboros.Network.PeerSelection.LocalRootPeers" "ouroboros-network-api-0.7.2.0-inplace" 'False) (C1 ('MetaCons "TrustedStateWithExternalPeers" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "UntrustedState" 'PrefixI 'False) (U1TypeType))