mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-25 06:55:32 +01:00
[logging] Comment all continuing logs.
Most logs should terminated with a '\n'. Some logs are built up over multiple calls to logPrintf(), so do not need a newline terminater. Comment all of these 'continued' logs as a linter hing.
This commit is contained in:
@@ -370,7 +370,7 @@ bool CCoinsViewDB::Upgrade() {
|
||||
|
||||
int64_t count = 0;
|
||||
LogPrintf("Upgrading utxo-set database...\n");
|
||||
LogPrintf("[0%%]...");
|
||||
LogPrintf("[0%%]..."); /* Continued */
|
||||
uiInterface.ShowProgress(_("Upgrading UTXO database"), 0, true);
|
||||
size_t batch_size = 1 << 24;
|
||||
CDBBatch batch(db);
|
||||
@@ -389,7 +389,7 @@ bool CCoinsViewDB::Upgrade() {
|
||||
uiInterface.ShowProgress(_("Upgrading UTXO database"), percentageDone, true);
|
||||
if (reportDone < percentageDone/10) {
|
||||
// report max. every 10% step
|
||||
LogPrintf("[%d%%]...", percentageDone);
|
||||
LogPrintf("[%d%%]...", percentageDone); /* Continued */
|
||||
reportDone = percentageDone/10;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user