Ismail Khoffi
3ff820bdf4
fix amino overhead computation for Tx (#2792)
* fix amino overhead computation for Tx: - also count the fieldnum / typ3 - add method to compute overhead per Tx - slightly clarify comment on MaxAminoOverheadForBlock - add tests * fix TestReapMaxBytesMaxGas according to amino overhead * fix TestMempoolFilters according to amino overhead * address review comments: - add a note about fieldNum = 1 - add forgotten godoc comment * fix and use sm.TxPreCheck * fix test * remove print statement |
6 years ago | |
---|---|---|
.. | ||
bench_test.go | clist: speedup Next by removing defers (#2511) | 6 years ago |
mempool.go | fix amino overhead computation for Tx (#2792) | 6 years ago |
mempool_test.go | fix amino overhead computation for Tx (#2792) | 6 years ago |
metrics.go | Add additional metrics (#2500) | 6 years ago |
reactor.go | unexport DecodeMessage functions | 6 years ago |
reactor_test.go | reap max bytes from the mempool & check transaction size | 6 years ago |
wire.go | Fix mempool | 7 years ago |