@@ -102,6 +102,7 @@ import Ouroboros.Network.Server.RateLimiting
102
102
import Ouroboros.Network.Snocket
103
103
import Ouroboros.Network.Socket
104
104
import Ouroboros.Network.Util.ShowProxy (ShowProxy , showProxy )
105
+ import Ouroboros.Network.Protocol.ObjectDiffusion.Type (NumObjectIdsToAck )
105
106
106
107
107
108
-- The Handshake tracer types are simply terrible.
@@ -157,9 +158,11 @@ data MiniProtocolParameters = MiniProtocolParameters {
157
158
blockFetchPipeliningMax :: ! Word16 ,
158
159
-- ^ maximal number of pipelined messages in 'block-fetch' mini-protocol.
159
160
160
- txSubmissionMaxUnacked :: ! NumTxIdsToAck
161
+ txSubmissionMaxUnacked :: ! NumTxIdsToAck ,
161
162
-- ^ maximal number of unacked tx (pipelining is bounded by twice this
162
163
-- number)
164
+
165
+ certDiffusionMaxUnacked :: ! NumObjectIdsToAck
163
166
}
164
167
165
168
defaultMiniProtocolParameters :: MiniProtocolParameters
@@ -168,6 +171,7 @@ defaultMiniProtocolParameters = MiniProtocolParameters {
168
171
, chainSyncPipeliningHighMark = 300
169
172
, blockFetchPipeliningMax = 100
170
173
, txSubmissionMaxUnacked = 10
174
+ , certDiffusionMaxUnacked = 10
171
175
}
172
176
173
177
-- | Make an 'OuroborosApplication' for the bundle of mini-protocols that
0 commit comments