mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
This PR improves the speed of Disc/v4 and Disc/v5 based discovery by adding a prefetch buffer to discovery sources, eliminating slowdowns due to timeouts and rate mismatch between the two processes. Since we now want to filter the discv4 nodes iterator, it is being removed from the default discovery mix in p2p.Server. To keep backwards-compatibility, the default unfiltered discovery iterator will be utilized by the server when no protocol-specific discovery is configured. --------- Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com> Co-authored-by: Felix Lange <fjl@twurst.com> |
||
|---|---|---|
| .. | ||
| idscheme.go | ||
| idscheme_test.go | ||
| iter.go | ||
| iter_test.go | ||
| localnode.go | ||
| localnode_test.go | ||
| node.go | ||
| node_test.go | ||
| nodedb.go | ||
| nodedb_test.go | ||
| urlv4.go | ||
| urlv4_test.go | ||