Initial implementation of getrescaninfo

This commit is contained in:
Duke Leto
2022-10-17 07:03:32 -04:00
parent c049575357
commit 71923e3ffb
4 changed files with 49 additions and 5 deletions

View File

@@ -8503,6 +8503,7 @@ extern UniValue z_importviewingkey(const UniValue& params, bool fHelp, const CPu
extern UniValue z_exportwallet(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue z_importwallet(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue rescan(const UniValue& params, bool fHelp, const CPubKey& mypk);
extern UniValue getrescaninfo(const UniValue& params, bool fHelp, const CPubKey& mypk);
static const CRPCCommand commands[] =
@@ -8544,6 +8545,7 @@ static const CRPCCommand commands[] =
{ "wallet", "lockunspent", &lockunspent, true },
{ "wallet", "move", &movecmd, false },
{ "wallet", "rescan", &rescan, false },
{ "wallet", "getrescaninfo", &getrescaninfo, true },
{ "wallet", "sendfrom", &sendfrom, false },
{ "wallet", "sendmany", &sendmany, false },
{ "wallet", "sendtoaddress", &sendtoaddress, false },