bitcoindevkit / bitcoindevkit/bdk_wallet

Add `sign_psbt_input`

Open
#122 8 comments 0 reactions 0 assignees View on GitHub
api new feature stale
Dominant language
Rust
Stars
59
Forks
105
Avg merge
10d 9h
Merged PRs (30d)
1

Description

**Describe the enhancement**
Currently there is a `sign_psbt` function that works great, however, it does not give us fine grained control over which inputs are signed, it just signs everything it can. This can be unsafe for multi-party protocols where they could give us one of our own inputs and we sign it for them. To get around this currently we need to sign the whole psbt and then just take the info from the input we wanted, which is inefficient.

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.