In this commit, we fix a minor deviation in our implementation from the specification. Before if we encountered an unknown error type, we would disconnect the peer. Instead, we’ll now just continue along parsing the remainder of the messages. This was flared up recently by some c-lightning related incompatibilities that emerged on main net.
lnwire
The lnwire package implements the Lightning Network wire protocol.
This package has intentionally been designed so it can be used as a standalone package for any projects needing to interface with lightning peers at the wire protocol level.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/lnwire