openethereum/ethcore
Wei Tang b10094508f Fetching logs by hash in blockchain database (#8463)
* Fetch logs by hash in blockchain database

* Fix tests

* Add unit test for branch block logs fetching

* Add docs that blocks must already be sorted

* Handle branch block cases properly

* typo: empty -> is_empty

* Remove return_empty_if_none by using a closure

* Use BTreeSet to avoid sorting again

* Move is_canon to BlockChain

* typo: pass value by reference

* Use loop and wrap inside blocks to simplify the code

Borrowed from https://github.com/paritytech/parity/pull/8463#discussion_r183453326

* typo: missed a comment
2018-05-02 09:40:27 +02:00
..
benches Fixes bench and removes rustc_serialize dependency (#5988) 2017-10-11 17:39:12 +07:00
crypto ethcrypto renamed to ethcore-crypto and moved to ethcore dir (#8340) 2018-04-10 13:56:56 +02:00
evm remove evmjit (#8229) 2018-04-04 18:07:49 +09:00
light Show imported messages for light client (#8517) 2018-05-01 14:16:03 +02:00
node_filter Bump master to 1.12 (#8477) 2018-04-25 16:25:43 +02:00
private-tx duration_ns: u64 -> duration: Duration (#8457) 2018-04-27 15:04:27 +02:00
res Enable WebAssembly and Byzantium for Ellaism (#8520) 2018-05-01 19:41:46 +01:00
service More code refactoring to integrate Duration (#8322) 2018-04-14 21:35:58 +02:00
src Fetching logs by hash in blockchain database (#8463) 2018-05-02 09:40:27 +02:00
stratum Bump master to 1.12 (#8477) 2018-04-25 16:25:43 +02:00
sync duration_ns: u64 -> duration: Duration (#8457) 2018-04-27 15:04:27 +02:00
transaction Return error if RLP size of transaction exceeds the limit (#8473) 2018-04-27 15:02:45 +02:00
types Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
vm Replace legacy Rlp with UntrustedRlp and use in ethcore rlp views (#8316) 2018-04-16 15:52:12 +02:00
wasm Update wasmi and pwasm-utils (#8493) 2018-04-26 14:00:42 +02:00
Cargo.toml Bump master to 1.12 (#8477) 2018-04-25 16:25:43 +02:00