File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Mempool/Impl Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1212module Ouroboros.Consensus.Mempool.Impl.Common (
1313 -- * Internal state
1414 InternalState (.. )
15+ , defaultBlockMultiplicity
1516 , isMempoolSize
1617 -- * Mempool environment
1718 , MempoolEnv (.. )
@@ -146,11 +147,14 @@ initInternalState multOverride lastTicketNo cfg slot st = IS {
146147 , isCapacity = MempoolCapacity {
147148 mcBlockCapacity = blockTxCapacity cfg st
148149 , mcBlockMultiplicity = case multOverride of
149- Nothing -> 2
150+ Nothing -> defaultBlockMultiplicity
150151 Just (MempoolMultiplicityOverride x) -> x
151152 }
152153 }
153154
155+ defaultBlockMultiplicity :: Int
156+ defaultBlockMultiplicity = 2
157+
154158{- ------------------------------------------------------------------------------
155159 Ledger Interface
156160-------------------------------------------------------------------------------}
You can’t perform that action at this time.
0 commit comments