openethereum/ethcore/src/blockchain
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
..
best_block.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
block_info.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
blockchain.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
cache.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00
config.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
extras.rs block cleanup (#9117) 2018-07-30 10:45:10 +01:00
generator.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
import_route.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
mod.rs new blooms database (#8712) 2018-06-20 15:13:07 +02:00
update.rs block cleanup (#9117) 2018-07-30 10:45:10 +01:00