Browse Source

Output line to debug.log when IsInitialBlockDownload latches to false

0.15
Alex Morcos 8 years ago
parent
commit
65d484adf9
  1. 1
      src/validation.cpp

1
src/validation.cpp

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

Loading…
Cancel
Save