-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support conversion of multi-Xprivs into multi-Xpubs #757
Support conversion of multi-Xprivs into multi-Xpubs #757
Conversation
Possible when all hardened derivation steps are shared among all paths (or if there are none). Errors otherwise.
93a71d7
to
7d3e1e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 7d3e1e8; successfully ran local tests; the stringly-typed errors are OK since this module is full of them
Would like @sanket1729 to take a quick look at this before acking to sanity-check it. In particular this forbits multixpubs where there are hardened derivations after the split. I assume this is a requirement to be a legal multixpub? Because there isn't any obvious reason we should be forced to have this limit. |
Correct, this is a limitation imposed by the current |
Added another commit with some formatting changes that also updates the existing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK ae64ce6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ae64ce6; successfully ran local tests; the stringly-typed errors are OK since this module is full of them
And add a simple example using it (https://min.sc/v0.3/#github=examples/taproot-psbt-multipath-simple) Implemented in an extension trait, pending rust-bitcoin/rust-miniscript#757.
And add a simple example using it (https://min.sc/v0.3/#github=examples/taproot-psbt-multipath-simple) Implemented in an extension trait, pending rust-bitcoin/rust-miniscript#757.
Implemented in an extension trait, pending rust-bitcoin/rust-miniscript#757.
Possible when all hardened derivation steps are shared among all paths (or if there are none). Errors otherwise.