features: add new feature bits to guard recent changes

This commit is contained in:
Olaoluwa Osuntokun committed 2017-04-16 18:19:09 -07:00
1 parent feec611531
commit bf7701cd62
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -8,4 +8,9 @@ var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
// localFeatures is an feature vector which represent the features which
// only affect the protocol between these two nodes.
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
{
Name: "new-ping-and-funding",
Flag: lnwire.RequiredFlag,
},
})
+1 -1
View File
@@ -2,7 +2,7 @@ package lnwire
import "io"
// PingPayload is a set of opaque bytes sent in response to a ping message.
// PongPayload is a set of opaque bytes sent in response to a ping message.
type PongPayload []byte
// Pong defines a message which is the direct response to a received Ping