tendermint/node
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
..
id.go crypto: Remove interface from crypto.Signature 2018-08-05 15:46:57 -04:00
node.go mempool: Filter new txs if they have insufficient gas (#2385) 2018-09-22 02:50:06 +02:00
node_test.go Delay starting node until Genesis time (#2389) 2018-09-18 13:16:50 +04:00
wire.go crypto: Refactor to move files out of the top level directory 2018-07-18 08:38:44 -07:00