]> Untitled Git - bdk-cli/commit
Merge bitcoindevkit/bdk-cli#309: feat: Add support for Multipath (two-path) descriptors master github/master
authormerge-script <withtvpeter@gmail.com>
Fri, 11 Sep 2026 11:56:56 +0000 (12:56 +0100)
committermerge-script <withtvpeter@gmail.com>
Fri, 11 Sep 2026 11:56:56 +0000 (12:56 +0100)
commit20d69a17291ed23824b070fa2b7338eb7c14f8ac
tree2c2e9edf39f543fbc33bcf45281de0b6f90a1c7f
parentf8738d828a5a36d9c79327082e822f197e4dd32f
parent5afbc8a97ecebccf8f5815c324e4e7388ff80c8d
Merge bitcoindevkit/bdk-cli#309: feat: Add support for Multipath (two-path) descriptors

5afbc8a97ecebccf8f5815c324e4e7388ff80c8d feat(multipath): Add checks for desc pair (Vihiga Tyonum)
48b331423469d5a60a29e098f07d1c4574178552 feat(multipath): Add tests for multipath desc (Vihiga Tyonum)
697fe0b1eb97b8b461ec5096697bbb66b8bbeae1 feat(multipath): limit multipath desc to two paths (Vihiga Tyonum)
53161348b18c6a0f30dec67021ede2b25a55486a feat(multipath): add multipath desc support (Vihiga Tyonum)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  This PR enables support for BIP389 multipath descriptors. It uses the existing `external descriptor` and verifies whether the provided descriptor is a multipath descriptor. If it is, a wallet will be created using the `Wallet::create_from_two_path_descriptor()` method. If not, the standard wallet creation logic will be applied.

  Fixes #195

  Replaces #238

  ### Notes to the reviewers

  -  `is_multipath_descriptor` helper parses the descriptor and accepts only  **two-path** multipath descriptors (external/internal).

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ## Changelog notice

  - Add support for BIP389 multipath descriptors

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [ ] I've added docs for the new feature
  * [x] I've updated `CHANGELOG.md`

ACKs for top commit:
  vadim-anfv:
    tACK 5afbc8a97ecebccf8f5815c324e4e7388ff80c8d

Tree-SHA512: f5892d86a4965a18518c09f2e86ea9882f78fac04ee7b492e1ccea27216a590d2135b4d0c5f3bb2e6ef4f332e9f6bff48dee7ce539080ba801c3693c22a45b3e