Merge pull request #1706 from slightlyskepticalpotat/master

fix minimum required space for data directory
This commit is contained in:
Patrick Lodder 2021-02-07 23:21:03 +01:00 committed by GitHub
commit 27488d8f57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@
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 = 55;
/* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */
static const uint64_t CHAIN_STATE_SIZE = 2;
/* Total required space (in GB) depending on user choice (prune, not prune) */