From 9299a84b1f8233da092afd44ebacfef71e5bb1ea Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 6 Jun 2018 10:59:25 +0300 Subject: [PATCH] Bump few consts (#2096) * bump BLOCK_CHAIN_SIZE * bump nMinBlocksToStore default --- src/masternode-payments.h | 2 +- src/qt/intro.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/masternode-payments.h b/src/masternode-payments.h index 329751ad17..0c9bb2e8d1 100644 --- a/src/masternode-payments.h +++ b/src/masternode-payments.h @@ -192,7 +192,7 @@ public: std::map mapMasternodesLastVote; std::map mapMasternodesDidNotVote; - CMasternodePayments() : nStorageCoeff(1.25), nMinBlocksToStore(5000) {} + CMasternodePayments() : nStorageCoeff(1.25), nMinBlocksToStore(6000) {} ADD_SERIALIZE_METHODS; diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 94229d4c6d..d752072b48 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -24,7 +24,7 @@ static const uint64_t GB_BYTES = 1000000000LL; /* Minimum free space (in GB) needed for data directory */ -static const uint64_t BLOCK_CHAIN_SIZE = 1; +static const uint64_t BLOCK_CHAIN_SIZE = 10; /* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */ static const uint64_t CHAIN_STATE_SIZE = 1; /* Total required space (in GB) depending on user choice (prune, not prune) */