This commit is contained in:
jl777
2016-10-30 18:39:51 -03:00
parent 1a3c101822
commit f8e367eba8

View File

@@ -522,6 +522,7 @@ void static BitcoinMiner(CWallet *pwallet)
);
try {
fprintf(stderr,"try %s Mining with %s\n",ASSETCHAINS_SYMBOL,solver.c_str());
while (true)
{
if (chainparams.MiningRequiresPeers())
@@ -537,7 +538,9 @@ void static BitcoinMiner(CWallet *pwallet)
}
if (!fvNodesEmpty && !IsInitialBlockDownload())
break;
MilliSleep(1000);
MilliSleep(5000);
fprintf(stderr,"fvNodesEmpty %d IsInitialBlockDownload() %d\n",(int32_t)fvNodesEmpty,(int32_t)IsInitialBlockDownload());
} while (true);
fprintf(stderr,"%s Found peers\n",ASSETCHAINS_SYMBOL);
}