From c90e7cef8ac0f71fe1cd2434969c532c8099aef5 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 27 May 2014 16:19:21 -0300 Subject: [PATCH] add info about update script in readme --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 02dd20e2..eecd3489 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,19 @@ require certain information from the blockchain that bitcoind does not provide. A blockchain explorer front-end have been developed to top of *Insight API*, it can be downloaded at [Github Insight Repository](https://github.com/bitpay/insight). +## IMPORTANT: Upgrading from v0.1 to v0.2 +In order to optimize some queries, the key-value layout in Level DB has been changed. +An update script need to be run when updating from version v0.1.x to 0.2.x + +The script is located at: +``` + $ util/updateToV0.2.js +``` + +The script takes ~3minutes in testnet. While the script is running, *Insight API* +must be stopped. + +Alternatively, a total resync can be made, running `$ util/sync.js -D` ## Prerequisites