mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge #16063: rpc: Mention getwalletinfo where a rescan is triggered
be4efb165a rpc: Mention getwalletinfo where a rescan is triggered (João Barbosa) Pull request description: ACKs for commit be4efb: jonasschnelli: utACK be4efb165ab7ff5824de9a46aa06eca654b7513f sipa: utACK be4efb165ab7ff5824de9a46aa06eca654b7513f Tree-SHA512: c9e5adda6fcb71dd64ad35cc5af89b0ed815aba440df26b61ef2018abd3b801c9e93cdbedf90db3938e88dc9af39f1577c4c7248bc77260d3afda5e2a0928e68
This commit is contained in:
parent
e5817f44a2
commit
843a42d750
@ -519,7 +519,8 @@ UniValue importwallet(const JSONRPCRequest& request)
|
|||||||
if (request.fHelp || request.params.size() != 1)
|
if (request.fHelp || request.params.size() != 1)
|
||||||
throw std::runtime_error(
|
throw std::runtime_error(
|
||||||
RPCHelpMan{"importwallet",
|
RPCHelpMan{"importwallet",
|
||||||
"\nImports keys from a wallet dump file (see dumpwallet). Requires a new wallet backup to include imported keys.\n",
|
"\nImports keys from a wallet dump file (see dumpwallet). Requires a new wallet backup to include imported keys.\n"
|
||||||
|
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
|
||||||
{
|
{
|
||||||
{"filename", RPCArg::Type::STR, RPCArg::Optional::NO, "The wallet file"},
|
{"filename", RPCArg::Type::STR, RPCArg::Optional::NO, "The wallet file"},
|
||||||
},
|
},
|
||||||
|
@ -3598,7 +3598,8 @@ static UniValue rescanblockchain(const JSONRPCRequest& request)
|
|||||||
if (request.fHelp || request.params.size() > 2) {
|
if (request.fHelp || request.params.size() > 2) {
|
||||||
throw std::runtime_error(
|
throw std::runtime_error(
|
||||||
RPCHelpMan{"rescanblockchain",
|
RPCHelpMan{"rescanblockchain",
|
||||||
"\nRescan the local blockchain for wallet related transactions.\n",
|
"\nRescan the local blockchain for wallet related transactions.\n"
|
||||||
|
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
|
||||||
{
|
{
|
||||||
{"start_height", RPCArg::Type::NUM, /* default */ "0", "block height where the rescan should start"},
|
{"start_height", RPCArg::Type::NUM, /* default */ "0", "block height where the rescan should start"},
|
||||||
{"stop_height", RPCArg::Type::NUM, RPCArg::Optional::OMITTED_NAMED_ARG, "the last block height that should be scanned. If none is provided it will rescan up to the tip at return time of this call."},
|
{"stop_height", RPCArg::Type::NUM, RPCArg::Optional::OMITTED_NAMED_ARG, "the last block height that should be scanned. If none is provided it will rescan up to the tip at return time of this call."},
|
||||||
|
Loading…
Reference in New Issue
Block a user