Files
lnd.xprv/features.go
T

16 lines
489 B
Go
Raw Normal View History

2017-02-16 15:34:49 +03:00
package main
import "github.com/lightningnetwork/lnd/lnwire"
// 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
// localFeatures is an feature vector which represent the features which
// only affect the protocol between these two nodes.
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
{
Name: "new-ping-and-funding",
Flag: lnwire.RequiredFlag,
},
})