mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-28 14:55:22 +02:00
logging: use util/log.h where possible
Preparation for a future commit where kernel's dependency on logging.cpp is removed completely. Replace usage of logging\.h with util/log\.h where it suffices, and fix wrong includes according to iwyu.
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
#include <crypto/hex_base.h>
|
||||
#include <hash.h>
|
||||
#include <kernel/messagestartchars.h>
|
||||
#include <logging.h>
|
||||
#include <primitives/block.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <script/interpreter.h>
|
||||
#include <script/script.h>
|
||||
#include <uint256.h>
|
||||
#include <util/chaintype.h>
|
||||
#include <util/log.h>
|
||||
#include <util/strencodings.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <coins.h>
|
||||
#include <crypto/muhash.h>
|
||||
#include <hash.h>
|
||||
#include <logging.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <script/script.h>
|
||||
@@ -17,6 +16,7 @@
|
||||
#include <sync.h>
|
||||
#include <uint256.h>
|
||||
#include <util/check.h>
|
||||
#include <util/log.h>
|
||||
#include <util/overflow.h>
|
||||
#include <validation.h>
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#include <kernel/context.h>
|
||||
|
||||
#include <crypto/sha256.h>
|
||||
#include <logging.h>
|
||||
#include <random.h>
|
||||
#include <util/log.h>
|
||||
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user