@@ -4082,15 +4082,15 @@ bool CVerifyDB::VerifyDB(
4082
4082
BlockValidationState state;
4083
4083
int reportDone = 0 ;
4084
4084
bool skipped_l3_checks{false };
4085
- LogPrintf (" [ 0%%]... " ); /* Continued */
4085
+ LogPrintf (" Verification progress: 0%%\n " );
4086
4086
4087
4087
const bool is_snapshot_cs{!chainstate.m_from_snapshot_blockhash };
4088
4088
4089
4089
for (pindex = chainstate.m_chain .Tip (); pindex && pindex->pprev ; pindex = pindex->pprev ) {
4090
4090
const int percentageDone = std::max (1 , std::min (99 , (int )(((double )(chainstate.m_chain .Height () - pindex->nHeight )) / (double )nCheckDepth * (nCheckLevel >= 4 ? 50 : 100 ))));
4091
4091
if (reportDone < percentageDone / 10 ) {
4092
4092
// report every 10% step
4093
- LogPrintf (" [ %d%%]... " , percentageDone); /* Continued */
4093
+ LogPrintf (" Verification progress: %d%%\n " , percentageDone);
4094
4094
reportDone = percentageDone / 10 ;
4095
4095
}
4096
4096
uiInterface.ShowProgress (_ (" Verifying blocks…" ).translated , percentageDone, false );
@@ -4159,7 +4159,7 @@ bool CVerifyDB::VerifyDB(
4159
4159
const int percentageDone = std::max (1 , std::min (99 , 100 - (int )(((double )(chainstate.m_chain .Height () - pindex->nHeight )) / (double )nCheckDepth * 50 )));
4160
4160
if (reportDone < percentageDone / 10 ) {
4161
4161
// report every 10% step
4162
- LogPrintf (" [ %d%%]... " , percentageDone); /* Continued */
4162
+ LogPrintf (" Verification progress: %d%%\n " , percentageDone);
4163
4163
reportDone = percentageDone / 10 ;
4164
4164
}
4165
4165
uiInterface.ShowProgress (_ (" Verifying blocks…" ).translated , percentageDone, false );
@@ -4174,8 +4174,7 @@ bool CVerifyDB::VerifyDB(
4174
4174
}
4175
4175
}
4176
4176
4177
- LogPrintf (" [DONE].\n " );
4178
- LogPrintf (" No coin database inconsistencies in last %i blocks (%i transactions)\n " , block_count, nGoodTransactions);
4177
+ LogPrintf (" Verification: No coin database inconsistencies in last %i blocks (%i transactions)\n " , block_count, nGoodTransactions);
4179
4178
4180
4179
return true ;
4181
4180
}
0 commit comments