aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Dobson <dobsonsa68@gmail.com>2021-12-01 16:43:31 +1300
committerSamuel Dobson <dobsonsa68@gmail.com>2021-12-08 11:45:21 +1300
commite116b9747d083bf269f1e1c67295b57d700d9dbd (patch)
tree1d6e33a6f0e87df62c6d43ad73f51097b86d3825
parent8e30875fde99f5c03785fd5e1af929b194b3ffcf (diff)
MOVEONLY: Move rpcwallet to rpc/wallet
-rw-r--r--src/Makefile.am4
-rw-r--r--src/wallet/interfaces.cpp2
-rw-r--r--src/wallet/rpc/wallet.cpp (renamed from src/wallet/rpcwallet.cpp)2
-rw-r--r--src/wallet/rpc/wallet.h (renamed from src/wallet/rpcwallet.h)6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 23e8c93df0..36da079674 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -282,8 +282,8 @@ BITCOIN_CORE_H = \
wallet/ismine.h \
wallet/load.h \
wallet/receive.h \
- wallet/rpcwallet.h \
wallet/rpc/util.h \
+ wallet/rpc/wallet.h \
wallet/salvage.h \
wallet/scriptpubkeyman.h \
wallet/spend.h \
@@ -418,7 +418,7 @@ libbitcoin_wallet_a_SOURCES = \
wallet/rpc/signmessage.cpp \
wallet/rpc/transactions.cpp \
wallet/rpc/util.cpp \
- wallet/rpcwallet.cpp \
+ wallet/rpc/wallet.cpp \
wallet/scriptpubkeyman.cpp \
wallet/spend.cpp \
wallet/transaction.cpp \
diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp
index 6489e2a5fc..6c9d0ca132 100644
--- a/src/wallet/interfaces.cpp
+++ b/src/wallet/interfaces.cpp
@@ -24,7 +24,7 @@
#include <wallet/ismine.h>
#include <wallet/load.h>
#include <wallet/receive.h>
-#include <wallet/rpcwallet.h>
+#include <wallet/rpc/wallet.h>
#include <wallet/spend.h>
#include <wallet/wallet.h>
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpc/wallet.cpp
index c02dc24860..b0b586c41c 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpc/wallet.cpp
@@ -22,7 +22,7 @@
#include <wallet/coincontrol.h>
#include <wallet/load.h>
#include <wallet/receive.h>
-#include <wallet/rpcwallet.h>
+#include <wallet/rpc/wallet.h>
#include <wallet/rpc/util.h>
#include <wallet/wallet.h>
#include <wallet/walletdb.h>
diff --git a/src/wallet/rpcwallet.h b/src/wallet/rpc/wallet.h
index 2c3d413cb0..59abe90d55 100644
--- a/src/wallet/rpcwallet.h
+++ b/src/wallet/rpc/wallet.h
@@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#ifndef BITCOIN_WALLET_RPCWALLET_H
-#define BITCOIN_WALLET_RPCWALLET_H
+#ifndef BITCOIN_WALLET_RPC_WALLET_H
+#define BITCOIN_WALLET_RPC_WALLET_H
#include <span.h>
@@ -13,4 +13,4 @@ Span<const CRPCCommand> GetWalletRPCCommands();
RPCHelpMan getaddressinfo();
RPCHelpMan signrawtransactionwithwallet();
-#endif // BITCOIN_WALLET_RPCWALLET_H
+#endif // BITCOIN_WALLET_RPC_WALLET_H