mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
e910b12d33
github.com/lightningnetwork/lnd master ✗ 0m ◒ ▶ golint htlcswitch.go:292:4: should replace numUpdates += 1 with numUpdates++ htlcswitch.go:554:6: var onionId should be onionID htlcswitch.go:629:7: var onionId should be onionID lnd_test.go:133:1: context.Context should be the first parameter of a function lnd_test.go:177:1: context.Context should be the first parameter of a function networktest.go:84:2: struct field nodeId should be nodeID peer.go:1704:16: should omit 2nd value from range; this loop is equivalent to `for invoice := range ...` rpcserver.go:57:6: func newRpcServer should be newRPCServer github.com/lightningnetwork/lnd master ✗ 9m ⚑ ◒ ⍉ ▶ go vet features.go:12: github.com/lightningnetwork/lnd/lnwire.Feature composite literal uses unkeyed fields fundingmanager.go:380: no formatting directive in Errorf call exit status 1
14 lines
478 B
Go
14 lines
478 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},
|
|
})
|