aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-07-09 16:02:04 +0200
committerRiccardo Spagni <ric@spagni.net>2015-07-09 16:02:08 +0200
commit9dc25497a2b8840d17ed5589df42399d37bbb704 (patch)
tree748a87f2f2f686a51f92aee35e29880e5ebffae4
parentMerge pull request #332 (diff)
parentblockchain_utilities/README.md: add workaround for resizing in batch mode (diff)
downloadmonero-9dc25497a2b8840d17ed5589df42399d37bbb704.tar.xz
Merge pull request #331
369c7b3 blockchain_utilities/README.md: add workaround for resizing in batch mode (moneromooo-monero) 26970c7 blockchain_utilities/README.md: add high level "what is this about" (moneromooo-monero)
-rw-r--r--src/blockchain_utilities/README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/blockchain_utilities/README.md b/src/blockchain_utilities/README.md
index 9ac8c5dd8..9d24b9ab9 100644
--- a/src/blockchain_utilities/README.md
+++ b/src/blockchain_utilities/README.md
@@ -4,13 +4,19 @@ Copyright (c) 2014-2015, The Monero Project
## Introduction
+The blockchain utilities allow one to convert an old style blockchain.bin file
+to a new style database. There are two ways to upgrade an old style blockchain:
+The recommended way is to run a `blockchain_export`, then `blockchain_import`.
+The other way is to run `blockchain_converter`. In both cases, you will be left
+with a new style blockchain.
+
For importing into the LMDB database, compile with `DATABASE=lmdb`
e.g.
`DATABASE=lmdb make release`
-This is also the default compile setting on the blockchain branch.
+This is also the default compile setting on the master branch.
By default, the exporter will use the original in-memory database (blockchain.bin) as its source.
This default is to make migrating to an LMDB database easy, without having to recompile anything.
@@ -38,6 +44,9 @@ Batch size refers to number of blocks and can be adjusted for performance based
Verification should only be turned off if importing from a trusted blockchain.
+If you encounter an error like "resizing not supported in batch mode", you can just re-run
+the `blockchain_import` command again, and it will restart from where it left off.
+
```bash
## use default settings to import blockchain.raw into database
$ blockchain_import