multi: rename experimental endorsement signal to accountable
Renames the endorsement signal to accountable to match the latest proposal https://github.com/lightning/blips/pull/67
This commit is contained in:
1 parent
801de79cf1
commit
34329c684e
21 files changed
+229
-227
No files matched your search
@@ -100,7 +100,7 @@ var defaultSetDesc = setDesc{
|
||||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
lnwire.ExperimentalEndorsementOptional: {
|
||||
lnwire.ExperimentalAccountabilityOptional: {
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
lnwire.RbfCoopCloseOptionalStaging: {
|
||||
|
||||
+6
-6
@@ -69,9 +69,9 @@ type Config struct {
|
||||
// NoTaprootOverlay unsets the taproot overlay channel feature bits.
|
||||
NoTaprootOverlay bool
|
||||
|
||||
// NoExperimentalEndorsement unsets any bits that signal support for
|
||||
// forwarding experimental endorsement.
|
||||
NoExperimentalEndorsement bool
|
||||
// NoExperimentalAccountability unsets any bits that signal support for
|
||||
// forwarding experimental accountability.
|
||||
NoExperimentalAccountability bool
|
||||
|
||||
// NoRbfCoopClose unsets any bits that signal support for using RBF for
|
||||
// coop close.
|
||||
@@ -213,9 +213,9 @@ func newManager(cfg Config, desc setDesc) (*Manager, error) {
|
||||
raw.Unset(lnwire.SimpleTaprootOverlayChansOptional)
|
||||
raw.Unset(lnwire.SimpleTaprootOverlayChansRequired)
|
||||
}
|
||||
if cfg.NoExperimentalEndorsement {
|
||||
raw.Unset(lnwire.ExperimentalEndorsementOptional)
|
||||
raw.Unset(lnwire.ExperimentalEndorsementRequired)
|
||||
if cfg.NoExperimentalAccountability {
|
||||
raw.Unset(lnwire.ExperimentalAccountabilityOptional)
|
||||
raw.Unset(lnwire.ExperimentalAccountabilityRequired)
|
||||
}
|
||||
if cfg.NoRbfCoopClose {
|
||||
raw.Unset(lnwire.RbfCoopCloseOptionalStaging)
|
||||
|
||||
Reference in new issue
Block a user