tendermint/state
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
2018-11-11 10:09:33 -05:00
..
txindex switch back to original fork 2018-09-18 12:16:03 +04:00
errors.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
execution.go fix amino overhead computation for Tx (#2792) 2018-11-11 10:09:33 -05:00
execution_test.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
metrics.go consensus: Wait for proposal or timeout before prevote (#2540) 2018-10-12 16:13:01 -04:00
services.go mempool: Filter new txs if they have insufficient gas (#2385) 2018-09-22 02:50:06 +02:00
state.go Update to Amino v0.13.0-rc0 (#2687) 2018-10-23 13:21:47 -04:00
state_test.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
store.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
tx_filter.go fix amino overhead computation for Tx (#2792) 2018-11-11 10:09:33 -05:00
tx_filter_test.go fix amino overhead computation for Tx (#2792) 2018-11-11 10:09:33 -05:00
validation.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
validation_test.go ADR-016: Add versions to Block and State (#2644) 2018-10-17 15:30:53 -04:00
wire.go crypto: Refactor to move files out of the top level directory 2018-07-18 08:38:44 -07:00