go-ethereum/p2p/discover/v5wire
Justin Traglia 621b423ac1
p2p/discover: fix handling of distance 256 in lookupDistances (#26087)
Noticed that lookupDistances for FINDNODE requests didn't consider 256 a valid
distance. This is actually part of the example in the comment above the
function, surprised that wasn't tested before.
2022-11-02 14:50:07 +01:00
..
testdata p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
crypto.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
crypto_test.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
encoding.go p2p/discover: fix handling of distance 256 in lookupDistances (#26087) 2022-11-02 14:50:07 +01:00
encoding_test.go p2p/discover/v5wire: reject packets smaller than 63 bytes (#25740) 2022-09-12 15:02:03 +02:00
msg.go all: fix docstrings 2022-10-04 09:18:02 +02:00
session.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00