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
rpc, docs: Add note for commands that supports only legacy wallets
Note is added for following rpc commands:
importprivkey, importpubkey, importwallet, dumpprivkey,
dumpwallet, importmulti, addmultisigaddress, sethdseed
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
@@ -102,7 +102,8 @@ RPCHelpMan importprivkey()
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
104
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
105
-
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
105
+
"Note: Use \"getwalletinfo\" to query the scanning progress.\n"
106
+
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" with \"combo(X)\" for descriptor wallets.\n",
106
107
{
107
108
{"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"
405
406
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
406
407
"but the key was used to create transactions, rescanblockchain needs to be called with the appropriate block range.\n"
407
-
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
408
+
"Note: Use \"getwalletinfo\" to query the scanning progress.\n"
409
+
"Note: This command is only compatible with legacy wallets. Use \"importdescriptors\" with \"combo(X)\" for descriptor wallets.\n",
408
410
{
409
411
{"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
@@ -460,8 +460,8 @@ static RPCHelpMan sethdseed()
460
460
return RPCHelpMan{"sethdseed",
461
461
"\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"
462
462
"HD will have a new HD seed set so that new keys added to the keypool will be derived from this new seed.\n"
463
-
"\nNote that you will need to MAKE A NEW BACKUP of your wallet after setting the HD wallet seed." +
464
-
HELP_REQUIRING_PASSPHRASE,
463
+
"\nNote that you will need to MAKE A NEW BACKUP of your wallet after setting the HD wallet seed." + HELP_REQUIRING_PASSPHRASE +
464
+
"Note: This command is only compatible with legacy wallets.\n",
465
465
{
466
466
{"newkeypool", RPCArg::Type::BOOL, RPCArg::Default{true}, "Whether to flush old unused addresses, including change addresses, from the keypool and regenerate it.\n"
467
467
"If true, the next address from getnewaddress and change address from getrawchangeaddress will be from this new seed.\n"
0 commit comments