Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PeerSource
- data PeerAdvertise
- data PeerStatus
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 PeerAdvertise Source #
Should this peer be advertised to other peers asking for known peers? For certain peers specified by configuration it would be an appropriate policy to keep them private.
Instances
data PeerStatus Source #
Instances
Eq PeerStatus Source # | |
Defined in Ouroboros.Network.PeerSelection.Types (==) :: PeerStatus -> PeerStatus -> Bool Source # (/=) :: PeerStatus -> PeerStatus -> Bool Source # |
|
Ord PeerStatus Source # | |
Defined in Ouroboros.Network.PeerSelection.Types 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 # |
|
Show PeerStatus Source # | |
Defined in Ouroboros.Network.PeerSelection.Types |