Skip to content

Commit 2d33317

Browse files
authored
Merge pull request #8960 from lightningnetwork/0-19-staging-rebased
[custom channels 5/5]: merge custom channel staging branch into master
2 parents 9f0cc15 + bdaa9f4 commit 2d33317

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2289
-907
lines changed

config_builder.go

+9
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ import (
5050
"github.com/lightningnetwork/lnd/rpcperms"
5151
"github.com/lightningnetwork/lnd/signal"
5252
"github.com/lightningnetwork/lnd/sqldb"
53+
"github.com/lightningnetwork/lnd/sweep"
5354
"github.com/lightningnetwork/lnd/walletunlocker"
5455
"github.com/lightningnetwork/lnd/watchtower"
5556
"github.com/lightningnetwork/lnd/watchtower/wtclient"
@@ -187,6 +188,14 @@ type AuxComponents struct {
187188
// AuxChanCloser is an optional channel closer that can be used to
188189
// modify the way a coop-close transaction is constructed.
189190
AuxChanCloser fn.Option[chancloser.AuxChanCloser]
191+
192+
// AuxSweeper is an optional interface that can be used to modify the
193+
// way sweep transaction are generated.
194+
AuxSweeper fn.Option[sweep.AuxSweeper]
195+
196+
// AuxContractResolver is an optional interface that can be used to
197+
// modify the way contracts are resolved.
198+
AuxContractResolver fn.Option[lnwallet.AuxContractResolver]
190199
}
191200

192201
// DefaultWalletImpl is the default implementation of our normal, btcwallet

0 commit comments

Comments
 (0)