Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- publicRootPeersProvider :: forall peerAddr resolver exception a m. (MonadThrow m, MonadAsync m, Exception exception, Ord peerAddr) => Tracer m TracePublicRootPeers -> (IP -> PortNumber -> peerAddr) -> DNSSemaphore m -> ResolvConf -> STM m (Map RelayAccessPoint PeerAdvertise) -> DNSActions resolver exception m -> ((Int -> m (Map peerAddr PeerAdvertise, DiffTime)) -> m a) -> m a
- data TracePublicRootPeers
DNS based provider for public root peers
publicRootPeersProvider :: forall peerAddr resolver exception a m. (MonadThrow m, MonadAsync m, Exception exception, Ord peerAddr) => Tracer m TracePublicRootPeers -> (IP -> PortNumber -> peerAddr) -> DNSSemaphore m -> ResolvConf -> STM m (Map RelayAccessPoint PeerAdvertise) -> DNSActions resolver exception m -> ((Int -> m (Map peerAddr PeerAdvertise, DiffTime)) -> m a) -> m a Source #
data TracePublicRootPeers Source #
TracePublicRootRelayAccessPoint (Map RelayAccessPoint PeerAdvertise) | |
TracePublicRootDomains [DomainAccessPoint] | |
TracePublicRootResult Domain [(IP, TTL)] | |
TracePublicRootFailure Domain DNSError |
Instances
Show TracePublicRootPeers Source # | |
Defined in Ouroboros.Network.PeerSelection.RootPeersDNS.PublicRootPeers showsPrec :: Int -> TracePublicRootPeers -> ShowS # show :: TracePublicRootPeers -> String # showList :: [TracePublicRootPeers] -> ShowS # |