openethereum/ethcore/src
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
..
account_provider Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
blockchain Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
client Recently rejected cache for transaction queue (#9005) 2018-07-02 18:00:06 +01:00
engines Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
ethereum Remove a weird emoji in new_social docs (#8913) 2018-06-18 11:11:41 +02:00
json_tests Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
miner Optimize pending transactions filter (#9026) 2018-07-04 16:37:55 +01:00
snapshot Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
spec eip160/eip161 spec: u64 -> BlockNumber (#9044) 2018-07-04 17:28:43 +03:00
state Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
tests new blooms database (#8712) 2018-06-20 15:13:07 +02:00
trace new blooms database (#8712) 2018-06-20 15:13:07 +02:00
verification Recently rejected cache for transaction queue (#9005) 2018-07-02 18:00:06 +01:00
views Don't allocate in expect_valid_rlp unless necessary (#8867) 2018-06-12 08:15:52 +02:00
account_db.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
block.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
builtin.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
cache_manager.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
db.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
encoded.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
error.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
executed.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
executive.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
externalities.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
factory.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
header.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
lib.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
machine.rs Disallow unsigned transactions in case EIP-86 is disabled (#8802) 2018-06-05 19:49:11 +02:00
pod_account.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
pod_state.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
state_db.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
test_helpers.rs simplify kvdb error types (#8924) 2018-07-02 10:04:48 +01:00
tx_filter.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00