ouroboros-network-0.16.1.0: A networking layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Network.PeerSelection.Governor.BigLedgerPeers

Documentation

belowTarget ∷ (MonadSTM m, Ord peeraddr) ⇒ PeerSelectionActions peeraddr peerconn m → TimePeerSelectionState peeraddr peerconn → Guarded (STM m) (TimedDecision m peeraddr peerconn) Source #

aboveTarget ∷ ∀ m peeraddr peerconn. (Alternative (STM m), MonadSTM m, Ord peeraddr, HasCallStack) ⇒ MkGuardedDecision peeraddr peerconn m Source #