Skip to content

Commit

Permalink
chore: update deafult for max txs
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Oct 16, 2023
1 parent 40385b9 commit ac1f9b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/default_overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func DefaultConsensusConfig() *tmcfg.Config {
// version. This acts as a first line of DoS protection
upperBoundBytes := appconsts.DefaultSquareSizeUpperBound * appconsts.DefaultSquareSizeUpperBound * appconsts.ContinuationSparseShareContentSize
cfg.Mempool.MaxTxBytes = upperBoundBytes
cfg.Mempool.MaxTxsBytes = appconsts.DefaultMaxBytes * cfg.Mempool.TTLNumBlocks

cfg.Mempool.Version = "v1" // prioritized mempool
cfg.Consensus.TimeoutPropose = appconsts.TimeoutPropose
Expand Down

0 comments on commit ac1f9b8

Please sign in to comment.