1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/p2p/discover/v5wire
thinkAfCod d2176f463b
p2p/discover: pass node instead of node ID to TALKREQ handler (#31075)
This is for the implementation of Portal Network in the Shisui client.
Their handler needs access to the node object in order to send further
calls to the requesting node. This is a breaking API change but it
should be fine, since there are basically no known users of TALKREQ
outside of Portal network.

---------

Signed-off-by: thinkAfCod <q315xia@163.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-04-02 14:56:21 +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: pass node instead of node ID to TALKREQ handler (#31075) 2025-04-02 14:56:21 +02:00
encoding_test.go p2p/discover: pass node instead of node ID to TALKREQ handler (#31075) 2025-04-02 14:56:21 +02:00
msg.go p2p/discover: repeat exact encoding when resending WHOAREYOU packet (#31543) 2025-04-02 13:47:44 +02:00
session.go p2p/discover: pass node instead of node ID to TALKREQ handler (#31075) 2025-04-02 14:56:21 +02:00