scripted-diff: Change BCLog::DB to BCLog::WALLETDB

-BEGIN VERIFY SCRIPT-
git grep -l "BCLog::DB" src | xargs sed -i "s/BCLog::DB/BCLog::WALLETDB/g"
sed -i "s/DB          =/WALLETDB    =/g" src/logging.h
-END VERIFY SCRIPT-
This commit is contained in:
Wladimir J. van der Laan
2019-11-08 08:15:37 +01:00
parent 6b42b3ba90
commit 4c1d263d93
4 changed files with 13 additions and 13 deletions

View File

@@ -99,7 +99,7 @@ bool BCLog::Logger::EnableCategory(const std::string& str)
if (str == "db") {
// DEPRECATION: Added in 0.20, should start returning an error in 0.21
LogPrintf("Warning: logging category 'db' is deprecated, use 'walletdb' instead\n");
EnableCategory(BCLog::DB);
EnableCategory(BCLog::WALLETDB);
return true;
}
return false;
@@ -147,7 +147,7 @@ const CLogCategoryDesc LogCategories[] =
{BCLog::HTTP, "http"},
{BCLog::BENCH, "bench"},
{BCLog::ZMQ, "zmq"},
{BCLog::DB, "walletdb"},
{BCLog::WALLETDB, "walletdb"},
{BCLog::RPC, "rpc"},
{BCLog::ESTIMATEFEE, "estimatefee"},
{BCLog::ADDRMAN, "addrman"},