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 |
6 years ago | |
---|---|---|
.. | ||
id.go | crypto: Remove interface from crypto.Signature | 6 years ago |
node.go | mempool: Filter new txs if they have insufficient gas (#2385) | 6 years ago |
node_test.go | Delay starting node until Genesis time (#2389) | 6 years ago |
wire.go | crypto: Refactor to move files out of the top level directory | 7 years ago |