mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-18 17:01:07 +02:00
Removes the MaxPayloadLength function from the Message interface and checks that each message payload is not greater than MaxMsgBody. Since all messages are now allowed to be 65535 bytes in size, the MaxPayloadLength is no longer needed.
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