mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-24 22:58:38 +01:00
In this commit, we add a series of new options and methods to make it easier to use the package in the context of a taproot output that commits to a script root or some other value. Before this series of changes, the API was hard to use in this context as the taproot tweak actually includes the internal public key, which in this case is the aggregated public key. So you actually needed to call that API w/o the tweak, get that, then recompute the tweak itself. To make things easier in the taproot context, we've added a series of new options that'll return the aggregated key before any tweaks (to be used as the internal key), and also handle computing the BIP 341 tweak value for the caller. |
||
---|---|---|
.. | ||
bench_test.go | ||
context.go | ||
keys.go | ||
musig2_test.go | ||
nonces.go | ||
sign.go |