openethereum/miner
Andrew Jones d9673b0d6b tx-pool: check transaction readiness before replacing (#10526)
* Update to vanilla tx pool error

* Prevent a non ready tx replacing a ready tx

* Make tests compile

* Test ready tx not replaced by future tx

* Transaction indirection

* Use StateReadiness to calculate Ready in `should_replace`

* Test existing txs from same sender are used to compute Readiness

* private-tx: Wire up ShouldReplace

* Revert "Use StateReadiness to calculate Ready in `should_replace`"

This reverts commit af9e69c8

* Make replace generic so it works with private-tx

* Rename Replace and add missing docs

* ShouldReplace no longer mutable

* tx-pool: update to transaction-pool 2.0 from crates.io

* tx-pool: generic error type alias

* Exit early for first unmatching nonce

* Fix private-tx test, use existing write lock

* Use read lock for pool scoring
2019-04-01 10:48:51 +02:00
..
local-store misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
price-info misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
res/contracts Extract CallContract and RegistryInfo traits into their own crate (#10178) 2019-01-16 19:52:21 +01:00
src tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00
stratum Convert to jsonrpc-derive, use jsonrpc-* from crates.io (#10298) 2019-02-05 14:31:19 +01:00
using-queue misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
Cargo.toml tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00