aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
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/interfaces
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/interfaces')
-rw-r--r--src/interfaces/chain.h2
-rw-r--r--src/interfaces/node.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 40bf0b680c..81b444fd33 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -6,8 +6,8 @@
#define BITCOIN_INTERFACES_CHAIN_H
#include <blockfilter.h>
+#include <common/settings.h>
#include <primitives/transaction.h> // For CTransactionRef
-#include <util/settings.h> // For util::SettingsValue
#include <functional>
#include <memory>
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 7e87d5a523..432fa24ee7 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -5,13 +5,13 @@
#ifndef BITCOIN_INTERFACES_NODE_H
#define BITCOIN_INTERFACES_NODE_H
+#include <common/settings.h>
#include <consensus/amount.h> // For CAmount
#include <net.h> // For NodeId
#include <net_types.h> // For banmap_t
#include <netaddress.h> // For Network
#include <netbase.h> // For ConnectionDirection
#include <support/allocators/secure.h> // For SecureString
-#include <util/settings.h> // For util::SettingsValue
#include <util/translation.h>
#include <functional>