aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-05-17 11:18:09 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-05-17 11:18:25 +0200
commit526e8390e6be32b33a7fe2c6388d1ade8bdbb5aa (patch)
treea7c8b15fd3fced7a7271af3f940fd972f65285cc /src
parent32f671b141074639dca8cfefd6c06a68e774ae29 (diff)
parent65d484adf9574641703964d93df7c79ee1185098 (diff)
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
Diffstat (limited to 'src')
-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;
}