Browse Source

config: move max_msg_bytes into mempool section (#3869)

* config: move max_msg_bytes into mempool section

It was incorrectly placed in fastsync section during
4d7cd8055b (diff-092cdc48047eeb4c0bca311a2e1b8ae6)
merge.

Fixes #3868

* add changelog entry
pull/3877/head
Anton Kaliaev 5 years ago
committed by GitHub
parent
commit
f5b116c687
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions
  1. +1
    -0
      CHANGELOG_PENDING.md
  2. +3
    -3
      config/toml.go
  3. +3
    -3
      docs/tendermint-core/configuration.md

+ 1
- 0
CHANGELOG_PENDING.md View File

@ -20,3 +20,4 @@ program](https://hackerone.com/tendermint).
### IMPROVEMENTS: ### IMPROVEMENTS:
### BUG FIXES: ### BUG FIXES:
- [config] \#3868 move misplaced `max_msg_bytes` into mempool section

+ 3
- 3
config/toml.go View File

@ -294,6 +294,9 @@ max_txs_bytes = {{ .Mempool.MaxTxsBytes }}
# Size of the cache (used to filter transactions we saw earlier) in transactions # Size of the cache (used to filter transactions we saw earlier) in transactions
cache_size = {{ .Mempool.CacheSize }} cache_size = {{ .Mempool.CacheSize }}
# Limit the size of TxMessage
max_msg_bytes = {{ .Mempool.MaxMsgBytes }}
##### fast sync configuration options ##### ##### fast sync configuration options #####
[fastsync] [fastsync]
@ -302,9 +305,6 @@ cache_size = {{ .Mempool.CacheSize }}
# 2) "v1" - refactor of v0 version for better testability # 2) "v1" - refactor of v0 version for better testability
version = "{{ .FastSync.Version }}" version = "{{ .FastSync.Version }}"
# Limit the size of TxMessage
max_msg_bytes = {{ .Mempool.MaxMsgBytes }}
##### consensus configuration options ##### ##### consensus configuration options #####
[consensus] [consensus]


+ 3
- 3
docs/tendermint-core/configuration.md View File

@ -240,6 +240,9 @@ max_txs_bytes = 1073741824
# Size of the cache (used to filter transactions we saw earlier) in transactions # Size of the cache (used to filter transactions we saw earlier) in transactions
cache_size = 10000 cache_size = 10000
# Limit the size of TxMessage
max_msg_bytes = 1048576
##### fast sync configuration options ##### ##### fast sync configuration options #####
[fastsync] [fastsync]
@ -248,9 +251,6 @@ cache_size = 10000
# 2) "v1" - refactor of v0 version for better testability # 2) "v1" - refactor of v0 version for better testability
version = "v0" version = "v0"
# Limit the size of TxMessage
max_msg_bytes = 1048576
##### consensus configuration options ##### ##### consensus configuration options #####
[consensus] [consensus]


Loading…
Cancel
Save