Files
breez-lnd/lnwire
Olaoluwa Osuntokun 1c8c1cba96 lnwire: only check payload for proper size if encoding type is sorted plain
In this commit, we fix a slight bug in the parsing of encoded short
channel ID's. Before this commit, we would always assume that the remote
peer was sending us the sorted+encoded variant of the short channel
ID's. In the case that they weren't (as there isn't yet a feature bit),
we would assert this check and fail early as atm we don't support any
sort of compression.
2018-06-04 16:31:22 -07:00
..
2018-04-17 19:02:04 -07:00
2018-04-17 19:03:27 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:03:27 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:03:27 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00

lnwire

Build Status MIT licensed GoDoc

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