mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
4b0139c9ba
In this commit, we update the channel state machine to use the new ScriptDescriptor interface. This fixes some subtle issues with the existing commits, as for p2wsh we always sign the same witness script, but for p2tr, the witness script differs depending on which branch is taken. With the new abstractions, we can treat p2wsh and p2tr as the same mostly, right up until we need to obtain a control block or a tap tweak. All tests have been updated accordingly. |
||
---|---|---|
.. | ||
input.go | ||
musig2_session_manager.go | ||
musig2_test.go | ||
musig2.go | ||
script_desc.go | ||
script_utils_test.go | ||
script_utils.go | ||
signdescriptor_test.go | ||
signdescriptor.go | ||
signer.go | ||
size_test.go | ||
size.go | ||
taproot_test.go | ||
taproot.go | ||
test_utils.go | ||
txout_test.go | ||
txout.go | ||
witnessgen.go |