lnd: reset features as we no longer need to partition dated lnd nodes
This commit is contained in:
parent
1c22242a41
commit
65526ba071
34
features.go
34
features.go
@ -8,37 +8,15 @@ var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
|
|||||||
|
|
||||||
// localFeatures is an feature vector which represent the features which
|
// localFeatures is an feature vector which represent the features which
|
||||||
// only affect the protocol between these two nodes.
|
// only affect the protocol between these two nodes.
|
||||||
|
//
|
||||||
|
// TODO(roasbeef): update to only have one, add a dummy vector?
|
||||||
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
|
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
|
||||||
{
|
{
|
||||||
Name: "new-ping-and-funding",
|
Name: "filler",
|
||||||
Flag: lnwire.RequiredFlag,
|
Flag: lnwire.OptionalFlag,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "node-ann-feature-addr-swap",
|
Name: "announce-graph",
|
||||||
Flag: lnwire.RequiredFlag,
|
Flag: lnwire.OptionalFlag,
|
||||||
},
|
|
||||||
{
|
|
||||||
Name: "dynamic-fees",
|
|
||||||
Flag: lnwire.RequiredFlag,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Name: "shutdown-close-flow",
|
|
||||||
Flag: lnwire.RequiredFlag,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Name: "sphinx-payload",
|
|
||||||
Flag: lnwire.RequiredFlag,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Name: "htlc-dust-accounting",
|
|
||||||
Flag: lnwire.RequiredFlag,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Name: "encrypted-errors",
|
|
||||||
Flag: lnwire.RequiredFlag,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Name: "new-funding-and-commitment",
|
|
||||||
Flag: lnwire.RequiredFlag,
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user