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
Currently the CreateWalletCmd struct only supports the wallet_name, disable_private_keys, blank, passphrase and avoid_reuse arguments to set when executing the createwallet RPC command, but the descriptors argument cannot be specified. After the version 23.0.0 of the bitcoin core RPC this argument became true by default and since the importdescriptors RPC command is not implemented, this can lead to situations like the following when using this project to interact with RPC server:
I need to create a watch-only wallet and import a public key to track the transactions related to it so:
This wallet is created as native descriptor wallet since the descriptors argument is defaulted as true and I can't change it
I try to use err = client.ImportPubKeyRescan(pubKey, true) but it gives an error since this command is not supported by non-legacy wallets
I can't use importdescriptors neither since its not implemented
I can't import the public key to this wallet in any way
Is there any chance that the descriptors field can be added to the CreateWalletCmd struct so that argument can be specified when using this project? Are you accepting PRs to do so?
Please tell me if I'm missing something. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Currently the
CreateWalletCmd
struct only supports thewallet_name
,disable_private_keys
,blank
,passphrase
andavoid_reuse
arguments to set when executing thecreatewallet
RPC command, but thedescriptors
argument cannot be specified. After the version 23.0.0 of the bitcoin core RPC this argument became true by default and since theimportdescriptors
RPC command is not implemented, this can lead to situations like the following when using this project to interact with RPC server:I need to create a watch-only wallet and import a public key to track the transactions related to it so:
descriptors
argument is defaulted as true and I can't change iterr = client.ImportPubKeyRescan(pubKey, true)
but it gives an error since this command is not supported by non-legacy walletsimportdescriptors
neither since its not implementedIs there any chance that the
descriptors
field can be added to theCreateWalletCmd
struct so that argument can be specified when using this project? Are you accepting PRs to do so?Please tell me if I'm missing something. Thanks in advance.
The text was updated successfully, but these errors were encountered: