mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
92580d69d3
This commit affects p2p/discv5 "topic discovery" by running it on the same UDP port where the old discovery works. This is realized by giving an "unhandled" packet channel to the old v4 discovery packet handler where all invalid packets are sent. These packets are then processed by v5. v5 packets are always invalid when interpreted by v4 and vice versa. This is ensured by adding one to the first byte of the packet hash in v5 packets. DiscoveryV5Bootnodes is also changed to point to new bootnodes that are implementing the changed packet format with modified hash. Existing and new v5 bootnodes are both running on different ports ATM. |
||
---|---|---|
.. | ||
flowcontrol | ||
api_backend.go | ||
backend.go | ||
bloombits.go | ||
distributor_test.go | ||
distributor.go | ||
execqueue_test.go | ||
execqueue.go | ||
fetcher.go | ||
handler_test.go | ||
handler.go | ||
helper_test.go | ||
metrics.go | ||
odr_requests.go | ||
odr_test.go | ||
odr.go | ||
peer.go | ||
protocol.go | ||
randselect_test.go | ||
randselect.go | ||
request_test.go | ||
retrieve.go | ||
server.go | ||
serverpool.go | ||
sync.go | ||
txrelay.go |