go-ethereum/p2p/discover
Felix Lange 5b22a472d6
p2p/discover: add liveness check in collectTableNodes (#28686)
* p2p/discover: add liveness check in collectTableNodes

* p2p/discover: fix test

* p2p/discover: rename to appendLiveNodes

* p2p/discover: add dedup logic back

* p2p/discover: simplify

* p2p/discover: fix issue found by test
2023-12-18 10:47:21 +01:00
..
v4wire all: use rlp.DecodeBytes instead of rlp.Decode where possible (#27994) 2023-08-24 11:47:42 +03:00
v5wire p2p/discover: concurrent TALKREQ handling (#27112) 2023-04-28 11:03:43 +02:00
common.go p2p/discover: add Table configuration and Nodes method (#27387) 2023-05-31 13:37:10 +02:00
lookup.go p2p: use errors.Is for error comparison (#24882) 2022-06-07 17:27:21 +02:00
metrics.go p2p, p2p/discover: add dial metrics (#27621) 2023-07-06 16:20:31 +02:00
node.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
ntp.go p2p: use slices package for sorting (#27494) 2023-06-19 07:48:12 +02:00
table.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
table_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
table_util_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
v4_lookup_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
v4_udp.go p2p, p2p/discover: add dial metrics (#27621) 2023-07-06 16:20:31 +02:00
v4_udp_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
v5_talk.go p2p/discover: concurrent TALKREQ handling (#27112) 2023-04-28 11:03:43 +02:00
v5_udp.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
v5_udp_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00