|
|
@ -2936,7 +2936,7 @@ bool static LoadBlockIndexDB() |
|
|
|
|
|
|
|
|
|
|
|
// Check whether we have a transaction index
|
|
|
|
// Check whether we have a transaction index
|
|
|
|
pblocktree->ReadFlag("txindex", fTxIndex); |
|
|
|
pblocktree->ReadFlag("txindex", fTxIndex); |
|
|
|
LogPrintf("%s(): transaction index %s\n", __func__, fTxIndex ? "enabled" : "disabled"); |
|
|
|
LogPrintf("%s: transaction index %s\n", __func__, fTxIndex ? "enabled" : "disabled"); |
|
|
|
|
|
|
|
|
|
|
|
// Load pointer to end of best chain
|
|
|
|
// Load pointer to end of best chain
|
|
|
|
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock()); |
|
|
|
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock()); |
|
|
@ -2946,7 +2946,7 @@ bool static LoadBlockIndexDB() |
|
|
|
|
|
|
|
|
|
|
|
PruneBlockIndexCandidates(); |
|
|
|
PruneBlockIndexCandidates(); |
|
|
|
|
|
|
|
|
|
|
|
LogPrintf("%s(): hashBestChain=%s height=%d date=%s progress=%f\n", __func__, |
|
|
|
LogPrintf("%s: hashBestChain=%s height=%d date=%s progress=%f\n", __func__, |
|
|
|
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())); |
|
|
|
Checkpoints::GuessVerificationProgress(chainActive.Tip())); |
|
|
|