ouroboros-network
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.PeerSelection.RootPeersDNS.PublicRootPeers

Synopsis

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 #