Add importprunedfunds rpc call

This commit is contained in:
instagibbs
2016-02-18 16:31:12 -08:00
committed by lateminer
parent db3b5d964a
commit c37ac7db87
9 changed files with 224 additions and 24 deletions

View File

@@ -2530,6 +2530,7 @@ extern UniValue importaddress(const UniValue& params, bool fHelp);
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);
static const CRPCCommand commands[] =
{ // category name actor (function) okSafeMode
@@ -2556,6 +2557,7 @@ static const CRPCCommand commands[] =
{ "wallet", "importprivkey", &importprivkey, true },
{ "wallet", "importwallet", &importwallet, true },
{ "wallet", "importaddress", &importaddress, true },
{ "wallet", "importprunedfunds", &importprunedfunds, true },
{ "wallet", "importpubkey", &importpubkey, true },
{ "wallet", "keypoolrefill", &keypoolrefill, true },
{ "wallet", "listaccounts", &listaccounts, false },