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 Aug 29, 2024
1 parent 5c7d4b9 commit 6be959e
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 @@ -70,6 +70,7 @@ namespace BCLog {
TXRECONCILIATION = (1 << 26),
SCAN = (1 << 27),
TXPACKAGES = (1 << 28),
SV2 = (1 << 30),
ALL = ~(uint32_t)0,
};
enum class Level {
Expand Down

0 comments on commit 6be959e

Please sign in to comment.