openethereum/ethcore
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
..
benches misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
blockchain Adds cli interface to allow reseting chain to a particular block (#9782) 2019-01-16 16:37:26 +01:00
call-contract Extract CallContract and RegistryInfo traits into their own crate (#10178) 2019-01-16 19:52:21 +01:00
db misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
evm Additional error for invalid gas (#10327) 2019-02-11 22:20:51 +00:00
light fix(light): make OnDemand generic instead of using the concrete type (#10514) 2019-03-27 14:46:20 +01:00
node-filter Remove caching for node connections (#10143) 2019-01-08 11:31:26 +11:00
private-tx tx-pool: check transaction readiness before replacing (#10526) 2019-04-01 10:48:51 +02:00
res Update light client harcoded headers (#10547) 2019-03-31 11:46:36 +02:00
service private-tx: replace error_chain (#10510) 2019-03-27 14:46:05 +01:00
src Implement caching for service transactions checker (#10088) 2019-03-31 10:39:38 +02:00
sync Update to latest mem-db, hash-db and trie-db. (#10314) 2019-02-20 21:09:34 +03:00
types simplify parity machine (#10469) 2019-03-13 11:36:13 +01:00
vm Update to latest mem-db, hash-db and trie-db. (#10314) 2019-02-20 21:09:34 +03:00
wasm Replace ethcore-logger with env-logger. (#10102) 2019-01-08 15:07:20 +01:00
Cargo.toml ethcore: add clique engine (#9981) 2019-03-27 14:13:24 +01:00