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#25680: rpc, docs: Add note for commands that supports only legacy wallets
9141e43 rpc, docs: Add note for commands that supports only legacy wallets (Yusuf Sahin HAMZA)
Pull request description:
Refs #25363, apparently issue is not updated since over a month, so i decided to put the same `importaddress` note in #25368 to other rpc commands that needs this note.
Note is added for following commands:
- `importprivkey`
- `importpubkey`
- `importwallet`
- `dumpprivkey`
- `dumpwallet`
- `importmulti`
- `addmultisigaddress`
- `sethdseed`
ACKs for top commit:
achow101:
ACK 9141e43
Tree-SHA512: f3dc05d26577fd8dbe2bd69cb5c14ffccebacd6010402af44427b3d01be8484895dfcf33d55dfa766eadb7f9f3bae5cc4c2add3ac816a2ac60e8beb5a97527f3
Copy file name to clipboardExpand all lines: src/wallet/rpc/backup.cpp
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,8 @@ RPCHelpMan importprivkey()
119
119
"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"
120
120
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
121
121
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
122
-
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
122
+
"Note: Use \"getwalletinfo\" to query the scanning progress.\n"
123
+
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" with \"combo(X)\" for descriptor wallets.\n",
123
124
{
124
125
{"privkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The private key (see dumpprivkey)"},
"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"
418
419
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
419
420
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
420
-
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
421
+
"Note: Use \"getwalletinfo\" to query the scanning progress.\n"
422
+
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" with \"combo(X)\" for descriptor wallets.\n",
421
423
{
422
424
{"pubkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The hex-encoded public key"},
Copy file name to clipboardExpand all lines: src/wallet/rpc/wallet.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -504,8 +504,8 @@ static RPCHelpMan sethdseed()
504
504
return RPCHelpMan{"sethdseed",
505
505
"\nSet or generate a new HD wallet seed. Non-HD wallets will not be upgraded to being a HD wallet. Wallets that are already\n"
506
506
"HD will have a new HD seed set so that new keys added to the keypool will be derived from this new seed.\n"
507
-
"\nNote that you will need to MAKE A NEW BACKUP of your wallet after setting the HD wallet seed." +
508
-
HELP_REQUIRING_PASSPHRASE,
507
+
"\nNote that you will need to MAKE A NEW BACKUP of your wallet after setting the HD wallet seed." + HELP_REQUIRING_PASSPHRASE +
508
+
"Note: This command is only compatible with legacy wallets.\n",
509
509
{
510
510
{"newkeypool", RPCArg::Type::BOOL, RPCArg::Default{true}, "Whether to flush old unused addresses, including change addresses, from the keypool and regenerate it.\n"
511
511
"If true, the next address from getnewaddress and change address from getrawchangeaddress will be from this new seed.\n"
0 commit comments