lnd/peer
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
..
brontide_test.go lnwire+peer: clamp pong bytes, make ping handler more effcieint 2022-01-13 15:01:18 -08:00
brontide.go lnwire+peer: clamp pong bytes, make ping handler more effcieint 2022-01-13 15:01:18 -08:00
interfaces.go htlcswitch+peer: CreateAndAddLink in switch, add messageSwitch to peer 2021-08-10 17:15:52 -04:00
log.go multi: remove peer.go, change all references to point to peer pkg 2020-07-06 19:16:07 -04:00
test_utils.go multi: enhance logging for debugging peer connection 2021-12-23 15:14:37 +08:00