aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-09-11 10:29:00 +0800
committerfanquake <fanquake@gmail.com>2021-09-30 07:41:57 +0800
commitd09071da5bc997f2de1f55ca7a9babc3d7619329 (patch)
treed786d12dffa41365c5e381a220454ab06f5eaff1 /src/interfaces
parent419afa93419e6840f78cb94b4a39d826eb10e139 (diff)
downloadbitcoin-d09071da5bc997f2de1f55ca7a9babc3d7619329.tar.xz
[MOVEONLY] consensus: move amount.h into consensus
Move amount.h to consensus/amount.h. Renames, adds missing and removes uneeded includes.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/node.h2
-rw-r--r--src/interfaces/wallet.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 770b1b8753..34fdde3774 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -5,7 +5,7 @@
#ifndef BITCOIN_INTERFACES_NODE_H
#define BITCOIN_INTERFACES_NODE_H
-#include <amount.h> // For CAmount
+#include <consensus/amount.h>
#include <external_signer.h>
#include <net.h> // For NodeId
#include <net_types.h> // For banmap_t
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index 6766e0510f..490563426c 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -5,7 +5,7 @@
#ifndef BITCOIN_INTERFACES_WALLET_H
#define BITCOIN_INTERFACES_WALLET_H
-#include <amount.h> // For CAmount
+#include <consensus/amount.h>
#include <interfaces/chain.h> // For ChainClient
#include <pubkey.h> // For CKeyID and CScriptID (definitions needed in CTxDestination instantiation)
#include <script/standard.h> // For CTxDestination