File tree Expand file tree Collapse file tree 6 files changed +405
-405
lines changed
ouroboros-consensus-diffusion/src/ouroboros-consensus-diffusion/Ouroboros/Consensus/Network
src/ouroboros-consensus/Ouroboros/Consensus/MiniProtocol/ObjectDiffusion
test/consensus-test/Test/Consensus/MiniProtocol/ObjectDiffusion Expand file tree Collapse file tree 6 files changed +405
-405
lines changed Original file line number Diff line number Diff line change @@ -309,14 +309,16 @@ mkHandlers
309
309
, hPerasCertDiffusionInbound = \ version peer ->
310
310
objectDiffusionInbound
311
311
(contramap (TraceLabelPeer peer) (Node. certDiffusionInboundTracer tracers))
312
- (certDiffusionMaxUnacked miniProtocolParameters)
313
- (makePerasCertPoolReaderFromChainDB $ getChainDB)
312
+ ( perasCertDiffusionMaxFifoLength miniProtocolParameters
313
+ , 10 -- TODO: change this to a sensible value
314
+ , 10 -- TODO: change this to a sensible value
315
+ )
314
316
(makePerasCertPoolWriterFromChainDB $ getChainDB)
315
317
version
316
318
, hPerasCertDiffusionOutbound = \ version controlMessageSTM peer ->
317
319
objectDiffusionOutbound
318
320
(contramap (TraceLabelPeer peer) (Node. certDiffusionOutboundTracer tracers))
319
- (certDiffusionMaxUnacked miniProtocolParameters)
321
+ (perasCertDiffusionMaxFifoLength miniProtocolParameters)
320
322
(makePerasCertPoolReaderFromChainDB $ getChainDB)
321
323
version
322
324
controlMessageSTM
You can’t perform that action at this time.
0 commit comments