Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

This PR updates the rust-miniscript dependency from v12.3.4-opdrop to
v13.0.0-opdrop and adapts our code to handle the API changes while
maintaining backwards compatibility:

  • Updates miniscript dependency to v13.0.0-opdrop
  • Adapts code to handle API changes including:
    • Updated TapTree representation and handling
    • Renamed parse method to decode for scripts
    • Changed output_key().to_inner() to output_key().to_x_only_public_key()
    • Updated error type from ConversionError to NonDefiniteKeyError
  • Implements a RecursiveTapTree type to maintain compatibility with
    previous API after upstream removed the recursive tap tree structure

BTC-2656

OttoAllmendinger and others added 3 commits December 15, 2025 16:39
Updates miniscript dependency from v12.3.4-opdrop to v13.0.0-opdrop and
adapts code to API changes. Key changes include:
- Updated TapTree representation and handling
- Renamed `parse` method to `decode` for scripts
- Changed `output_key().to_inner()` to `output_key().to_x_only_public_key()`
- Updated error type from `ConversionError` to `NonDefiniteKeyError`

Issue: BTC-2656

Co-authored-by: llm-git <llm-git@ttll.de>
Implements a RecursiveTapTree type to maintain compatibility with
previous API after the upstream rust-miniscript library removed the
recursive tap tree structure in favor of a flat representation.

Issue: BTC-2656

Co-authored-by: llm-git <llm-git@ttll.de>
Update Rust crate dependencies in the project, including critical libraries
like bitcoin_hashes, bech32, and wasm-bindgen. Added configuration in
deny.toml to handle hex-conservative duplicate versions.

Issue: BTC-2656

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review December 16, 2025 16:14
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner December 16, 2025 16:14
@OttoAllmendinger OttoAllmendinger merged commit b949138 into master Dec 16, 2025
1 check passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2656.bump-rust-miniscript-branch branch December 16, 2025 16:29
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