go-ethereum/p2p/discover/v5wire
thinkAfCod 3e4fbce034
p2p/discover: repeat exact encoding when resending WHOAREYOU packet (#31543)
When resending the WHOAREYOU packet, a new nonce and random IV should not
be generated. The sent packet needs to match the previously-sent one exactly
in order to make the handshake retry work.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2025-04-02 13:47:44 +02:00
..
testdata p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
crypto.go all: use min/max/clear from go1.21 (#29307) 2024-03-21 13:50:13 +01:00
crypto_test.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
encoding.go p2p/discover: repeat exact encoding when resending WHOAREYOU packet (#31543) 2025-04-02 13:47:44 +02:00
encoding_test.go all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
msg.go p2p/discover: repeat exact encoding when resending WHOAREYOU packet (#31543) 2025-04-02 13:47:44 +02:00
session.go common/lru: add generic LRU implementation (#26162) 2022-11-14 15:41:56 +01:00