From 6b548bf37ab9a8810481821a9046eb292a39a23d Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Wed, 17 May 2017 11:18:09 +0200 Subject: [PATCH] Merge #10388: Output line to debug.log when IsInitialBlockDownload latches to false 65d484a Output line to debug.log when IsInitialBlockDownload latches to false (Alex Morcos) Tree-SHA512: 8b9d1377167a78ea55afc4582c8b9305c8b0fe56063a25920e9d45ea9335470314e3cfdc92e78b803d304476fa4c19b228fea1758bbeadd20c719006d814b5f2 --- src/validation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/validation.cpp b/src/validation.cpp index 042b08d9e..9a6502d97 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1198,6 +1198,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; }