@@ -154,6 +154,7 @@ import Ouroboros.Network.Tracers
154
154
import Ouroboros.Network.TxSubmission.Inbound qualified as TxInbound
155
155
import Ouroboros.Network.TxSubmission.Outbound qualified as TxOutbound
156
156
import Ouroboros.Network.Util.ShowProxy (ShowProxy , showProxy )
157
+ import Ouroboros.Network.Protocol.ObjectDiffusion.Type (NumObjectIdsToAck )
157
158
158
159
159
160
-- The Handshake tracer types are simply terrible.
@@ -209,9 +210,11 @@ data MiniProtocolParameters = MiniProtocolParameters {
209
210
blockFetchPipeliningMax :: ! Word16 ,
210
211
-- ^ maximal number of pipelined messages in 'block-fetch' mini-protocol.
211
212
212
- txSubmissionMaxUnacked :: ! NumTxIdsToAck
213
+ txSubmissionMaxUnacked :: ! NumTxIdsToAck ,
213
214
-- ^ maximal number of unacked tx (pipelining is bounded by twice this
214
215
-- number)
216
+
217
+ certDiffusionMaxUnacked :: ! NumObjectIdsToAck
215
218
}
216
219
217
220
defaultMiniProtocolParameters :: MiniProtocolParameters
@@ -220,6 +223,7 @@ defaultMiniProtocolParameters = MiniProtocolParameters {
220
223
, chainSyncPipeliningHighMark = 300
221
224
, blockFetchPipeliningMax = 100
222
225
, txSubmissionMaxUnacked = 10
226
+ , certDiffusionMaxUnacked = 10
223
227
}
224
228
225
229
-- | Make an 'OuroborosApplication' for the bundle of mini-protocols that
0 commit comments