Skip to content

Commit ccd3412

Browse files
Roasbeefguggero
authored andcommitted
lncfg: add new config option for taproot overlay chans
1 parent 204fc7f commit ccd3412

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

lncfg/protocol.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ type ProtocolOptions struct {
3131
// experimental simple taproot chans commitment type.
3232
TaprootChans bool `long:"simple-taproot-chans" description:"if set, then lnd will create and accept requests for channels using the simple taproot commitment type"`
3333

34+
// TaprootOverlayChans should be set if we want to enable support for
35+
// the experimental taproot overlay chan type.
36+
TaprootOverlayChans bool `long:"simple-taproot-overlay-chans" description:"if set, then lnd will create and accept requests for channels using the taproot overlay commitment type"`
37+
3438
// NoAnchors should be set if we don't want to support opening or accepting
3539
// channels having the anchor commitment type.
3640
NoAnchors bool `long:"no-anchors" description:"disable support for anchor commitments"`

lncfg/protocol_integration.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ type ProtocolOptions struct {
3333
// experimental simple taproot chans commitment type.
3434
TaprootChans bool `long:"simple-taproot-chans" description:"if set, then lnd will create and accept requests for channels using the simple taproot commitment type"`
3535

36+
// TaprootOverlayChans should be set if we want to enable support for
37+
// the experimental taproot overlay chan type.
38+
TaprootOverlayChans bool `long:"simple-taproot-overlay-chans" description:"if set, then lnd will create and accept requests for channels using the taproot overlay commitment type"`
39+
3640
// Anchors enables anchor commitments.
3741
// TODO(halseth): transition itests to anchors instead!
3842
Anchors bool `long:"anchors" description:"enable support for anchor commitments"`

sample-lnd.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,9 @@
13211321
; Set to enable support for the experimental taproot channel type.
13221322
; protocol.simple-taproot-chans=false
13231323

1324+
; Set to enable support for the experimental taproot overlay channel type.
1325+
; protocol.simple-taproot-overlay-chans=false
1326+
13241327
; Set to disable blinded route forwarding.
13251328
; protocol.no-route-blinding=false
13261329

0 commit comments

Comments
 (0)