111e627037
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 |
||
---|---|---|
.. | ||
txindex | ||
errors.go | ||
execution.go | ||
execution_test.go | ||
services.go | ||
state.go | ||
state_test.go | ||
store.go | ||
tx_filter.go | ||
tx_filter_test.go | ||
validation.go | ||
validation_test.go | ||
wire.go |