openethereum/ethcore/light/src
Nicolas Gotchac 9475a2e474 Keep existing blocks when restoring a Snapshot (#8643)
* Rename db_restore => client

* First step: make it compile!

* Second step: working implementation!

* Refactoring

* Fix tests

* PR Grumbles

* PR Grumbles WIP

* Migrate ancient blocks interating backward

* Early return in block migration if snapshot is aborted

* Remove RwLock getter (PR Grumble I)

* Remove dependency on `Client`: only used Traits

* Add test for recovering aborted snapshot recovery

* Add test for migrating old blocks

* Fix build

* PR Grumble I

* PR Grumble II

* PR Grumble III

* PR Grumble IV

* PR Grumble V

* PR Grumble VI

* Fix one test

* Fix test

* PR Grumble

* PR Grumbles

* PR Grumbles II

* Fix tests

* Release RwLock earlier

* Revert Cargo.lock

* Update _update ancient block_ logic: set local in `commit`

* Update typo in ethcore/src/snapshot/service.rs

Co-Authored-By: ngotchac <ngotchac@gmail.com>
2018-11-18 00:06:34 +01:00
..
client aura: finalize blocks (#9692) 2018-10-25 17:33:41 +02:00
net Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
on_demand Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
cache.rs Tests modification for windows CI (#9671) 2018-10-31 11:50:38 +01:00
cht.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
lib.rs Better support for eth_getLogs in light mode (#9186) 2018-08-25 23:06:01 +02:00
provider.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
transaction_queue.rs Light clippy(fy) (#9473) 2018-09-06 15:44:40 +02:00