2017-02-16 13:34:49 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import "github.com/lightningnetwork/lnd/lnwire"
|
|
|
|
|
2017-02-17 15:28:11 +01:00
|
|
|
// globalFeatures feature vector which affects HTLCs and thus are also
|
|
|
|
// advertised to other nodes.
|
|
|
|
var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
|
2017-02-16 13:34:49 +01:00
|
|
|
|
2017-02-17 15:28:11 +01:00
|
|
|
// localFeatures is an feature vector which represent the features which
|
|
|
|
// only affect the protocol between these two nodes.
|
2017-02-21 10:49:51 +01:00
|
|
|
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
|
2017-02-22 23:49:04 +01:00
|
|
|
{Name: "lcp-stop-and-wait", Flag: lnwire.RequiredFlag},
|
2017-02-23 00:54:20 +01:00
|
|
|
{Name: "48-bit-state-hint", Flag: lnwire.RequiredFlag},
|
2017-02-22 12:27:20 +01:00
|
|
|
{Name: "shachain", Flag: lnwire.RequiredFlag},
|
2017-02-21 10:49:51 +01:00
|
|
|
})
|