You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\nImport descriptors. This will trigger a rescan of the blockchain based on the earliest timestamp of all descriptors being imported. Requires a new wallet backup.\n"
1591
1591
"\nNote: This call can take over an hour to complete if using an early timestamp; during that time, other rpc calls\n"
1592
-
"may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n",
1592
+
"may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n"
1593
+
"The rescan is significantly faster if block filters are available (using startup option \"-blockfilterindex=1\").\n",
1593
1594
{
1594
1595
{"requests", RPCArg::Type::ARR, RPCArg::Optional::NO, "Data to be imported",
1595
1596
{
@@ -1887,7 +1888,9 @@ RPCHelpMan restorewallet()
1887
1888
{
1888
1889
return RPCHelpMan{
1889
1890
"restorewallet",
1890
-
"\nRestore and loads a wallet from backup.\n",
1891
+
"\nRestore and loads a wallet from backup.\n"
1892
+
"\nThe rescan is significantly faster if a descriptor wallet is restored"
1893
+
"\nand block filters are available (using startup option \"-blockfilterindex=1\").\n",
1891
1894
{
1892
1895
{"wallet_name", RPCArg::Type::STR, RPCArg::Optional::NO, "The name that will be applied to the restored wallet"},
1893
1896
{"backup_file", RPCArg::Type::STR, RPCArg::Optional::NO, "The backup file that will be used to restore the wallet."},
Copy file name to clipboardExpand all lines: src/wallet/rpc/transactions.cpp
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -839,7 +839,9 @@ RPCHelpMan rescanblockchain()
839
839
{
840
840
return RPCHelpMan{"rescanblockchain",
841
841
"\nRescan the local blockchain for wallet related transactions.\n"
842
-
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
842
+
"Note: Use \"getwalletinfo\" to query the scanning progress.\n"
843
+
"The rescan is significantly faster when used on a descriptor wallet\n"
844
+
"and block filters are available (using startup option \"-blockfilterindex=1\").\n",
843
845
{
844
846
{"start_height", RPCArg::Type::NUM, RPCArg::Default{0}, "block height where the rescan should start"},
845
847
{"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."},
0 commit comments