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:
stickies-v
2026-01-26 18:48:08 +00:00
parent bb8e9e7c4c
commit 37cc2a2d95
33 changed files with 57 additions and 54 deletions

View File

@@ -9,7 +9,6 @@
#include <coins.h>
#include <consensus/params.h>
#include <kernel/caches.h>
#include <logging.h>
#include <node/blockstorage.h>
#include <sync.h>
#include <threadsafety.h>
@@ -17,6 +16,7 @@
#include <txdb.h>
#include <uint256.h>
#include <util/fs.h>
#include <util/log.h>
#include <util/signalinterrupt.h>
#include <util/time.h>
#include <util/translation.h>