mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
log: introduce a new category for private broadcast
This commit is contained in:
@@ -202,6 +202,7 @@ static const std::map<std::string, BCLog::LogFlags, std::less<>> LOG_CATEGORIES_
|
||||
{"scan", BCLog::SCAN},
|
||||
{"txpackages", BCLog::TXPACKAGES},
|
||||
{"kernel", BCLog::KERNEL},
|
||||
{"privatebroadcast", BCLog::PRIVBROADCAST},
|
||||
};
|
||||
|
||||
static const std::unordered_map<BCLog::LogFlags, std::string> LOG_CATEGORIES_BY_FLAG{
|
||||
|
||||
@@ -96,6 +96,7 @@ namespace BCLog {
|
||||
SCAN = (CategoryMask{1} << 27),
|
||||
TXPACKAGES = (CategoryMask{1} << 28),
|
||||
KERNEL = (CategoryMask{1} << 29),
|
||||
PRIVBROADCAST = (CategoryMask{1} << 30),
|
||||
ALL = ~NONE,
|
||||
};
|
||||
enum class Level {
|
||||
|
||||
Reference in New Issue
Block a user