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.
7 years ago
Bas van Kervel
ecec454e92
cmd/bootnode: stop after generating/writing nodekey
8 years ago
Felix Lange
d0eba23af3
all: disable log message colors outside of geth
...
Also tweak behaviour so colors are only enabled when stderr is a terminal.
8 years ago
Péter Szilágyi
1ca20a2697
cmd, whisper/mailserver: revert to utils.Fatalf
8 years ago
Péter Szilágyi
23a5d64fd0
accounts, cmd: port packages over to the new logging system
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Felix Lange
e5edd3b983
cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict
8 years ago
Zsolt Felfoldi
49da42983a
p2p/discv5: added new topic discovery package
8 years ago
Nick Johnson
91130ea3fc
cmd/bootnode: Add support for outputting a node's ID on the command line
8 years ago
Felix Lange
c88c89fd9e
cmd/bootnode: fix -genkey, add logging options
9 years ago
Felix Lange
6fdd0893c3
all: fix go vet warnings
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Péter Szilágyi
8646365b42
cmd/bootnode, eth, p2p, p2p/discover: use a fancier db design
10 years ago
Péter Szilágyi
6def110c37
cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth.
10 years ago
Péter Szilágyi
5f735d6fce
cmd, eth, p2p, p2p/discover: init and clean up the seed cache
10 years ago
Felix Lange
170eb3ac68
p2p/discover: map listening port using configured mechanism
10 years ago
Felix Lange
4242b05462
cmd/bootnode: new command (replaces cmd/peerserver)
10 years ago