From 7a05f941bb2cffb3a998613f30d24a02f83e62a8 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Fri, 23 May 2025 00:15:05 +0200 Subject: [PATCH] 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 ca48a4694f73e5be8f971ae482ebc2cce4caef44 (PR #25957). --- src/wallet/rpc/backup.cpp | 4 ++-- src/wallet/rpc/transactions.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wallet/rpc/backup.cpp b/src/wallet/rpc/backup.cpp index 3ec4285a3f9..74f2b6dc7d6 100644 --- a/src/wallet/rpc/backup.cpp +++ b/src/wallet/rpc/backup.cpp @@ -611,8 +611,8 @@ RPCHelpMan restorewallet() return RPCHelpMan{ "restorewallet", "Restores and loads a wallet from backup.\n" - "\nThe rescan is significantly faster if a descriptor wallet is restored" - "\nand block filters are available (using startup option \"-blockfilterindex=1\").\n", + "\nThe rescan is significantly faster if block filters are available" + "\n(using startup option \"-blockfilterindex=1\").\n", { {"wallet_name", RPCArg::Type::STR, RPCArg::Optional::NO, "The name that will be applied to the restored wallet"}, {"backup_file", RPCArg::Type::STR, RPCArg::Optional::NO, "The backup file that will be used to restore the wallet."}, diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp index fb40829d0b6..3580d2ceb06 100644 --- a/src/wallet/rpc/transactions.cpp +++ b/src/wallet/rpc/transactions.cpp @@ -857,8 +857,8 @@ RPCHelpMan rescanblockchain() "rescanblockchain", "Rescan the local blockchain for wallet related transactions.\n" "Note: Use \"getwalletinfo\" to query the scanning progress.\n" - "The rescan is significantly faster when used on a descriptor wallet\n" - "and block filters are available (using startup option \"-blockfilterindex=1\").\n", + "The rescan is significantly faster if block filters are available\n" + "(using startup option \"-blockfilterindex=1\").\n", { {"start_height", RPCArg::Type::NUM, RPCArg::Default{0}, "block height where the rescan should start"}, {"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."},