aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-03-11 09:17:44 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-03-11 09:18:16 +0100
commit1264b3647d48c61b033f5e3d20ffbb84ed77c369 (patch)
tree9b53668b9c5b179f0611b7d778e44041460021a2 /src/main.cpp
parenta63f8b7b36e39722024a0ba061ca214f00a8f1bd (diff)
parentc4656e0d888703b774e1fd889fff4696113c117c (diff)
downloadbitcoin-1264b3647d48c61b033f5e3d20ffbb84ed77c369.tar.xz
Merge pull request #3696
c4656e0 Add progress to initial display of latest block downloaded. (R E Broadley) 75b8953 Display progress of rescan. (R E Broadley)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2d8ac0c9bc..9fdd76101a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2844,9 +2844,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;
}