mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
lnwire: add feature bits for simple taproot chans
This commit is contained in:
@@ -231,6 +231,14 @@ const (
|
||||
// TODO: Decide on actual feature bit value.
|
||||
ScriptEnforcedLeaseOptional FeatureBit = 2023
|
||||
|
||||
// SimpleTaprootChannelsRequred is a required bit that indicates the
|
||||
// node is able to create taproot-native channels.
|
||||
SimpleTaprootChannelsRequired = 80
|
||||
|
||||
// SimpleTaprootChannelsOptional is an optional bit that indicates the
|
||||
// node is able to create taproot-native channels.
|
||||
SimpleTaprootChannelsOptional = 81
|
||||
|
||||
// MaxBolt11Feature is the maximum feature bit value allowed in bolt 11
|
||||
// invoices.
|
||||
//
|
||||
@@ -291,6 +299,8 @@ var Features = map[FeatureBit]string{
|
||||
ZeroConfOptional: "zero-conf",
|
||||
ShutdownAnySegwitRequired: "shutdown-any-segwit",
|
||||
ShutdownAnySegwitOptional: "shutdown-any-segwit",
|
||||
SimpleTaprootChannelsRequired: "simple-taproot-chans",
|
||||
SimpleTaprootChannelsOptional: "simple-taproot-chans",
|
||||
}
|
||||
|
||||
// RawFeatureVector represents a set of feature bits as defined in BOLT-09. A
|
||||
|
Reference in New Issue
Block a user