Snapshot optimizations (#1991)

* apply RLP compression to abridged blocks

* add memorydb consolidate

* code hash optimization

* add warning to snapshot restoration CLI
This commit is contained in:
Robert Habermeier
2016-08-25 14:28:45 +02:00
committed by Arkadiy Paronyan
parent 09e0842f56
commit b18407b9e3
13 changed files with 287 additions and 37 deletions

View File

@@ -108,6 +108,7 @@ impl SnapshotCommand {
let (service, _panic_handler) = try!(self.start_service());
warn!("Snapshot restoration is experimental and the format may be subject to change.");
warn!("On encountering an unexpected error, please ensure that you have a recent snapshot.");
let snapshot = service.snapshot_service();
let reader = PackedReader::new(Path::new(&file))