features: add new feature bits to guard recent changes

This commit is contained in:
Olaoluwa Osuntokun 2017-04-16 18:19:03 -07:00
parent feec611531
commit bf7701cd62
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
2 changed files with 7 additions and 2 deletions

@ -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,
},
})

@ -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