lnwire: add support for Features in NodeAnnouncement

Add support for Features in NodeAnnouncment according to spec.
This commit is contained in:
bryanvu
2017-03-20 02:24:55 -07:00
committed by Olaoluwa Osuntokun
parent 3087bec4db
commit 085b7333cb
10 changed files with 145 additions and 32 deletions

View File

@@ -75,4 +75,9 @@ var (
green: 255,
blue: 255,
}
someFeature = featureName("somefeature")
someFeatures = NewFeatureVector([]Feature{
{someFeature, OptionalFlag},
})
)