|
|
@ -2743,9 +2743,10 @@ bool static LoadBlockIndexDB() |
|
|
|
if (it == mapBlockIndex.end()) |
|
|
|
if (it == mapBlockIndex.end()) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
chainActive.SetTip(it->second); |
|
|
|
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(), |
|
|
|
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; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|