aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-08-05 13:35:25 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-08-05 13:36:44 +0200
commita9dd11144152bf40fa797cc0b0c8857c03d3ad6a (patch)
tree3e9cc7e6b540273f20c107d3d02888ac9dc4e4e5 /src/qt
parent02f4c4a42e9411501249cec2629be6c836912e2b (diff)
parent1967d2a4da535a07365fefb40e6dfc5bcb73e304 (diff)
Merge #10988: qt: Increase BLOCK_CHAIN_SIZE constants
1967d2a qt: Increase BLOCK_CHAIN_SIZE constants (Wladimir J. van der Laan) Pull request description: - Increase `BLOCK_CHAIN_SIZE` from 120GB to 150GB - Increase `CHAIN_STATE_SIZE` from 2GB to 4GB I took the local sizes of the blocks and chainstate directory, and added a bit extra to accomodate the near future (15GB for the chain and 1GB for the chainstate). Tree-SHA512: 76ec7770bd3a30380b0224a0f307cdad14c8227ef726dd55738cebe9d894430865aff11e05a793fd3e60d8fe019dbb392f574c1fb63ec746618b4460ed64bd0c
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/intro.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp
index 1e0d472b6a..231a715753 100644
--- a/src/qt/intro.cpp
+++ b/src/qt/intro.cpp
@@ -22,9 +22,9 @@
static const uint64_t GB_BYTES = 1000000000LL;
/* Minimum free space (in GB) needed for data directory */
-static const uint64_t BLOCK_CHAIN_SIZE = 120;
+static const uint64_t BLOCK_CHAIN_SIZE = 150;
/* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */
-static const uint64_t CHAIN_STATE_SIZE = 2;
+static const uint64_t CHAIN_STATE_SIZE = 3;
/* Total required space (in GB) depending on user choice (prune, not prune) */
static uint64_t requiredSpace;