From ff882789af7b24db6095690ae83d0bae38ddb998 Mon Sep 17 00:00:00 2001 From: R E Broadley Date: Tue, 18 Feb 2014 11:04:06 -0800 Subject: [PATCH] Add progress to initial display of latest block downloaded. Rebased-From: c4656e0 --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 7afaa9e7e26..3cbdc14274e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2764,9 +2764,10 @@ bool static LoadBlockIndexDB() if (it == mapBlockIndex.end()) return true; chainActive.SetTip(it->second); - LogPrintf("LoadBlockIndexDB(): hashBestChain=%s height=%d date=%s\n", + LogPrintf("LoadBlockIndexDB(): hashBestChain=%s height=%d date=%s progress=%f\n", chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(), - DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime())); + DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()), + Checkpoints::GuessVerificationProgress(chainActive.Tip())); return true; }