aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/bootstrap_file.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-10-20 20:55:39 +0200
committerRiccardo Spagni <ric@spagni.net>2015-10-20 20:55:53 +0200
commit14dd279fe123d7b48baed82d9109c585839b678f (patch)
treea79e281f205a0578312aa3b7cfc9a488036b9078 /src/blockchain_utilities/bootstrap_file.h
parentMerge pull request #432 (diff)
parentblockchain_export can now export to a blocks.dat format (diff)
downloadmonero-14dd279fe123d7b48baed82d9109c585839b678f.tar.xz
Merge pull request #437
b13e7f2 blockchain_export can now export to a blocks.dat format (moneromooo-monero) 11db442 bootstrap_file: do not try to create a directory with an empty name (moneromooo-monero) 03bc610 hardfork: use DB transactions when reorganizing (moneromooo-monero) 439c455 hardfork: simplify work done on reload (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities/bootstrap_file.h')
-rw-r--r--src/blockchain_utilities/bootstrap_file.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/blockchain_utilities/bootstrap_file.h b/src/blockchain_utilities/bootstrap_file.h
index fcf89d1ac..6f8df18dd 100644
--- a/src/blockchain_utilities/bootstrap_file.h
+++ b/src/blockchain_utilities/bootstrap_file.h
@@ -49,24 +49,7 @@
#include "common/command_line.h"
#include "version.h"
-
-// CONFIG: choose one of the three #define's
-//
-// DB_MEMORY is a sensible default for users migrating to LMDB, as it allows
-// the exporter to use the in-memory blockchain while the other binaries
-// work with LMDB, without recompiling anything.
-//
-#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
-
-
-// bounds checking is done before writing to buffer, but buffer size
-// should be a sensible maximum
-#define BUFFER_SIZE 1000000
-#define NUM_BLOCKS_PER_CHUNK 1
-#define BLOCKCHAIN_RAW "blockchain.raw"
+#include "blockchain_utilities.h"
using namespace cryptonote;