Merge remote-tracking branch 'parity/split-internal-seal' into auth-round

This commit is contained in:
keorn
2016-09-12 11:36:16 +02:00
37 changed files with 775 additions and 335 deletions

View File

@@ -673,6 +673,8 @@ impl Client {
impl snapshot::DatabaseRestore for Client {
/// Restart the client with a new backend
fn restore_db(&self, new_db: &str) -> Result<(), EthcoreError> {
trace!(target: "snapshot", "Replacing client database with {:?}", new_db);
let _import_lock = self.import_lock.lock();
let mut state_db = self.state_db.write();
let mut chain = self.chain.write();