ouroboros-network-api
Safe HaskellNone
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 OutboundConnectionsState 
Instance details

Defined in Ouroboros.Network.PeerSelection.LocalRootPeers

type Rep OutboundConnectionsState = D1 ('MetaData "OutboundConnectionsState" "Ouroboros.Network.PeerSelection.LocalRootPeers" "ouroboros-network-api-0.9.0.1-inplace" 'False) (C1 ('MetaCons "TrustedStateWithExternalPeers" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UntrustedState" 'PrefixI 'False) (U1 :: Type -> Type))
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.9.0.1-inplace" 'False) (C1 ('MetaCons "TrustedStateWithExternalPeers" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UntrustedState" 'PrefixI 'False) (U1 :: Type -> Type))