From 65d484adf9574641703964d93df7c79ee1185098 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/validation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/validation.cpp b/src/validation.cpp index 75a35756d4..ccc14a91f1 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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; }