Skip to content

Commit bb0fb86

Browse files
Roasbeefguggero
authored andcommitted
lnwallet/chanfunding: rename 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 7fb2333 commit bb0fb86

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
@@ -4,9 +4,11 @@ import (
44
"time"
55

66
"github.com/btcsuite/btcd/btcutil"
7+
"github.com/btcsuite/btcd/chaincfg/chainhash"
78
"github.com/btcsuite/btcd/wire"
89
"github.com/btcsuite/btcwallet/wallet"
910
"github.com/btcsuite/btcwallet/wtxmgr"
11+
"github.com/lightningnetwork/lnd/fn"
1012
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
1113
)
1214

@@ -119,6 +121,11 @@ type Request struct {
119121
// output. By definition, this'll also use segwit v1 (taproot) for the
120122
// funding output.
121123
Musig2 bool
124+
125+
// TapscriptRoot is the root of the tapscript tree that will be used to
126+
// create the funding output. This field will only be utilized if the
127+
// Musig2 flag above is set to true.
128+
TapscriptRoot fn.Option[chainhash.Hash]
122129
}
123130

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

0 commit comments

Comments
 (0)