Skip to content

Commit 5c3a8e9

Browse files
authored
Merge pull request #9030 from lightningnetwork/extract-part1-from-staging-branch
[custom channels 1/5]: extract PART1 from mega staging branch
2 parents 1bf7ad9 + 9dfbde7 commit 5c3a8e9

Some content is hidden

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

43 files changed

+2448
-776
lines changed

chainreg/chainregistry.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
"github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify"
2525
"github.com/lightningnetwork/lnd/channeldb"
2626
"github.com/lightningnetwork/lnd/channeldb/models"
27+
"github.com/lightningnetwork/lnd/fn"
2728
"github.com/lightningnetwork/lnd/input"
2829
"github.com/lightningnetwork/lnd/keychain"
2930
"github.com/lightningnetwork/lnd/kvdb"
@@ -63,6 +64,10 @@ type Config struct {
6364
// state.
6465
ChanStateDB *channeldb.ChannelStateDB
6566

67+
// AuxLeafStore is an optional store that can be used to store auxiliary
68+
// leaves for certain custom channel types.
69+
AuxLeafStore fn.Option[lnwallet.AuxLeafStore]
70+
6671
// BlockCache is the main cache for storing block information.
6772
BlockCache *blockcache.BlockCache
6873

0 commit comments

Comments
 (0)