diff options
author | R E Broadley <rebroad+github@gmail.com> | 2014-02-18 11:04:06 -0800 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2014-02-19 18:23:13 -0800 |
commit | c4656e0d888703b774e1fd889fff4696113c117c (patch) | |
tree | 3dff27237e923191ba4617c81767356dc3f601d4 /src/main.cpp | |
parent | 75b8953a2cb98651f546a457927fef0693dfb349 (diff) |
Add progress to initial display of latest block downloaded.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index f61b282865..8c046ac92b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2743,9 +2743,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; } |