Skip to content

Commit

Permalink
20MB maxBlockSize override.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Shevchenko committed Jan 17, 2020
1 parent bbd8d11 commit 529a27a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cardano-node/src/Cardano/Node/Run.hs
Expand Up @@ -287,4 +287,8 @@ handleSimpleNode p trace nodeTracers nCli nc = do
_ -> IsNotProducer

increaseMempoolCapacity :: NK.NodeArgs IO peer blk -> NK.NodeArgs IO peer blk
increaseMempoolCapacity args = args { NK.mempoolCap = MempoolCapacityBytes (16000000 :: Word32) }
increaseMempoolCapacity args =
args
{ NK.maxBlockSize = NK.MaxBlockSize (20000000 :: Word32)
, NK.mempoolCap = MempoolCapacityBytes (16000000 :: Word32)
}

0 comments on commit 529a27a

Please sign in to comment.