Skip to content

Commit 7a05f94

Browse files
committed
rpc: doc: drop descriptor wallet mentions in fast wallet rescan related RPCs
Now that we only ever operate on descriptor wallets, mentioning that a faster rescan is only available for them is redundant and can be removed. These texts were originally introduced in commit ca48a46 (PR #25957).
1 parent db465a5 commit 7a05f94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ RPCHelpMan restorewallet()
611611
return RPCHelpMan{
612612
"restorewallet",
613613
"Restores and loads a wallet from backup.\n"
614-
"\nThe rescan is significantly faster if a descriptor wallet is restored"
615-
"\nand block filters are available (using startup option \"-blockfilterindex=1\").\n",
614+
"\nThe rescan is significantly faster if block filters are available"
615+
"\n(using startup option \"-blockfilterindex=1\").\n",
616616
{
617617
{"wallet_name", RPCArg::Type::STR, RPCArg::Optional::NO, "The name that will be applied to the restored wallet"},
618618
{"backup_file", RPCArg::Type::STR, RPCArg::Optional::NO, "The backup file that will be used to restore the wallet."},

src/wallet/rpc/transactions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,8 @@ RPCHelpMan rescanblockchain()
857857
"rescanblockchain",
858858
"Rescan the local blockchain for wallet related transactions.\n"
859859
"Note: Use \"getwalletinfo\" to query the scanning progress.\n"
860-
"The rescan is significantly faster when used on a descriptor wallet\n"
861-
"and block filters are available (using startup option \"-blockfilterindex=1\").\n",
860+
"The rescan is significantly faster if block filters are available\n"
861+
"(using startup option \"-blockfilterindex=1\").\n",
862862
{
863863
{"start_height", RPCArg::Type::NUM, RPCArg::Default{0}, "block height where the rescan should start"},
864864
{"stop_height", RPCArg::Type::NUM, RPCArg::Optional::OMITTED, "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."},

0 commit comments

Comments
 (0)