Skip to content

Commit a9761f7

Browse files
committed
lnwire: add new taproot chans overlay feature bit
1 parent a3a50c3 commit a9761f7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lnwire/features.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ const (
265265
// finalized.
266266
SimpleTaprootChannelsOptionalStaging = 181
267267

268+
// SimpleTaprootOverlayChansRequired is a required bit that indicates
269+
// support for the special custom taproot overlay channel.
270+
SimpleTaprootOverlayChansOptional = 2025
271+
272+
// SimpleTaprootOverlayChansRequired is a required bit that indicates
273+
// support for the special custom taproot overlay channel.
274+
SimpleTaprootOverlayChansRequired = 2026
275+
268276
// MaxBolt11Feature is the maximum feature bit value allowed in bolt 11
269277
// invoices.
270278
//
@@ -331,6 +339,8 @@ var Features = map[FeatureBit]string{
331339
SimpleTaprootChannelsOptionalFinal: "simple-taproot-chans",
332340
SimpleTaprootChannelsRequiredStaging: "simple-taproot-chans-x",
333341
SimpleTaprootChannelsOptionalStaging: "simple-taproot-chans-x",
342+
SimpleTaprootOverlayChansOptional: "taproot-overlay-chans",
343+
SimpleTaprootOverlayChansRequired: "taproot-overlay-chans",
334344
}
335345

336346
// RawFeatureVector represents a set of feature bits as defined in BOLT-09. A

0 commit comments

Comments
 (0)