Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.

Bitcoin 0.28.0-rc.2 - #324

Merged
sanket1729 merged 2 commits into
rust-bitcoin:masterfrom
BP-WG:bitcoin-rc2
Mar 28, 2022
Merged

sanket1729 merged 2 commits into
rust-bitcoin:masterfrom
BP-WG:bitcoin-rc2

Conversation

@dr-orlovsky

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@sanket1729 working on update

@sanket1729

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

Ok, rust-bitcoin rc2 is out

@dr-orlovsky

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@sanket1729 sanket1729 left a comment •

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor Author

ouh, sorry for forgetting about that message :(

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

Copy link
Copy Markdown
Member

Tagged and published.

heap-coder added a commit to heap-coder/rust-miniscript that referenced this pull request Sep 27, 2025
08ed922ec9873eb363a4a95880a08a2e23658209 Use refs instead of clone in PSBT finalizer prevouts fn (Dr Maxim Orlovsky)
b291d27ba424a9b0de45a0201c04940abf3c15e8 Update to bitcoin 0.27.0-rc.2 (Dr Maxim Orlovsky)

Pull request description:

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

ACKs for top commit:
  sanket1729:
    tACK 08ed922ec9873eb363a4a95880a08a2e23658209. The commit message still says 0.27, but I can live with it

Tree-SHA512: 04e6fb56236add48ec6f0352485b97b00f0fc12f35979f04212362f4468087f84b7e83fbdb759973cd86257655e66e85696e0289ea6121552c71442658bea793
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants