Skip to content

Commit

Permalink
p2p-governor: New governor properties for making progress towards tar…
Browse files Browse the repository at this point in the history
…gets

In particular the target for known peers, which is particularly tricky.
Also properties for established and active peers. These all use the
signal-based abstraction to define the properties in a compositional
and hopefully comprehensible style.
  • Loading branch information
dcoutts authored and coot committed Sep 28, 2021
1 parent 6d1eb72 commit 39bcb71
Show file tree
Hide file tree
Showing 3 changed files with 1,011 additions and 5 deletions.
Expand Up @@ -32,7 +32,9 @@ module Ouroboros.Network.PeerSelection.Governor (
sanePeerSelectionTargets,
establishedPeersStatus,
PeerSelectionState(..),
PeerSelectionCounters(..)
PeerSelectionCounters(..),
nullPeerSelectionTargets,
emptyPeerSelectionState,
) where

import Data.Void (Void)
Expand Down

0 comments on commit 39bcb71

Please sign in to comment.