aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorinstagibbs <gsanders87@gmail.com>2016-03-07 08:51:06 -0500
committerinstagibbs <gsanders87@gmail.com>2016-03-23 10:40:38 -0400
commitf1bb13c93da5d4bedf9dd2cd7357008376e9a2b4 (patch)
tree402e4fd30562dc5c4a6e438961b0387ec87c8e3a /src/wallet/rpcwallet.cpp
parent7eb702954ed0e297c5ded548e6c4f11f55313b7a (diff)
downloadbitcoin-f1bb13c93da5d4bedf9dd2cd7357008376e9a2b4.tar.xz
Added companion removeprunedfunds call.
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index fbe95a14c2..29f7802c5c 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -2504,6 +2504,7 @@ extern UniValue importpubkey(const UniValue& params, bool fHelp);
extern UniValue dumpwallet(const UniValue& params, bool fHelp);
extern UniValue importwallet(const UniValue& params, bool fHelp);
extern UniValue importprunedfunds(const UniValue& params, bool fHelp);
+extern UniValue removeprunedfunds(const UniValue& params, bool fHelp);
const CRPCCommand vWalletRPCCommands[] =
{ // category name actor (function) okSafeMode
@@ -2552,6 +2553,7 @@ const CRPCCommand vWalletRPCCommands[] =
{ "wallet", "walletlock", &walletlock, true },
{ "wallet", "walletpassphrasechange", &walletpassphrasechange, true },
{ "wallet", "walletpassphrase", &walletpassphrase, true },
+ { "wallet", "removeprunedfunds", &removeprunedfunds, true },
};
void walletRegisterRPCCommands()