Skip to content

Commit

Permalink
Add sv2 log category for Stratum v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Nov 15, 2024
1 parent 85bcfee commit 4e0c820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ static const std::map<std::string, BCLog::LogFlags, std::less<>> LOG_CATEGORIES_
{"blockstorage", BCLog::BLOCKSTORAGE},
{"txreconciliation", BCLog::TXRECONCILIATION},
{"scan", BCLog::SCAN},
{"sv2", BCLog::SV2},
{"txpackages", BCLog::TXPACKAGES},
};

Expand Down
1 change: 1 addition & 0 deletions src/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ namespace BCLog {
TXRECONCILIATION = (CategoryMask{1} << 26),
SCAN = (CategoryMask{1} << 27),
TXPACKAGES = (CategoryMask{1} << 28),
SV2 = (CategoryMask{1} << 29),
ALL = ~NONE,
};
enum class Level {
Expand Down

0 comments on commit 4e0c820

Please sign in to comment.