DB v1->v2 migration (#3044)

* wip

* exhaustive match

* wip

* cleanup docs and move migration fns to chain itself
This commit is contained in:
Antioch Peverell
2019-09-19 21:00:14 +01:00
committed by GitHub
parent 02cee80229
commit 1c072f535c
4 changed files with 83 additions and 18 deletions
-3
View File
@@ -192,9 +192,6 @@ impl Server {
archive_mode,
)?);
// launching the database migration if needed
shared_chain.rebuild_height_for_pos()?;
pool_adapter.set_chain(shared_chain.clone());
let net_adapter = Arc::new(NetToChainAdapter::new(