aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-05-11 13:11:36 -0400
committerAlex Morcos <morcos@chaincode.com>2017-05-11 13:12:42 -0400
commit65d484adf9574641703964d93df7c79ee1185098 (patch)
treeb02063716eb120c33db9d46f26a4fb9c442f659c /src/validation.cpp
parent79aeff6e08f3caa4126c39a0571b370396bc9e91 (diff)
Output line to debug.log when IsInitialBlockDownload latches to false
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}