mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-21 09:10:03 +02:00
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.
This commit is contained in:
parent
cc9e2b783e
commit
38441d24c9
@ -4,9 +4,11 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/btcutil"
|
"github.com/btcsuite/btcd/btcutil"
|
||||||
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcwallet/wallet"
|
"github.com/btcsuite/btcwallet/wallet"
|
||||||
"github.com/btcsuite/btcwallet/wtxmgr"
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||||
|
"github.com/lightningnetwork/lnd/fn"
|
||||||
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
|
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -119,6 +121,11 @@ type Request struct {
|
|||||||
// output. By definition, this'll also use segwit v1 (taproot) for the
|
// output. By definition, this'll also use segwit v1 (taproot) for the
|
||||||
// funding output.
|
// funding output.
|
||||||
Musig2 bool
|
Musig2 bool
|
||||||
|
|
||||||
|
// TapscriptRoot is the root of the tapscript tree that will be used to
|
||||||
|
// create the funding output. This field will only be utilized if the
|
||||||
|
// Musig2 flag above is set to true.
|
||||||
|
TapscriptRoot fn.Option[chainhash.Hash]
|
||||||
}
|
}
|
||||||
|
|
||||||
// Intent is returned by an Assembler and represents the base functionality the
|
// Intent is returned by an Assembler and represents the base functionality the
|
Loading…
x
Reference in New Issue
Block a user