Revert "feature: make gossip queries compulsory"
This reverts commit 717facc202.
It turns out that we can't do this since it would result in
incompatibility with LDK. The spec has been updated to reallow
optional gossip queries so we revert this commit.
This commit is contained in:
1 parent
b1175514f9
commit
dad53b3f9a
4 files changed
+5
-13
No files matched your search
@@ -151,7 +151,7 @@ func TestUpdateFeatureSets(t *testing.T) {
|
||||
SetInit: {}, // I
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
lnwire.GossipQueriesRequired: {
|
||||
lnwire.GossipQueriesOptional: {
|
||||
SetNodeAnn: {}, // N
|
||||
},
|
||||
}
|
||||
@@ -201,7 +201,7 @@ func TestUpdateFeatureSets(t *testing.T) {
|
||||
),
|
||||
SetNodeAnn: lnwire.NewRawFeatureVector(
|
||||
lnwire.DataLossProtectRequired,
|
||||
lnwire.GossipQueriesRequired,
|
||||
lnwire.GossipQueriesOptional,
|
||||
lnwire.FeatureBit(1000),
|
||||
),
|
||||
},
|
||||
@@ -222,7 +222,7 @@ func TestUpdateFeatureSets(t *testing.T) {
|
||||
),
|
||||
SetNodeAnn: lnwire.NewRawFeatureVector(
|
||||
lnwire.DataLossProtectRequired,
|
||||
lnwire.GossipQueriesRequired,
|
||||
lnwire.GossipQueriesOptional,
|
||||
),
|
||||
},
|
||||
config: Config{
|
||||
@@ -242,7 +242,7 @@ func TestUpdateFeatureSets(t *testing.T) {
|
||||
),
|
||||
SetNodeAnn: lnwire.NewRawFeatureVector(
|
||||
lnwire.DataLossProtectRequired,
|
||||
lnwire.GossipQueriesRequired,
|
||||
lnwire.GossipQueriesOptional,
|
||||
lnwire.FeatureBit(500),
|
||||
),
|
||||
SetInvoice: lnwire.NewRawFeatureVector(
|
||||
|
||||
Reference in new issue
Block a user