mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 22:11:41 +01:00
lnwire: add feature bits for simple taproot chans
This commit is contained in:
parent
e49f6fcdd3
commit
eccc77315b
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue