Skip to content

Commit 526e839

Browse files
committed
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
2 parents 32f671b + 65d484a commit 526e839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,7 @@ bool IsInitialBlockDownload()
11411141
return true;
11421142
if (chainActive.Tip()->GetBlockTime() < (GetTime() - nMaxTipAge))
11431143
return true;
1144+
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");
11441145
latchToFalse.store(true, std::memory_order_relaxed);
11451146
return false;
11461147
}

0 commit comments

Comments
 (0)