From bbff8631f535b2b8e9b06fe4b879609828e2b4d6 Mon Sep 17 00:00:00 2001 From: Alex Morcos Date: Thu, 11 May 2017 13:11:36 -0400 Subject: [PATCH] Output line to debug.log when IsInitialBlockDownload latches to false --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index d088369fe..92d80f6a3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1746,6 +1746,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; }