Skip to content

Commit

Permalink
config: move max_msg_bytes into mempool section
Browse files Browse the repository at this point in the history
It was incorrectly placed in fastsync section during
tendermint@4d7cd80#diff-092cdc48047eeb4c0bca311a2e1b8ae6
merge.

Fixes tendermint#3868
  • Loading branch information
melekes authored and bluele committed Aug 2, 2019
1 parent f9cce28 commit e3c3726
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ max_txs_bytes = {{ .Mempool.MaxTxsBytes }}
# Size of the cache (used to filter transactions we saw earlier) in transactions
cache_size = {{ .Mempool.CacheSize }}
# Limit the size of TxMessage
max_msg_bytes = {{ .Mempool.MaxMsgBytes }}
##### fast sync configuration options #####
[fastsync]
Expand All @@ -302,9 +305,6 @@ cache_size = {{ .Mempool.CacheSize }}
# 2) "v1" - refactor of v0 version for better testability
version = "{{ .FastSync.Version }}"
# Limit the size of TxMessage
max_msg_bytes = {{ .Mempool.MaxMsgBytes }}
##### consensus configuration options #####
[consensus]
Expand Down
6 changes: 3 additions & 3 deletions docs/tendermint-core/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ max_txs_bytes = 1073741824
# Size of the cache (used to filter transactions we saw earlier) in transactions
cache_size = 10000
# Limit the size of TxMessage
max_msg_bytes = 1048576
##### fast sync configuration options #####
[fastsync]
Expand All @@ -248,9 +251,6 @@ cache_size = 10000
# 2) "v1" - refactor of v0 version for better testability
version = "v0"
# Limit the size of TxMessage
max_msg_bytes = 1048576
##### consensus configuration options #####
[consensus]
Expand Down

0 comments on commit e3c3726

Please sign in to comment.