blockchain_utilities/README.md: add high level "what is this about"
This commit is contained in:
parent
2cd4d7dd20
commit
26970c7e27
|
@ -4,13 +4,19 @@ Copyright (c) 2014-2015, The Monero Project
|
||||||
|
|
||||||
## Introduction
|
## 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`
|
For importing into the LMDB database, compile with `DATABASE=lmdb`
|
||||||
|
|
||||||
e.g.
|
e.g.
|
||||||
|
|
||||||
`DATABASE=lmdb make release`
|
`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.
|
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.
|
This default is to make migrating to an LMDB database easy, without having to recompile anything.
|
||||||
|
|
Loading…
Reference in New Issue