openethereum/ethcore/private-tx/src
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
..
encryptor.rs private-tx: replace error_chain (#10510) 2019-03-27 14:46:05 +01:00
error.rs tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00
key_server_keys.rs Call private contract methods from another private contract (read-only) (#10086) 2019-02-07 12:39:04 +01:00
lib.rs Implement caching for service transactions checker (#10088) 2019-03-31 10:39:38 +02:00
messages.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
private_transactions.rs tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00