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
Merge bitcoin/bitcoin#25924: scripted-diff: rpc: fix rescan RPC name (s/rescanwallet/rescanblockchain/)
e90a445 scripted-diff: rpc: fix rescan RPC name (s/rescanwallet/rescanblockchain/) (Sebastian Falbesoner)
Pull request description:
There is no RPC call named `rescanwallet`, i.e. fix this by renaming to the actual RPC called `rescanblockchain`.
ACKs for top commit:
achow101:
ACK e90a445
aureleoules:
ACK e90a445.
promag:
ACK e90a445
Tree-SHA512: abf1d1c18de32d87c29e4ff2b782dfb0e4a46dc2c2cc51ab616d12674a0f4a5d22214e00955663ae897cbb88f4f6ced913850f28ea3f5c1b3a54577a25fbf399
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
@@ -101,7 +101,7 @@ RPCHelpMan importprivkey()
101
101
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
102
102
"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"
103
103
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
104
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
104
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
105
105
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
106
106
{
107
107
{"privkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The private key (see dumpprivkey)"},
@@ -204,7 +204,7 @@ RPCHelpMan importaddress()
204
204
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
205
205
"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"
206
206
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
207
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
207
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
208
208
"If you have the full public key, you should call importpubkey instead of this.\n"
209
209
"Hint: use importmulti to import more than one address.\n"
210
210
"\nNote: If you import a non-standard raw script in hex form, outputs sending to it will be treated\n"
@@ -406,7 +406,7 @@ RPCHelpMan importpubkey()
406
406
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
407
407
"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"
408
408
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
409
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
409
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
410
410
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
411
411
{
412
412
{"pubkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The hex-encoded public key"},
@@ -1257,7 +1257,7 @@ RPCHelpMan importmulti()
1257
1257
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
1258
1258
"may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n"
1259
1259
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
1260
-
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
1260
+
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
1261
1261
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
1262
1262
{
1263
1263
{"requests", RPCArg::Type::ARR, RPCArg::Optional::NO, "Data to be imported",
0 commit comments