tendermint/state
Dev Ojha 111e627037 mempool: Filter new txs if they have insufficient gas (#2385)
This also refactors the prior mempool to filter to be known as
"precheck filter" and this new filter is called "postcheck filter"

This PR also fixes a bug where the precheck filter previously didn't
account for the amino overhead, which could a maliciously sized tx to
halt blocks from getting any txs in them.

* Move maxGas outside of function definition to avoid race condition
* Type filter funcs and make public
* Use helper method for post check
* Remove superfluous Filter suffix
* Move default pre/post checks into package
* Fix broken references
* Fix typos
* Expand on examples for checks
2018-09-22 02:50:06 +02: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 mempool: Filter new txs if they have insufficient gas (#2385) 2018-09-22 02:50:06 +02:00
execution_test.go proxy: remove Handshaker from proxy pkg (#2437) 2018-09-19 15:35:09 +02:00
services.go mempool: Filter new txs if they have insufficient gas (#2385) 2018-09-22 02:50:06 +02:00
state.go Remove ConsensusParams.TxSize and ConsensusParams.BlockGossip (#2364) 2018-09-12 15:44:43 -04:00
state_test.go conesnsu: follow up to removing some consensus params (#2427) 2018-09-21 11:00:36 +02:00
store.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
tx_filter.go conesnsu: follow up to removing some consensus params (#2427) 2018-09-21 11:00:36 +02:00
tx_filter_test.go conesnsu: follow up to removing some consensus params (#2427) 2018-09-21 11:00:36 +02:00
validation.go Implement BFT time (#2203) 2018-08-31 19:33:51 -04:00
validation_test.go fixes for ProposerAddress 2018-08-05 15:19:21 -04:00
wire.go crypto: Refactor to move files out of the top level directory 2018-07-18 08:38:44 -07:00