From 65526ba07139c708f411c8a6f4b1df71d822374b Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 22 Aug 2017 00:32:17 -0700 Subject: [PATCH] lnd: reset features as we no longer need to partition dated lnd nodes --- features.go | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/features.go b/features.go index 52df5b8f..4233538f 100644 --- a/features.go +++ b/features.go @@ -8,37 +8,15 @@ var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{}) // localFeatures is an feature vector which represent the features which // 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{ { - Name: "new-ping-and-funding", - Flag: lnwire.RequiredFlag, + Name: "filler", + Flag: lnwire.OptionalFlag, }, { - Name: "node-ann-feature-addr-swap", - Flag: lnwire.RequiredFlag, - }, - { - 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, + Name: "announce-graph", + Flag: lnwire.OptionalFlag, }, })