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-04-17 03:19:03 +02:00
|
|
|
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
|
|
|
|
{
|
|
|
|
Name: "new-ping-and-funding",
|
|
|
|
Flag: lnwire.RequiredFlag,
|
|
|
|
},
|
2017-05-12 23:30:10 +02:00
|
|
|
{
|
|
|
|
Name: "node-ann-feature-addr-swap",
|
|
|
|
Flag: lnwire.RequiredFlag,
|
|
|
|
},
|
2017-05-17 04:15:42 +02:00
|
|
|
{
|
|
|
|
Name: "dynamic-fees",
|
|
|
|
Flag: lnwire.RequiredFlag,
|
|
|
|
},
|
2017-05-24 00:28:05 +02:00
|
|
|
{
|
|
|
|
Name: "shutdown-close-flow",
|
|
|
|
Flag: lnwire.RequiredFlag,
|
|
|
|
},
|
2017-06-17 01:03:57 +02:00
|
|
|
{
|
|
|
|
Name: "sphinx-payload",
|
|
|
|
Flag: lnwire.RequiredFlag,
|
|
|
|
},
|
2017-07-07 03:30:06 +02:00
|
|
|
{
|
|
|
|
Name: "htlc-dust-accounting",
|
|
|
|
Flag: lnwire.RequiredFlag,
|
|
|
|
},
|
2017-04-17 03:19:03 +02:00
|
|
|
})
|