Skip to content

Commit

Permalink
chore: Add rate limit config
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jan 20, 2025
1 parent 782b0da commit d3af2f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ keep-invalid-txs-in-cache = {{ .Mempool.KeepInvalidTxsInCache }}
# NOTE: the max size of a tx transmitted over the network is {max_tx_bytes}.
max_tx_bytes = {{ .Mempool.MaxTxBytes }}
# Maximum possible input txs during consensus (= 1 block)
# If set to -1, the rate limit is disabled.
rate_limit = {{ .Mempool.RateLimit }}
# Maximum size of a batch of transactions to send to a peer
# Including space needed by encoding (one varint per transaction).
# XXX: Unused due to https://github.com/tendermint/tendermint/issues/5796
Expand Down

0 comments on commit d3af2f1

Please sign in to comment.