[rpc] Add abortrescan command to RPC interface.

This commit is contained in:
Kalle Alm
2017-04-17 23:32:29 +09:00
committed by lateminer
parent 0b91aeefa7
commit 8e919e9d59
2 changed files with 25 additions and 0 deletions

View File

@@ -2611,6 +2611,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp)
return result;
}
extern UniValue abortrescan(const UniValue& params, bool fHelp); // in rpcdump.cpp
extern UniValue dumpprivkey(const UniValue& params, bool fHelp); // in rpcdump.cpp
extern UniValue importprivkey(const UniValue& params, bool fHelp);
extern UniValue importaddress(const UniValue& params, bool fHelp);
@@ -2626,6 +2627,7 @@ static const CRPCCommand commands[] =
{ "rawtransactions", "fundrawtransaction", &fundrawtransaction, false },
{ "hidden", "resendwallettransactions", &resendwallettransactions, true },
{ "wallet", "abandontransaction", &abandontransaction, false },
{ "wallet", "abortrescan", &abortrescan, false },
{ "wallet", "addmultisigaddress", &addmultisigaddress, true },
{ "wallet", "backupwallet", &backupwallet, true },
{ "wallet", "dumpprivkey", &dumpprivkey, true },