|
|
|
@ -25,6 +25,13 @@ struct Params;
|
|
|
|
|
|
|
|
|
|
static constexpr bool DEFAULT_STOPAFTERBLOCKIMPORT{false};
|
|
|
|
|
|
|
|
|
|
/** The pre-allocation chunk size for blk?????.dat files (since 0.8) */
|
|
|
|
|
static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB
|
|
|
|
|
/** The pre-allocation chunk size for rev?????.dat files (since 0.8) */
|
|
|
|
|
static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB
|
|
|
|
|
/** The maximum size of a blk?????.dat file (since 0.8) */
|
|
|
|
|
static const unsigned int MAX_BLOCKFILE_SIZE = 0x8000000; // 128 MiB
|
|
|
|
|
|
|
|
|
|
extern std::atomic_bool fImporting;
|
|
|
|
|
extern std::atomic_bool fReindex;
|
|
|
|
|
/** Pruning-related variables and constants */
|
|
|
|
|