aboutsummaryrefslogtreecommitdiff
path: root/src/addrdb.cpp
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-05-24 15:55:53 +0200
committerTheCharlatan <seb.kung@gmail.com>2023-05-30 17:26:47 +0200
commitc27e4bdc35bc7cedd1ee07e98a52c230241120d1 (patch)
tree389d47e5c869e1f5252b3ad143ac17bd9efd52d2 /src/addrdb.cpp
parentc2dae5d7d89634fbd771755ce3909719f5462f63 (diff)
move-only: Move settings to the common library
The background of this commit is an ongoing effort to decouple the libbitcoinkernel library from code that is not strictly required by it. The settings code belongs into the common library and namespace, since the kernel library should not depend on it. See doc/design/libraries.md for more information on this rationale. Changing the namespace of the moved functions is scripted in the following commit.
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 23f9600ea5..e86fc231a5 100644
--- a/src/addrdb.cpp
+++ b/src/addrdb.cpp
@@ -9,6 +9,7 @@
#include <chainparams.h>
#include <clientversion.h>
#include <common/args.h>
+#include <common/settings.h>
#include <cstdint>
#include <hash.h>
#include <logging.h>
@@ -21,7 +22,6 @@
#include <univalue.h>
#include <util/fs.h>
#include <util/fs_helpers.h>
-#include <util/settings.h>
#include <util/translation.h>
namespace {