Skip to content
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

Update rust-miniscript to 8.0.0 #67

Merged
merged 5 commits into from
Oct 20, 2022

Conversation

darosior
Copy link
Contributor

@darosior darosior commented Oct 20, 2022

Took the opportunity to update some dependencies, too.

@darosior
Copy link
Contributor Author

Weird, the PSBT deserialization in rust-bitcoin became stricter. I'm chasing down the bug now.

@darosior
Copy link
Contributor Author

Found it! We were missing some sighash type bytes at the end of some signatures in test_update_spend.

@darosior darosior force-pushed the update_miniscript branch 2 times, most recently from 98804fa to 27837a8 Compare October 20, 2022 15:19
@darosior
Copy link
Contributor Author

Alright. I don't want to take care of that now, it could well be an issue with an update of GA's macos-latest. I'll put an exception in CI for now and open an issue.

This also updates the indirect rust-bitcoin dependency to 0.29.

Major changes are in the descriptors management:
	- The rust-miniscript descriptors don't support raw hashes
	  within the pk_h() fragments, so we don't need all the boutique
	  management for this.
	- The key translator API changed.
	- We now take a u16 for the timelock instead of our previous
	  checks. This was inspired by the new rust-bitcoin Sequence
	  type.
	- We now take a path instead of just a derivation index in
	  DerivedKey. We might use paths after all...

As for rust-bitcoin it's just a few nits:
	- No more 'global' field on PSBTs (yay)
	- Couple more trait derivation on types
	- Some APIs were renamed.
@darosior
Copy link
Contributor Author

ACK 49ccc28

@darosior darosior merged commit 790d283 into wizardsardine:master Oct 20, 2022
@darosior darosior deleted the update_miniscript branch October 20, 2022 16:17
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.

None yet

1 participant