lnwire+features: transition to the user friendly list of features
This commit is contained in:
1 parent
4d7ca825d4
commit
ae15a193e2
7 files changed
+125
-103
No files matched your search
+6
-8
@@ -2,12 +2,10 @@ package main
|
||||
|
||||
import "github.com/lightningnetwork/lnd/lnwire"
|
||||
|
||||
// globalFeaturesMap is a map which binds the name of the global feature with it
|
||||
// index. The index is just an order of the feature and the final binary
|
||||
// representation of feature vector is determined by decode function.
|
||||
var globalFeaturesMap = lnwire.FeaturesMap{}
|
||||
// globalFeatures feature vector which affects HTLCs and thus are also
|
||||
// advertised to other nodes.
|
||||
var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
|
||||
|
||||
// localFeaturesMap is a map which binds the name of the local feature with it
|
||||
// index. The index is just an order of the feature and the final binary
|
||||
// representation of feature vector is determined by decode function.
|
||||
var localFeaturesMap = lnwire.FeaturesMap{}
|
||||
// localFeatures is an feature vector which represent the features which
|
||||
// only affect the protocol between these two nodes.
|
||||
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
|
||||
Reference in new issue
Block a user