• Felföldi Zsolt's avatar
    p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) · 92580d69
    Felföldi Zsolt authored
    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.
    92580d69
Name
Last commit
Last update
..
abigen Loading commit data...
bootnode Loading commit data...
ethkey Loading commit data...
evm Loading commit data...
faucet Loading commit data...
geth Loading commit data...
internal/browser Loading commit data...
p2psim Loading commit data...
puppeth Loading commit data...
rlpdump Loading commit data...
swarm Loading commit data...
utils Loading commit data...
wnode Loading commit data...