features: add new feature bits to guard recent changes
This commit is contained in:
parent
feec611531
commit
bf7701cd62
@ -8,4 +8,9 @@ var globalFeatures = lnwire.NewFeatureVector([]lnwire.Feature{})
|
|||||||
|
|
||||||
// localFeatures is an feature vector which represent the features which
|
// localFeatures is an feature vector which represent the features which
|
||||||
// only affect the protocol between these two nodes.
|
// 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"
|
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
|
type PongPayload []byte
|
||||||
|
|
||||||
// Pong defines a message which is the direct response to a received Ping
|
// Pong defines a message which is the direct response to a received Ping
|
||||||
|
Loading…
Reference in New Issue
Block a user