diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-03-12 21:09:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-03-12 21:09:44 +0200 |
commit | 8689014eda5f16b2163994ab929ed063f1e93612 (patch) | |
tree | fc2b566752e6ff325e2d6e096e32f14ef647a82e /src/blockchain_utilities/blockchain_utilities.h | |
parent | Merge pull request #718 (diff) | |
download | monero-8689014eda5f16b2163994ab929ed063f1e93612.tar.xz |
switch default utilities DB to lmdb, update checkpoints.dat
Diffstat (limited to 'src/blockchain_utilities/blockchain_utilities.h')
-rw-r--r-- | src/blockchain_utilities/blockchain_utilities.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/blockchain_utilities/blockchain_utilities.h b/src/blockchain_utilities/blockchain_utilities.h index 52c4fa0a8..51c17a9b6 100644 --- a/src/blockchain_utilities/blockchain_utilities.h +++ b/src/blockchain_utilities/blockchain_utilities.h @@ -33,12 +33,15 @@ // CONFIG: choose one of the three #define's // -// DB_MEMORY is a sensible default for users migrating to LMDB, as it allows +// DB_MEMORY was a sensible default for users migrating to LMDB, as it allowed // the exporter to use the in-memory blockchain while the other binaries // work with LMDB, without recompiling anything. +// +// Now that the majority of users are on 0.9.2, and the converter has largely +// become a generalised database tool, the default has changed to DB_LMDB. // -#define SOURCE_DB DB_MEMORY -//#define SOURCE_DB DB_LMDB +// #define SOURCE_DB DB_MEMORY +#define SOURCE_DB DB_LMDB // to use global compile-time setting (DB_MEMORY or DB_LMDB): // #define SOURCE_DB BLOCKCHAIN_DB |