diff options
author | glozow <gloriajzhao@gmail.com> | 2023-03-06 16:46:18 +0000 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2023-08-29 16:41:22 +0100 |
commit | 51b3275cd1de467933f13d8b71286bf5ebd12b4b (patch) | |
tree | 94785b1417ebf58f7c622c5b390234836cb72f80 /src/logging.cpp | |
parent | a33dde1e41d8923a46db84b50550175fa6149c48 (diff) | |
download | bitcoin-51b3275cd1de467933f13d8b71286bf5ebd12b4b.tar.xz |
[log] add category TXPACKAGES for orphanage and package relay
Diffstat (limited to 'src/logging.cpp')
-rw-r--r-- | src/logging.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logging.cpp b/src/logging.cpp index a5cfb0d28e..08bfa1f7a4 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -182,6 +182,7 @@ const CLogCategoryDesc LogCategories[] = {BCLog::BLOCKSTORAGE, "blockstorage"}, {BCLog::TXRECONCILIATION, "txreconciliation"}, {BCLog::SCAN, "scan"}, + {BCLog::TXPACKAGES, "txpackages"}, {BCLog::ALL, "1"}, {BCLog::ALL, "all"}, }; @@ -286,6 +287,8 @@ std::string LogCategoryToStr(BCLog::LogFlags category) return "txreconciliation"; case BCLog::LogFlags::SCAN: return "scan"; + case BCLog::LogFlags::TXPACKAGES: + return "txpackages"; case BCLog::LogFlags::ALL: return "all"; } |