Skip to content

Conversation

apoelstra
Copy link
Contributor

@apoelstra apoelstra commented Mar 27, 2023

Importing pubkey-only descriptors works fine as long as the wallet already has the required privkeys.

Happy to add whatever tests people advise me to.

Fixes #27336

Edit Never mind -- we can update balances but not sign coins. More work needs to be done to support this.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 27, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #bitcoin-core/gui/650 (Add Import to Wallet GUI by KolbyML)
  • #26840 (refactor: importpubkey, importprivkey, importaddress, importmulti, and importdescriptors rpc by KolbyML)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@apoelstra apoelstra marked this pull request as draft March 27, 2023 00:32
@apoelstra
Copy link
Contributor Author

I'm going to close this; actually supporting what I want is a much more complicated job that I expected, and it would violate the scriptpubkeyman abstraction, so probably needs extensive discussion.

@apoelstra apoelstra closed this Mar 27, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should be able to import an xpub descriptor to a privkey-enabled wallet if the wallet has the privkeys
2 participants