ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.MiniProtocol.ObjectDiffusion.Outbound

Documentation

objectDiffusionOutbound Source #

Arguments

∷ ∀ objectId object ticketNo (m ∷ Type → Type). (Ord objectId, MonadSTM m, MonadThrow m) 
⇒ Tracer m (TraceObjectDiffusionOutbound objectId object) 
→ NumObjectsUnacknowledged

Maximum number of unacknowledged objectIds allowed

→ ObjectPoolReader objectId object ticketNo m 
→ NodeToNodeVersion 
→ ObjectDiffusionOutbound objectId object m () 

data TraceObjectDiffusionOutbound objectId object Source #

Constructors

TraceObjectDiffusionOutboundRecvMsgRequestObjectIds NumObjectIdsReq 
TraceObjectDiffusionOutboundSendMsgReplyObjectIds [objectId]

The IDs to be sent in the response

TraceObjectDiffusionOutboundRecvMsgRequestObjects [objectId]

The IDs of the objects requested.

TraceObjectDiffusionOutboundSendMsgReplyObjects [object]

The objects to be sent in the response.

TraceObjectDiffusionOutboundTerminated

Received MsgDone

Instances

Instances details
(Show objectId, Show object) ⇒ Show (TraceObjectDiffusionOutbound objectId object) Source # 
Instance details

Defined in Ouroboros.Consensus.MiniProtocol.ObjectDiffusion.Outbound

Methods

showsPrec ∷ Int → TraceObjectDiffusionOutbound objectId object → ShowS #

show ∷ TraceObjectDiffusionOutbound objectId object → String #

showList ∷ [TraceObjectDiffusionOutbound objectId object] → ShowS #