Wallet Support For Public Multipath Descriptors
Overview
- Lead Developer: @schjonhaug
- Ticket: #11
- Pull Request: #275
- Feature Type: Non-breaking
Overview
- We add a new API,
Wallet::create_multipath(descriptor)
following the same pattern ascreate()
andcreate_single()
. - BIP 389 compliance with exactly 2-path validation (receive and change).
- The multipath descriptor must be a public descriptor.
Why Do This?
Multipath descriptors are fairly common nowadays, and there was a lot of demand for supporting a constructor on the wallet that would handle them gracefully.
Notes
- The constructor only allows exactly 2-path multipath descriptors to ensure proper receive/change separation.