features: add new feature bits to guard recent changes
This commit is contained in:
2 files changed
+7
-2
No files matched your search
+6
-1
@@ -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,
|
||||||
|
},
|
||||||
|
})
|
||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user