|
|
@ -1141,6 +1141,7 @@ bool IsInitialBlockDownload()
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
if (chainActive.Tip()->GetBlockTime() < (GetTime() - nMaxTipAge))
|
|
|
|
if (chainActive.Tip()->GetBlockTime() < (GetTime() - nMaxTipAge))
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");
|
|
|
|
latchToFalse.store(true, std::memory_order_relaxed);
|
|
|
|
latchToFalse.store(true, std::memory_order_relaxed);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|