From c27e4bdc35bc7cedd1ee07e98a52c230241120d1 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Wed, 24 May 2023 15:55:53 +0200 Subject: 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. --- src/interfaces/chain.h | 2 +- src/interfaces/node.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces') 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 +#include #include // For CTransactionRef -#include // For util::SettingsValue #include #include 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 #include // For CAmount #include // For NodeId #include // For banmap_t #include // For Network #include // For ConnectionDirection #include // For SecureString -#include // For util::SettingsValue #include #include -- cgit v1.2.3