|
|
@ -931,8 +931,6 @@ bool AppInitParameterInteraction() |
|
|
|
else if (nScriptCheckThreads > MAX_SCRIPTCHECK_THREADS) |
|
|
|
else if (nScriptCheckThreads > MAX_SCRIPTCHECK_THREADS) |
|
|
|
nScriptCheckThreads = MAX_SCRIPTCHECK_THREADS; |
|
|
|
nScriptCheckThreads = MAX_SCRIPTCHECK_THREADS; |
|
|
|
|
|
|
|
|
|
|
|
fServer = GetBoolArg("-server", false); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// block pruning; get the amount of disk space (in MiB) to allot for block & undo files
|
|
|
|
// block pruning; get the amount of disk space (in MiB) to allot for block & undo files
|
|
|
|
int64_t nSignedPruneTarget = GetArg("-prune", 0) * 1024 * 1024; |
|
|
|
int64_t nSignedPruneTarget = GetArg("-prune", 0) * 1024 * 1024; |
|
|
|
if (nSignedPruneTarget < 0) { |
|
|
|
if (nSignedPruneTarget < 0) { |
|
|
@ -1121,7 +1119,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler) |
|
|
|
* that the server is there and will be ready later). Warmup mode will |
|
|
|
* that the server is there and will be ready later). Warmup mode will |
|
|
|
* be disabled when initialisation is finished. |
|
|
|
* be disabled when initialisation is finished. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
if (fServer) |
|
|
|
if (GetBoolArg("-server", false)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
uiInterface.InitMessage.connect(SetRPCWarmupStatus); |
|
|
|
uiInterface.InitMessage.connect(SetRPCWarmupStatus); |
|
|
|
if (!AppInitServers(threadGroup)) |
|
|
|
if (!AppInitServers(threadGroup)) |
|
|
|