8000 Make Script::witness_version public by dr-orlovsky · Pull Request #876 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make Script::witness_version public #876

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

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Make Script::witness_version public #876

merged 1 commit into from
Mar 13, 2022

Conversation

dr-orlovsky
Copy link
Collaborator
@dr-orlovsky dr-orlovsky commented Mar 13, 2022

Originally this function was public (at least I was using it in downstream dependency in https://github.com/LNP-BP/descriptor-wallet). Now, in RC1, it became private. It is quite useful to detect witness scriptPubkeys.

@dr-orlovsky dr-orlovsky added minor API Change This PR should get a minor version bump trivial Obvious, easy and quick to review (few lines or doc-only...) RC fix labels Mar 13, 2022
@dr-orlovsky dr-orlovsky added this to the 0.28.0 milestone Mar 13, 2022
Copy link
Member
@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 7554d76

Though I can't find any evidence that this method was public in the past.

Copy link
Member
@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

utACK 7554d76. I also found needing this rust-miniscript and had to some work-around.

@dr-orlovsky
Copy link
Collaborator Author

@apoelstra probably it was public in my original PR proposing it and later the export was lost during review/update process

@dr-orlovsky
Copy link
Collaborator Author

@sanket1729 can you pls merge this? Seems we have two ACKs here and I do not want to merge my own PRs

@sanket1729 sanket1729 merged commit efa9555 into rust-bitcoin:master Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor API Change This PR should get a minor version bump trivial Obvious, easy and quick to review (few lines or doc-only...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0