Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ouroboros.Network.PeerSelection.Types
Synopsis
Documentation
data PeerSource Source #
Where did this peer come from? Policy functions can choose to treat peers differently depending on where we found them from.
Instances
data PeerStatus Source #
Constructors
PeerCold | Peer is in true cold which means no connection to exists and the outbound governor is safe to promote it. |
PeerCooling | Peer is in cold state but its connection still lingers. I.e. it is still in progress to be fully demoted. |
PeerWarm | |
PeerHot |
Instances
Show PeerStatus Source # | |
Defined in Ouroboros.Network.PeerSelection.Types | |
Eq PeerStatus Source # | |
Defined in Ouroboros.Network.PeerSelection.Types Methods (==) :: PeerStatus -> PeerStatus -> Bool Source # (/=) :: PeerStatus -> PeerStatus -> Bool Source # | |
Ord PeerStatus Source # | |
Defined in Ouroboros.Network.PeerSelection.Types Methods compare :: PeerStatus -> PeerStatus -> Ordering Source # (<) :: PeerStatus -> PeerStatus -> Bool Source # (<=) :: PeerStatus -> PeerStatus -> Bool Source # (>) :: PeerStatus -> PeerStatus -> Bool Source # (>=) :: PeerStatus -> PeerStatus -> Bool Source # max :: PeerStatus -> PeerStatus -> PeerStatus Source # min :: PeerStatus -> PeerStatus -> PeerStatus Source # |