mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
watchtower/wtwire/features: remove local/global feature names...
in favor of a universal FeatureNames index.
This commit is contained in:
@@ -2,13 +2,9 @@ package wtwire
|
||||
|
||||
import "github.com/lightningnetwork/lnd/lnwire"
|
||||
|
||||
// GlobalFeatures holds the globally advertised feature bits understood by
|
||||
// watchtower implementations.
|
||||
var GlobalFeatures map[lnwire.FeatureBit]string
|
||||
|
||||
// LocalFeatures holds the locally advertised feature bits understood by
|
||||
// watchtower implementations.
|
||||
var LocalFeatures = map[lnwire.FeatureBit]string{
|
||||
// FeatureNames holds a mapping from each feature bit understood by this
|
||||
// implementation to its common name.
|
||||
var FeatureNames = map[lnwire.FeatureBit]string{
|
||||
WtSessionsRequired: "wt-sessions",
|
||||
WtSessionsOptional: "wt-sessions",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user