2017-02-16 15:34:49 +03:00
|
|
|
package main
|
|
|
|
|
|
|
|
import "github.com/lightningnetwork/lnd/lnwire"
|
|
|
|
|
2017-02-17 17:28:11 +03:00
|
|
|
// globalFeatures feature vector which affects HTLCs and thus are also
|
|
|
|
// advertised to other nodes.
|
|
|
|
var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
|
2017-02-16 15:34:49 +03:00
|
|
|
|
2017-02-17 17:28:11 +03:00
|
|
|
// localFeatures is an feature vector which represent the features which
|
|
|
|
// only affect the protocol between these two nodes.
|
2017-08-22 10:32:17 +03:00
|
|
|
//
|
|
|
|
// TODO(roasbeef): update to only have one, add a dummy vector?
|
2017-04-17 04:19:03 +03:00
|
|
|
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
|
|
|
|
{
|
2017-08-22 10:32:17 +03:00
|
|
|
Name: "filler",
|
|
|
|
Flag: lnwire.OptionalFlag,
|
2017-04-17 04:19:03 +03:00
|
|
|
},
|
2017-05-13 00:30:10 +03:00
|
|
|
{
|
2017-08-22 10:32:17 +03:00
|
|
|
Name: "announce-graph",
|
|
|
|
Flag: lnwire.OptionalFlag,
|
2017-07-31 06:27:50 +03:00
|
|
|
},
|
2017-04-17 04:19:03 +03:00
|
|
|
})
|