aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorGleb Naumenko <naumenko.gs@gmail.com>2022-09-19 13:07:31 +0300
committerGleb Naumenko <naumenko.gs@gmail.com>2022-10-17 12:00:59 +0300
commit24e36fac0a86aa371046470dc4f8dfed7a868fb2 (patch)
tree94b87c6736e3d53799b786792208b48feb86c525 /src/logging.cpp
parentc35b91afdc401696f4b1ee65a876328fd462aec9 (diff)
downloadbitcoin-24e36fac0a86aa371046470dc4f8dfed7a868fb2.tar.xz
log: Add tx reconciliation log category
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index a3f1d39be5..c95c0b7e37 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -180,6 +180,7 @@ const CLogCategoryDesc LogCategories[] =
#endif
{BCLog::UTIL, "util"},
{BCLog::BLOCKSTORE, "blockstorage"},
+ {BCLog::TXRECONCILIATION, "txreconciliation"},
{BCLog::ALL, "1"},
{BCLog::ALL, "all"},
};
@@ -280,6 +281,8 @@ std::string LogCategoryToStr(BCLog::LogFlags category)
return "util";
case BCLog::LogFlags::BLOCKSTORE:
return "blockstorage";
+ case BCLog::LogFlags::TXRECONCILIATION:
+ return "txreconciliation";
case BCLog::LogFlags::ALL:
return "all";
}