lnd/lnwire
Olaoluwa Osuntokun 3481286ea0
lnwire+peer: clamp pong bytes, make ping handler more effcieint
This was not properly enforced and would be a spec violation on the
peer's end. Also re-use a pong buffer to save on heap allocations if
there are a lot of peers. The pong buffer is only read from, so this
is concurrent safe.
2022-01-13 15:01:18 -08:00
..
2021-10-15 17:08:53 +02:00
2021-08-10 05:36:09 +08:00
2021-10-15 17:08:55 +02:00
2021-01-22 09:14:11 +01: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