Anton Kaliaev
41f91318e9
bound mempool memory usage (#3248)
* bound mempool memory usage
Closes #3079
* rename SizeBytes to TxsTotalBytes
and other small fixes after Zarko's review
* rename MaxBytes to MaxTxsTotalBytes
* make ErrMempoolIsFull more informative
* expose mempool's txs_total_bytes via RPC
* test full response
* fixes after Ethan's review
* config: rename mempool.size to mempool.max_txs
https://github.com/tendermint/tendermint/pull/3248#discussion_r254034004
* test more cases
https://github.com/tendermint/tendermint/pull/3248#discussion_r254036532
* simplify test
* Revert "config: rename mempool.size to mempool.max_txs"
This reverts commit
|
6 years ago | |
---|---|---|
.. | ||
bench_test.go | improve ResetTestRootWithChainID() concurrency safety (#3291) | 6 years ago |
mempool.go | bound mempool memory usage (#3248) | 6 years ago |
mempool_test.go | bound mempool memory usage (#3248) | 6 years ago |
metrics.go | add "chain_id" label for all metrics (#3123) | 6 years ago |
reactor.go | mempool: enforce maxMsgSize limit in CheckTx (#3168) | 6 years ago |
reactor_test.go | improve ResetTestRootWithChainID() concurrency safety (#3291) | 6 years ago |
wire.go | alias amino imports (#3219) | 6 years ago |