Skip to content

Commit a9dd111

Browse files
committed
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
2 parents 02f4c4a + 1967d2a commit a9dd111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/intro.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
static const uint64_t GB_BYTES = 1000000000LL;
2424
/* Minimum free space (in GB) needed for data directory */
25-
static const uint64_t BLOCK_CHAIN_SIZE = 120;
25+
static const uint64_t BLOCK_CHAIN_SIZE = 150;
2626
/* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */
27-
static const uint64_t CHAIN_STATE_SIZE = 2;
27+
static const uint64_t CHAIN_STATE_SIZE = 3;
2828
/* Total required space (in GB) depending on user choice (prune, not prune) */
2929
static uint64_t requiredSpace;
3030

0 commit comments

Comments
 (0)