mempool: make max_tx_bytes configurable instead of max_msg_bytes (#3877)

Fix #3868 (comment)

Commits:

* mempool: make `max_tx_bytes` configurable instead of `max_msg_bytes`

* update CHANGELOG_PENDING

* apply suggestions from code review
This commit is contained in:
Jun Kimura
2019-08-05 20:01:30 +04:00
committed by Anton Kaliaev
parent 0cf8812b17
commit e179787d40
7 changed files with 21 additions and 17 deletions
+3 -2
View File
@@ -240,8 +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
# Maximum size of a single transaction.
# NOTE: the max size of a tx transmitted over the network is {max_tx_bytes} + {amino overhead}.
max_tx_bytes = 1048576
##### fast sync configuration options #####
[fastsync]