openethereum/ethcore
Wei Tang 07aaca451c
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-07 15:11:06 +02:00
..
benches Fixes bench and removes rustc_serialize dependency (#5988) 2017-10-11 17:39:12 +07:00
evm Kovan WASM fork code (#7849) 2018-02-19 12:27:42 +01:00
light Kovan WASM fork code (#7849) 2018-02-19 12:27:42 +01:00
migrations [Beta] Backports (#8136) 2018-03-19 21:40:56 +01:00
node_filter ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
res [beta] Backports (#8346) 2018-04-10 12:16:08 +02:00
src Fetching logs by hash in blockchain database (#8463) 2018-05-07 15:11:06 +02:00
transaction ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
types ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
vm [Beta] Backports (#8136) 2018-03-19 21:40:56 +01:00
wasm Update wasmi and pwasm-utils (#8493) 2018-05-07 15:10:54 +02:00
Cargo.toml Backport #8099 (#8132) 2018-04-04 21:33:14 +09:00