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
scripted-diff: rpc: fix rescan RPC name (s/rescanwallet/rescanblockchain/)
There is no RPC call named `rescanwallet`, i.e. fix this by renaming to
the actual RPC called `rescanblockchain`.
-BEGIN VERIFY SCRIPT-
sed -i s/rescanwallet/rescanblockchain/ $(git grep -l rescanwallet)
-END VERIFY SCRIPT-
Copy file name to clipboardExpand all lines: src/wallet/rpc/backup.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ RPCHelpMan importprivkey()
92
92
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
93
93
"may report that the imported key exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
94
94
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
95
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
95
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
96
96
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" with \"combo(X)\" for descriptor wallets.\n",
97
97
{
98
98
{"privkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The private key (see dumpprivkey)"},
@@ -211,7 +211,7 @@ RPCHelpMan importaddress()
211
211
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
212
212
"may report that the imported address exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
213
213
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
214
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
214
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
215
215
"If you have the full public key, you should call importpubkey instead of this.\n"
216
216
"Hint: use importmulti to import more than one address.\n"
217
217
"\nNote: If you import a non-standard raw script in hex form, outputs sending to it will be treated\n"
@@ -409,7 +409,7 @@ RPCHelpMan importpubkey()
409
409
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
410
410
"may report that the imported pubkey exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n"
411
411
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
412
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
412
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
413
413
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" with \"combo(X)\" for descriptor wallets.\n",
414
414
{
415
415
{"pubkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The hex-encoded public key"},
@@ -1482,7 +1482,7 @@ RPCHelpMan importmulti()
1482
1482
"If an address/script is imported without all of the private keys required to spend from that address, it will be watchonly. The 'watchonly' option must be set to true in this case or a warning will be returned.\n"
1483
1483
"Conversely, if all the private keys are provided and the address/script is spendable, the watchonly option must be set to false, or a warning will be returned.\n"
1484
1484
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
1485
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
1485
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
1486
1486
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
1487
1487
"may report that the imported keys, addresses or scripts exists but related transactions are still missing.\n"
1488
1488
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" for descriptor wallets.\n",
0 commit comments