Remove spamming couts while blockchain is in initial download
@@ -1075,13 +1075,7 @@ bool IsInitialBlockDownload()
}
if (chainActive.Tip()->GetBlockTime() < (GetTime() - nMaxTipAge))
{
- std::cout << "BlockTime(): " << chainActive.Tip()->GetBlockTime() << std::endl;
- //LogPrintf(str.c_str());
-
- std::cout << "GetTime() minus nMaxTipAge: " << (GetTime() - nMaxTipAge) << std::endl;
- //LogPrintf(str2.c_str());
-
- LogPrintf("IsInitialBlockDownload (tip age)\n");
+ LogPrintf("%s: (tip age): %d\n", __func__, nMaxTipAge);
return true;
}
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");
