ouroboros-network-0.1.0.0: A networking layer for the Ouroboros blockchain protocol

Ouroboros.Network.PeerSelection.Governor.KnownPeers

Synopsis

# Documentation

If we are above the target of known peers (i.e. cold, warm and hot combined), we drop some of the cold peers but we protect the targetNumberOfRootPeers (from combined sets of local and public root peers). policyPickColdPeersToForget policy is used to pick the peers.