Skip to content

Conversation

meglio
Copy link
Contributor

@meglio meglio commented Apr 4, 2023

It took me quite a while to understand how to use both xpriv and public keys in a single descriptor. The trick was to use xprv key + derivation path. Also, it was not obvious that Bitcoin Core would figure it out and sign a multisig transaction if the xpriv is present in the descriptor. As a newbie to Bitcoin Core, I had to consult stackexchange to understand that.

Adding an example would make it easier to "gotcha" for the reader.

@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 4, 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.

Type Reviewers
Concept ACK jonatack, RandyMcMillan, achow101, furszy
Stale ACK S3RK

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #28373 (doc: Add example of mixing private and public keys in descriptors by naiyoma)

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.

@DrahtBot DrahtBot added the Docs label Apr 4, 2023
@S3RK
Copy link
Contributor

S3RK commented Apr 4, 2023

ACK 4210771

@fanquake fanquake requested a review from achow101 April 4, 2023 10:41
Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK.

The second commit is only modifying the first commit, so the two should be squashed into one commit.

@@ -243,7 +243,18 @@ Often it is useful to communicate a description of scripts along with the
necessary private keys. For this reason, anywhere a public key or xpub is
supported, a private key in WIF format or xprv may be provided instead.
This is useful when private keys are necessary for hardened derivation
steps, or for dumping wallet descriptors including private key material.
steps, signing transactions, or for dumping wallet descriptors
Copy link
Member

@jonatack jonatack Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
steps, signing transactions, or for dumping wallet descriptors
steps, for signing transactions, or for dumping wallet descriptors

(alternatively, s/for dumping/dumping/

@RandyMcMillan
Copy link
Contributor

Concept ACK

@achow101
Copy link
Member

Concept ACK

Please squash your commits

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 8, 2023

There hasn't been much activity lately. What is the status here?

Finding reviewers may take time. However, if the patch is no longer relevant, please close this pull request. If the author lost interest or time to work on this, please close it and mark it 'Up for grabs' with the label, so that it can be picked up in the future.

Copy link
Member

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

+1 for squashing the commits.

@maflcko
Copy link
Member

maflcko commented Aug 9, 2023

I think this can be closed "Up for grabs"? Does someone want to pick it up?

@maflcko
Copy link
Member

maflcko commented Aug 9, 2023

For reference, the docs on how to squash commits: https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#squashing-commits

@naiyoma
Copy link
Contributor

naiyoma commented Aug 30, 2023

I think this can be closed "Up for grabs"? Does someone want to pick it up?

I'd like to pick this up.

@achow101
Copy link
Member

Superseded by #28373

@achow101 achow101 closed this Sep 26, 2023
achow101 added a commit that referenced this pull request Apr 17, 2024
…escriptors

24b67fa doc: Add example of mixing private and public keys in descriptors (Anton A)

Pull request description:

  closes: #27414

ACKs for top commit:
  achow101:
    ACK 24b67fa
  alfonsoromanz:
    Re ACK 24b67fa

Tree-SHA512: 8c063f23199ac0ff35909f786a5b0de1b4a9b15d1e93bdcdac10cb4bd2002c12e99b6fb1c2e56d16971e7622b67d910b79088429df92c48279be2d7797049911
@bitcoin bitcoin locked and limited conversation to collaborators Sep 25, 2024
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 25, 2024
…ys in descriptors

24b67fa doc: Add example of mixing private and public keys in descriptors (Anton A)

Pull request description:

  closes: bitcoin#27414

ACKs for top commit:
  achow101:
    ACK 24b67fa
  alfonsoromanz:
    Re ACK 24b67fa

Tree-SHA512: 8c063f23199ac0ff35909f786a5b0de1b4a9b15d1e93bdcdac10cb4bd2002c12e99b6fb1c2e56d16971e7622b67d910b79088429df92c48279be2d7797049911
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 26, 2024
…ys in descriptors

24b67fa doc: Add example of mixing private and public keys in descriptors (Anton A)

Pull request description:

  closes: bitcoin#27414

ACKs for top commit:
  achow101:
    ACK 24b67fa
  alfonsoromanz:
    Re ACK 24b67fa

Tree-SHA512: 8c063f23199ac0ff35909f786a5b0de1b4a9b15d1e93bdcdac10cb4bd2002c12e99b6fb1c2e56d16971e7622b67d910b79088429df92c48279be2d7797049911
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.

10 participants