Skip to content

Commit

Permalink
prune won't allow pos block validation
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 committed Jul 8, 2019
1 parent ffae4ca commit 7c0f926
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/init.cpp
Expand Up @@ -1003,6 +1003,7 @@ bool AppInitParameterInteraction()
nScriptCheckThreads = MAX_SCRIPTCHECK_THREADS;

// block pruning; get the amount of disk space (in MiB) to allot for block & undo files
/*
int64_t nPruneArg = gArgs.GetArg("-prune", 0);
if (nPruneArg < 0) {
return InitError(_("Prune cannot be configured with a negative value."));
Expand All @@ -1019,7 +1020,7 @@ bool AppInitParameterInteraction()
LogPrintf("Prune configured to target %uMiB on disk for block and undo files.\n", nPruneTarget / 1024 / 1024);
fPruneMode = true;
}

*/
nConnectTimeout = gArgs.GetArg("-timeout", DEFAULT_CONNECT_TIMEOUT);
if (nConnectTimeout <= 0)
nConnectTimeout = DEFAULT_CONNECT_TIMEOUT;
Expand Down

0 comments on commit 7c0f926

Please sign in to comment.