openethereum/ethcore
Tomasz Drwięga f4c5ea8378 Optimize pending transactions filter (#9026)
* rpc: return unordered transactions in pending transactions filter

* ethcore: use LruCache for nonce cache

Only clear the nonce cache when a block is retracted

* Revert "ethcore: use LruCache for nonce cache"

This reverts commit b382c19abdb9985be1724c3b8cde83906da07d68.

* Use only cached nonces when computing pending hashes.

* Give filters their own locks, so that they don't block one another.

* Fix pending transaction count if not sealing.

* Clear cache only when block is enacted.

* Fix RPC tests.

* Address review comments.
2018-07-04 16:37:55 +01:00
..
benches Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
crypto Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
evm bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
light bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
node_filter bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
private-tx bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
res Update hardcoded headers (#8925) 2018-06-22 10:49:10 +02:00
service Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
src Optimize pending transactions filter (#9026) 2018-07-04 16:37:55 +01:00
stratum bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
sync bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
transaction Disallow unsigned transactions in case EIP-86 is disabled (#8802) 2018-06-05 19:49:11 +02:00
types added from and to to Receipt (#8756) 2018-06-07 16:47:41 +02:00
vm Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
wasm bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00
Cargo.toml bump parking_lot to 0.6 (#9013) 2018-07-03 17:31:08 +02:00