Added companion removeprunedfunds call.

This commit is contained in:
instagibbs
2016-03-07 08:51:06 -05:00
committed by lateminer
parent c37ac7db87
commit 8bca020397
7 changed files with 127 additions and 0 deletions

View File

@@ -2531,6 +2531,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);
static const CRPCCommand commands[] =
{ // category name actor (function) okSafeMode
@@ -2579,6 +2580,7 @@ static const CRPCCommand commands[] =
{ "wallet", "walletlock", &walletlock, true },
{ "wallet", "walletpassphrasechange", &walletpassphrasechange, true },
{ "wallet", "walletpassphrase", &walletpassphrase, true },
{ "wallet", "removeprunedfunds", &removeprunedfunds, true },
};
void RegisterWalletRPCCommands(CRPCTable &tableRPC)