From 588ae8f8c5f6a69d7eba79a4cb61adc2a67eed00 Mon Sep 17 00:00:00 2001 From: kanon <60179867+decryp2kanon@users.noreply.github.com> Date: Sun, 9 Feb 2020 19:17:22 +0900 Subject: [PATCH] fix: BLOCK_CHAIN_SIZE & CHAIN_STATE_SIZE (#66) --- src/qt/intro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 991ef4a46..84c248f0e 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 = 3; +static const uint64_t BLOCK_CHAIN_SIZE = 4; // inaccurate size /* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */ -static const uint64_t CHAIN_STATE_SIZE = 0.24; +static const uint64_t CHAIN_STATE_SIZE = 1; // inaccurate size // should INT /* Total required space (in GB) depending on user choice (prune, not prune) */ static uint64_t requiredSpace;