diff options
| author | R E Broadley <[email protected]> | 2014-02-18 11:04:06 -0800 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-11 09:24:12 +0100 |
| commit | ff882789af7b24db6095690ae83d0bae38ddb998 (patch) | |
| tree | 44c5388744c1d4b299af89d4531d8c4da790069d /src/main.cpp | |
| parent | Display progress of rescan. (diff) | |
| download | discoin-ff882789af7b24db6095690ae83d0bae38ddb998.tar.xz discoin-ff882789af7b24db6095690ae83d0bae38ddb998.zip | |
Add progress to initial display of latest block downloaded.
Rebased-From: c4656e0
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 7afaa9e7e..3cbdc1427 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; } |