Skip to content

Commit c4656e0

Browse files
committed
Add progress to initial display of latest block downloaded.
1 parent 75b8953 commit c4656e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2743,9 +2743,10 @@ bool static LoadBlockIndexDB()
27432743
if (it == mapBlockIndex.end())
27442744
return true;
27452745
chainActive.SetTip(it->second);
2746-
LogPrintf("LoadBlockIndexDB(): hashBestChain=%s height=%d date=%s\n",
2746+
LogPrintf("LoadBlockIndexDB(): hashBestChain=%s height=%d date=%s progress=%f\n",
27472747
chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(),
2748-
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()));
2748+
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()),
2749+
Checkpoints::GuessVerificationProgress(chainActive.Tip()));
27492750

27502751
return true;
27512752
}

0 commit comments

Comments
 (0)