]> Untitled Git - bdk/commit
Better customize signing in taproot transactions
authorDaniela Brozzoni <danielabrozzoni@protonmail.com>
Wed, 22 Jun 2022 16:08:23 +0000 (18:08 +0200)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Tue, 2 Aug 2022 10:20:08 +0000 (12:20 +0200)
commita713a5a0629c9a643708a4b0d8d6ac3a87a13195
treef05a21bc7d4e5f9c8924ed096aa587aa29cc6be0
parenta1477405d1adebd9a95689af17d3912edf1e57ef
Better customize signing in taproot transactions

We would previously always try to sign with the taproot internal
key, and try to sign all the script leaves hashes.
Instead, add the `sign_with_tap_internal_key` and `TapLeaveOptions`
parameters, to be able to specify if we should sign with the internal
key, and exactly which leaves we should sign.
Fixes #616
CHANGELOG.md
src/wallet/mod.rs
src/wallet/signer.rs