[rpc] Add abortrescan command to RPC interface.
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user