Skip to content

Commit 007f968

Browse files
committed
lnwallet/chanfunding: remote assembler.go to interface.go
In this commit, we rename the files as assembler.go houses the primary interfaces/abstractions of the package. In the rest of the codebase, this file is near uniformly called interface.go, so we rename the file to make the repo more digestible at a scan.
1 parent 5cb4811 commit 007f968

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lnwallet/chanfunding/assembler.go renamed to lnwallet/chanfunding/interface.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ package chanfunding
22

33
import (
44
"github.com/btcsuite/btcd/btcutil"
5+
"github.com/btcsuite/btcd/chaincfg/chainhash"
56
"github.com/btcsuite/btcd/wire"
67
"github.com/btcsuite/btcwallet/wallet"
8+
"github.com/lightningnetwork/lnd/fn"
79
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
810
)
911

@@ -116,6 +118,11 @@ type Request struct {
116118
// output. By definition, this'll also use segwit v1 (taproot) for the
117119
// funding output.
118120
Musig2 bool
121+
122+
// TapscriptRoot is the root of the tapscript tree that will be used to
123+
// create the funding output. This field will only be utilized if the
124+
// Musig2 flag above is set to true.
125+
TapscriptRoot fn.Option[chainhash.Hash]
119126
}
120127

121128
// Intent is returned by an Assembler and represents the base functionality the

0 commit comments

Comments
 (0)