mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user