bitcoindevkit / bitcoindevkit/bdk_wallet

Return error for invalid descriptor types

Open
#54 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.