openethereum/ethcore
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
..
benches Clean up existing benchmarks (#9839) 2018-11-06 21:22:44 +08:00
evm Use expect (#9883) 2018-11-09 14:54:23 +03:00
light Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
node_filter new ethabi (#9511) 2018-09-13 11:04:39 +02:00
private-tx Ignore global cache for patched accounts (#9752) 2018-10-31 15:55:11 +00:00
res foundation: #6692865, ropsten: #4417537, kovan: #9363457 (#9907) 2018-11-13 14:48:23 +01:00
service Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
src Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
stratum Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
sync Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
transaction Allow zero chain id in EIP155 signing process (#9792) 2018-10-26 22:44:02 +08:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
vm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
wasm Clean up serde rename and use rename_all = camelCase when possible (#9823) 2018-10-29 23:49:04 +08:00
Cargo.toml Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00