openethereum/ethcore/private-tx
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
..
res Call private contract methods from another private contract (read-only) (#10086) 2019-02-07 12:39:04 +01:00
src tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00
tests Deprecate account management (#10213) 2019-02-07 14:34:24 +01:00
Cargo.toml tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00