bitcoindevkit / bitcoindevkit/bdk_wallet
Return error for invalid descriptor types
Open
audit
- Dominant language
- Rust
- Stars
- 59
- Forks
- 105
- Avg merge
- 10d 9h
- Merged PRs (30d)
- 1
Description
"The library will crash on descriptors without an address form, as it assumes it can always get it but doesn't check it. For instance importing a raw() descriptor would make BDK crash internally. This can be an issue for a server providing an API to register descriptors and monitor them using BDK."
"The descriptor is not checked in Wallet::create_with_params (it only is in load_with_params), allowing to create a Wallet with an incompatible (multipath, hardened steps, ..) descriptor which would break a number of invariants during usage of the Wallet."
Contributor guide
Assessment
This issue has not been assessed yet.