aboutsummaryrefslogtreecommitdiff
path: root/src/addrdb.cpp
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-03-23 12:23:29 +0100
committerTheCharlatan <seb.kung@gmail.com>2023-04-19 10:48:30 +0200
commitbe55f545d53d44fdcf2d8ae802e9eae551d120c6 (patch)
treed60709e4e0447dfcaa4b72cc28c38993e6e65695 /src/addrdb.cpp
parent369d4c03b7084de967576759545ba36a17fc18bb (diff)
downloadbitcoin-be55f545d53d44fdcf2d8ae802e9eae551d120c6.tar.xz
move-only: Extract common/args and common/config.cpp from util/system
This is an extraction of ArgsManager related functions from util/system into their own common file. Config file related functions are moved to common/config.cpp. The background of this commit is an ongoing effort to decouple the libbitcoinkernel library from the ArgsManager. The ArgsManager belongs into the common library, since the kernel library should not depend on it. See doc/design/libraries.md for more information on this rationale.
Diffstat (limited to 'src/addrdb.cpp')
-rw-r--r--src/addrdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrdb.cpp b/src/addrdb.cpp
index 8ecccd4d22..b679ad0602 100644
--- a/src/addrdb.cpp
+++ b/src/addrdb.cpp
@@ -8,6 +8,7 @@
#include <addrman.h>
#include <chainparams.h>
#include <clientversion.h>
+#include <common/args.h>
#include <cstdint>
#include <hash.h>
#include <logging.h>
@@ -21,7 +22,6 @@
#include <util/fs.h>
#include <util/fs_helpers.h>
#include <util/settings.h>
-#include <util/system.h>
#include <util/translation.h>
namespace {