Skip to content

Commit

Permalink
lnwire: signal that we support quiescence
Browse files Browse the repository at this point in the history
  • Loading branch information
ProofOfKeags committed Dec 12, 2023
1 parent 08d62ed commit 7a78e3d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lnwire/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,16 @@ const (
// sender-generated preimages according to BOLT XX.
AMPOptional FeatureBit = 31

// QuiescenceRequired is a required feature bit that denotes that a
// connection established with this node must support the quiescence
// protocol if it wants to have a channel relationship.
QuiescenceRequired FeatureBit = 34

// QuiescenceOptional is an optional feature bit that denotes that a
// connection established with this node is permitted to use the
// quiescence protocol.
QuiescenceOptional FeatureBit = 35

// ExplicitChannelTypeRequired is a required bit that denotes that a
// connection established with this node is to use explicit channel
// commitment types for negotiation instead of the existing implicit
Expand Down Expand Up @@ -301,6 +311,8 @@ var Features = map[FeatureBit]string{
WumboChannelsOptional: "wumbo-channels",
AMPRequired: "amp",
AMPOptional: "amp",
QuiescenceRequired: "quiescence",
QuiescenceOptional: "quiescence",
PaymentMetadataOptional: "payment-metadata",
PaymentMetadataRequired: "payment-metadata",
ExplicitChannelTypeOptional: "explicit-commitment-type",
Expand Down

0 comments on commit 7a78e3d

Please sign in to comment.