openethereum/ethcore/src/snapshot
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
..
consensus Multithreaded snapshot creation (#9239) 2018-09-13 12:58:49 +02:00
tests Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
account.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
block.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
error.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
io.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
mod.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
service.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
traits.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
watcher.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00