lncfg: add new protocol option - RbfCoopClose

This commit is contained in:
Olaoluwa Osuntokun 2024-03-05 00:18:34 -06:00
parent 7feb3bdf83
commit 5fac5a6e0b
2 changed files with 8 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"`
// 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"`

View File

@ -37,6 +37,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.
//