Merge pull request #720

8689014 switch default utilities DB to lmdb, update checkpoints.dat (Riccardo Spagni)
This commit is contained in:
Riccardo Spagni 2016-03-12 21:17:38 +02:00
commit 4e59074d7a
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.