lncfg: add new config option for taproot overlay chans

This commit is contained in:
Olaoluwa Osuntokun 2024-06-26 17:27:57 -07:00
parent 2395c4d0a1
commit c6ba5d11f1
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306
3 changed files with 11 additions and 0 deletions

View File

@ -31,6 +31,10 @@ type ProtocolOptions struct {
// experimental simple taproot chans commitment type.
TaprootChans bool `long:"simple-taproot-chans" description:"if set, then lnd will create and accept requests for channels using the simple taproot commitment type"`
// TaprootOverlayChans should be set if we want to enable support for
// the experimental taproot overlay chan type.
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"`
// NoAnchors should be set if we don't want to support opening or accepting
// channels having the anchor commitment type.
NoAnchors bool `long:"no-anchors" description:"disable support for anchor commitments"`

View File

@ -33,6 +33,10 @@ type ProtocolOptions struct {
// experimental simple taproot chans commitment type.
TaprootChans bool `long:"simple-taproot-chans" description:"if set, then lnd will create and accept requests for channels using the simple taproot commitment type"`
// TaprootOverlayChans should be set if we want to enable support for
// the experimental taproot overlay chan type.
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"`
// Anchors enables anchor commitments.
// TODO(halseth): transition itests to anchors instead!
Anchors bool `long:"anchors" description:"enable support for anchor commitments"`

View File

@ -1324,6 +1324,9 @@
; Set to enable support for the experimental taproot channel type.
; protocol.simple-taproot-chans=false
; Set to enable support for the experimental taproot overlay channel type.
; protocol.simple-taproot-overlay-chans=false
; Set to disable blinded route forwarding.
; protocol.no-route-blinding=false