lncfg: add new protocol option - RbfCoopClose

This commit is contained in:
Olaoluwa Osuntokun committed 2025-03-18 11:44:20 -05:00
1 parent a9e538e52d
commit 47af913b45
3 files changed
+11

No files matched your search

+4
View File
@@ -35,6 +35,10 @@ type ProtocolOptions struct {
// 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"`
// RbfCoopClose should be set if we want to signal that we support for
// the new experimental RBF coop close feature.
RbfCoopClose bool `long:"rbf-coop-close" description:"if set, then lnd will signal that it supports the new RBF based coop close protocol"`
// 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"`
+4
View File
@@ -41,6 +41,10 @@ type ProtocolOptions struct {
// TODO(halseth): transition itests to anchors instead!
Anchors bool `long:"anchors" description:"enable support for anchor commitments"`
// RbfCoopClose should be set if we want to signal that we support for
// the new experimental RBF coop close feature.
RbfCoopClose bool `long:"rbf-coop-close" description:"if set, then lnd will signal that it supports the new RBF based coop close protocol"`
// ScriptEnforcedLease enables script enforced commitments for channel
// leases.
//
+3
View File
@@ -1413,6 +1413,9 @@
; Set to disable experimental endorsement signaling.
; protocol.no-experimental-endorsement=false
; Set to disable support for RBF based coop close.
; protocol.rbf-coop-close=false
; Set to handle messages of a particular type that falls outside of the
; custom message number range (i.e. 513 is onion messages). Note that you can
; set this option as many times as you want to support more than one custom