switch default utilities DB to lmdb, update checkpoints.dat

This commit is contained in:
Riccardo Spagni 2016-03-12 21:09:44 +02:00
parent dd3cd9e7b8
commit 8689014eda
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
2 changed files with 6 additions and 3 deletions

View File

@ -33,12 +33,15 @@
// CONFIG: choose one of the three #define's // 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 // the exporter to use the in-memory blockchain while the other binaries
// work with LMDB, without recompiling anything. // work with LMDB, without recompiling anything.
// //
#define SOURCE_DB DB_MEMORY // Now that the majority of users are on 0.9.2, and the converter has largely
//#define SOURCE_DB DB_LMDB // become a generalised database tool, the default has changed to DB_LMDB.
//
// #define SOURCE_DB DB_MEMORY
#define SOURCE_DB DB_LMDB
// to use global compile-time setting (DB_MEMORY or DB_LMDB): // to use global compile-time setting (DB_MEMORY or DB_LMDB):
// #define SOURCE_DB BLOCKCHAIN_DB // #define SOURCE_DB BLOCKCHAIN_DB

Binary file not shown.