ouroboros-network-protocols-0.8.1.0: Ouroboros Network Protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Network.Protocol.PeerSharing.Client

Synopsis

Documentation

data PeerSharingClient peerAddress m a where Source #

Constructors

SendMsgShareRequestPeerSharingAmount → ([peerAddress] → m (PeerSharingClient peerAddress m a)) → PeerSharingClient peerAddress m a 
SendMsgDone ∷ m a → PeerSharingClient peerAddress m a 

peerSharingClientPeerMonad m ⇒ PeerSharingClient peerAddress m a → Peer (PeerSharing peerAddress) AsClient StIdle m a Source #

Interpret a particular client action sequence into the client side of the PeerSharing protocol.