mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
16 lines
583 B
Go
16 lines
583 B
Go
package main
|
|
|
|
import "github.com/lightningnetwork/lnd/lnwire"
|
|
|
|
// globalFeatures feature vector which affects HTLCs and thus are also
|
|
// advertised to other nodes.
|
|
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{
|
|
{Name: "lcp-stop-and-wait", Flag: lnwire.RequiredFlag},
|
|
{Name: "48-bit-state-hint", Flag: lnwire.RequiredFlag},
|
|
{Name: "shachain", Flag: lnwire.RequiredFlag},
|
|
})
|