Skip to content

Bitcoin 0.28.0-rc.2 #324

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 2 commits into from
Mar 28, 2022
Merged

Bitcoin 0.28.0-rc.2 #324

merged 2 commits into from
Mar 28, 2022

Conversation

dr-orlovsky
Copy link
Contributor

This is a draft API adopting new version of rust-bitcoin 0.28.0-rc.2

@dr-orlovsky dr-orlovsky changed the title Bitcoin rc2 Bitcoin 0.28.0-rc.2 Mar 27, 2022
@sanket1729
Copy link
Member

Note that this would need to be a single commit to make sure all commits compile and test. Unfortunately, there is no clean way to have atomic commits here.

What I typically tend to do in these cases is to have separate branches with 2 PRs, one with atomic commits and one with a single commit. And then locally check that the diff between the two is null. This is not required for this case because the diff is small and I can review it in single commit.

@dr-orlovsky
Copy link
Contributor Author

@sanket1729 working on update

@sanket1729
Copy link
Member

@dr-orlovsky: One other thing that needs to be fixed here:

pub(super) fn prevouts<'a>(psbt: &'a Psbt) -> Result<Vec<bitcoin::TxOut>, super::Error> {
Should return &bitcoin::TxOut instead of bitcoin::Txout.

Also, the commit message should be 0.28.0-rc.2 instead of 0.27.0-rc.2.

@dr-orlovsky
Copy link
Contributor Author

@sanket1729 will fix both of the issues once bitcoin gets released and will do a final update to use released version

@apoelstra
Copy link
Member

Ok, rust-bitcoin rc2 is out

@dr-orlovsky
Copy link
Contributor Author

Updating this one

@dr-orlovsky dr-orlovsky marked this pull request as ready for review March 28, 2022 21:02
- Fix use of generic in Prevouts
- Fix to use new *SigHashType APIs
- Fix bitcoin API PSBTs switched to secp256k1 keys
- Fix broken test with changed error string
- Fix API changes in ControlBlock::verify_taproot_commitment
@dr-orlovsky
Copy link
Contributor Author

@apoelstra @sanket1729 ready for the review, CI is fixed

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.

tACK 08ed922. The commit message still says 0.27, but I can live with it

@dr-orlovsky
Copy link
Contributor Author

ouh, sorry for forgetting about that message :(

@sanket1729 sanket1729 merged commit f45db1d into rust-bitcoin:master Mar 28, 2022
@sanket1729
Copy link
Member

Tagged and published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants