aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-05-17 11:18:09 +0200
committerWladimir J. van der Laan <[email protected]>2017-05-17 11:18:25 +0200
commit526e8390e6be32b33a7fe2c6388d1ade8bdbb5aa (patch)
treea7c8b15fd3fced7a7271af3f940fd972f65285cc /src/validation.cpp
parentMerge #10319: Remove unused argument from MarkBlockAsInFlight(...) (diff)
parentOutput line to debug.log when IsInitialBlockDownload latches to false (diff)
downloaddiscoin-526e8390e6be32b33a7fe2c6388d1ade8bdbb5aa.tar.xz
discoin-526e8390e6be32b33a7fe2c6388d1ade8bdbb5aa.zip
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/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 75a35756d..ccc14a91f 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;
}