Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) The Bitcoin Core developers2// Distributed under the MIT software license, see the accompanying3// file COPYING or http://www.opensource.org/licenses/mit-license.php.5#ifndef BITCOIN_LOGGING_CATEGORIES_H6#define BITCOIN_LOGGING_CATEGORIES_H8#include <cstdint>10namespace BCLog {12using CategoryMask = uint64_t;14enum LogFlags : CategoryMask {15NONE = CategoryMask{0},16NET = (CategoryMask{1} << 0),17TOR = (CategoryMask{1} << 1),18MEMPOOL = (CategoryMask{1} << 2),19HTTP = (CategoryMask{1} << 3),20BENCH = (CategoryMask{1} << 4),21ZMQ = (CategoryMask{1} << 5),22WALLETDB = (CategoryMask{1} << 6),23RPC = (CategoryMask{1} << 7),24ESTIMATEFEE = (CategoryMask{1} << 8),25ADDRMAN = (CategoryMask{1} << 9),26SELECTCOINS = (CategoryMask{1} << 10),27REINDEX = (CategoryMask{1} << 11),28CMPCTBLOCK = (CategoryMask{1} << 12),29RAND = (CategoryMask{1} << 13),30PRUNE = (CategoryMask{1} << 14),31PROXY = (CategoryMask{1} << 15),32MEMPOOLREJ = (CategoryMask{1} << 16),33COINDB = (CategoryMask{1} << 17),34QT = (CategoryMask{1} << 18),35LEVELDB = (CategoryMask{1} << 19),36VALIDATION = (CategoryMask{1} << 20),37I2P = (CategoryMask{1} << 21),38IPC = (CategoryMask{1} << 22),39#ifdef DEBUG_LOCKCONTENTION40LOCK = (CategoryMask{1} << 23),41#endif42BLOCKSTORAGE = (CategoryMask{1} << 24),43TXRECONCILIATION = (CategoryMask{1} << 25),44SCAN = (CategoryMask{1} << 26),45TXPACKAGES = (CategoryMask{1} << 27),46KERNEL = (CategoryMask{1} << 28),47PRIVBROADCAST = (CategoryMask{1} << 29),48MINING = (CategoryMask{1} << 30),49ALL = ~NONE,50};52} // namespace BCLog54#endif // BITCOIN_LOGGING_CATEGORIES_H