mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
lnwire: signal that we support quiescence
This commit is contained in:
@@ -171,6 +171,16 @@ const (
|
|||||||
// sender-generated preimages according to BOLT XX.
|
// sender-generated preimages according to BOLT XX.
|
||||||
AMPOptional FeatureBit = 31
|
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
|
// ExplicitChannelTypeRequired is a required bit that denotes that a
|
||||||
// connection established with this node is to use explicit channel
|
// connection established with this node is to use explicit channel
|
||||||
// commitment types for negotiation instead of the existing implicit
|
// commitment types for negotiation instead of the existing implicit
|
||||||
@@ -335,6 +345,8 @@ var Features = map[FeatureBit]string{
|
|||||||
WumboChannelsOptional: "wumbo-channels",
|
WumboChannelsOptional: "wumbo-channels",
|
||||||
AMPRequired: "amp",
|
AMPRequired: "amp",
|
||||||
AMPOptional: "amp",
|
AMPOptional: "amp",
|
||||||
|
QuiescenceRequired: "quiescence",
|
||||||
|
QuiescenceOptional: "quiescence",
|
||||||
PaymentMetadataOptional: "payment-metadata",
|
PaymentMetadataOptional: "payment-metadata",
|
||||||
PaymentMetadataRequired: "payment-metadata",
|
PaymentMetadataRequired: "payment-metadata",
|
||||||
ExplicitChannelTypeOptional: "explicit-commitment-type",
|
ExplicitChannelTypeOptional: "explicit-commitment-type",
|
||||||
|
Reference in New Issue
Block a user