lnwire/features: add required gq to local features

This commit adds the required feature name to our
set of local known features. This will allow other
peers connecting to us to set the required gossip
queries feature bit. This is required for the
subsequent commits, which instruct the server to
set the bit depending on user configured preferences.
This commit is contained in:
Conner Fromknecht 2018-09-03 23:07:42 -07:00 committed by Olaoluwa Osuntokun
parent aec1e84e3e
commit 055dc233a1

@ -67,10 +67,11 @@ const (
// not advertised to the entire network. A full description of these feature
// bits is provided in the BOLT-09 specification.
var LocalFeatures = map[FeatureBit]string{
DataLossProtectRequired: "data-loss-protect-required",
DataLossProtectOptional: "data-loss-protect-optional",
InitialRoutingSync: "initial-routing-sync",
GossipQueriesOptional: "gossip-queries-optional",
GossipQueriesRequired: "gossip-queries-required",
GossipQueriesOptional: "gossip-queries-optional",
}
// GlobalFeatures is a mapping of known global feature bits to a descriptive