quorum/node
Felföldi Zsolt 92580d69d3 p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200)
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.
2018-01-22 13:38:34 +01:00
..
api.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
config.go p2p/simulations: various stability fixes (#15198) 2017-12-01 12:49:04 +01:00
config_test.go cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
defaults.go p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) 2018-01-22 13:38:34 +01:00
doc.go node: fix doc typo 2017-08-06 00:32:17 +02:00
errors.go node: fix instance dir locking and improve error message 2017-08-18 12:14:00 +02:00
node.go p2p/simulations: various stability fixes (#15198) 2017-12-01 12:49:04 +01:00
node_example_test.go cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
node_test.go cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
service.go node: don't return non-nil database on error 2017-06-23 09:56:30 +02:00
service_test.go node: ensure datadir can be co-inhabited by different instances 2016-09-16 15:24:31 +02:00
utils_test.go node: fix megacheck warnings 2017-08-07 13:43:08 +03:00