Skip to content

Commit

Permalink
Mempool configs (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsu522 authored Mar 6, 2023
1 parent 82258c9 commit 60bf460
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ func SetTendermintConfigs(config *tmcfg.Config) {
config.P2P.MaxPacketMsgPayloadSize = 1000000 // 1MB
config.P2P.FlushThrottleTimeout = 10 * time.Millisecond
// Mempool configs
config.Mempool.Size = 5000
config.Mempool.Size = 1000
config.Mempool.MaxTxsBytes = 10737418240
config.Mempool.MaxTxBytes = 2048576
config.Mempool.TTLDuration = 3 * time.Hour
config.Mempool.TTLDuration = 30 * time.Second
config.Mempool.TTLNumBlocks = 100
// Consensus Configs
config.Consensus.GossipTransactionKeyOnly = true
config.Consensus.UnsafeProposeTimeoutOverride = 1 * time.Second
Expand Down

0 comments on commit 60bf460

Please sign in to comment.