lnwallet: integrate new taproot channels into internal funding flow

In this commit, we build on all the prior commits and integrate the new
taproot channels into the existing internal funding flow. Along the way,
we do some refactoring to unify things like signing and verifying
incoming commitment transaction signatures.

For our local nonce, we use the existing functional option type to
derive the nonce based on the initial shachain pre-image we'll use as
our revocation.
This commit is contained in:
Olaoluwa Osuntokun committed 2023-08-22 16:31:07 -07:00
1 parent 9e8b00241f
commit 67ecefaac3
6 files changed
+315 -108

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ const (
// CommitmentTypeSimpleTaproot is the base commitment type for the
// channels that use a musig2 funding output and the tapscript tree
// where relevant for the commitment transaciton pk scripts.
// where relevant for the commitment transaction pk scripts.
CommitmentTypeSimpleTaproot
)