Increase nMinDiskSpace to 1GB
This commit is contained in:
@@ -5697,9 +5697,9 @@ bool CheckDiskSpace(uint64_t nAdditionalBytes)
|
||||
if(fDebug) {
|
||||
fprintf(stderr,"Free bytes on disk: %lu\n", nFreeBytesAvailable);
|
||||
}
|
||||
// Check for nMinDiskSpace bytes (currently 50MB)
|
||||
// Check for nMinDiskSpace bytes (defined in main.h)
|
||||
if (nFreeBytesAvailable < nMinDiskSpace + nAdditionalBytes)
|
||||
return AbortNode("Disk space is low!", _("Error: Disk space is low!"));
|
||||
return AbortNode("Disk space is low!!!", _("Error: Disk space is low!!!"));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ extern int64_t nMaxTipAge;
|
||||
extern CBlockIndex *pindexBestHeader;
|
||||
|
||||
/** Minimum disk space required - used in CheckDiskSpace() */
|
||||
static const uint64_t nMinDiskSpace = 52428800;
|
||||
static const uint64_t nMinDiskSpace = 1073741824; // 1GB
|
||||
|
||||
/** Pruning-related variables and constants */
|
||||
/** True if any block files have ever been pruned. */
|
||||
|
||||
Reference in New Issue
Block a user