|
|
|
@ -2743,9 +2743,10 @@ bool static LoadBlockIndexDB()
@@ -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; |
|
|
|
|
} |
|
|
|
|