openethereum/ethcore/sync/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
..
chain Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
light_sync Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
res Support millisecond timestamp for instant seal engine (#9469) 2018-09-06 11:38:00 +02:00
tests Verify block syncing responses against requests (#9670) 2018-10-03 18:35:10 +08:00
api.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
block_sync.rs sync: retry different peer after empty subchain heads response (#9753) 2018-10-25 16:56:59 +02:00
blocks.rs Fix ancient blocks sync (#9531) 2018-10-09 15:31:40 +02:00
lib.rs Remove unused dependencies (#9589) 2018-09-25 15:27:27 +02:00
private_tx.rs Private packets verification and queue refactoring (#8715) 2018-08-29 20:31:04 +08:00
snapshot.rs Don't fetch snapshot chunks at random (#9088) 2018-07-11 13:04:31 +02:00
sync_io.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
transactions_stats.rs Move ethereum-specific H256FastMap type to own crate (#9307) 2018-08-09 09:51:48 +02:00