Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Lange
6f607de5d5
p2p, p2p/discover: add signed ENR generation ( #17753 )
...
This PR adds enode.LocalNode and integrates it into the p2p
subsystem. This new object is the keeper of the local node
record. For now, a new version of the record is produced every
time the client restarts. We'll make it smarter to avoid that in
the future.
There are a couple of other changes in this commit: discovery now
waits for all of its goroutines at shutdown and the p2p server
now closes the node database after discovery has shut down. This
fixes a leveldb crash in tests. p2p server startup is faster
because it doesn't need to wait for the external IP query
anymore.
6 years ago
..
discover
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
discv5
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
enode
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
enr
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
nat
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
netutil
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
protocols
all: new p2p node representation ( #17643 )
6 years ago
simulations
p2p/simulations: fix a deadlock and clean up adapters ( #17891 )
6 years ago
testing
all: new p2p node representation ( #17643 )
6 years ago
dial.go
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
dial_test.go
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
message.go
all: new p2p node representation ( #17643 )
6 years ago
message_test.go
all: fix go vet warnings
9 years ago
metrics.go
swarm: network rewrite merge
6 years ago
peer.go
p2p: add enode URL to PeerInfo ( #17838 )
6 years ago
peer_error.go
p2p: fix some golint warnings ( #16577 )
7 years ago
peer_test.go
all: new p2p node representation ( #17643 )
6 years ago
protocol.go
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
rlpx.go
all: new p2p node representation ( #17643 )
6 years ago
rlpx_test.go
all: new p2p node representation ( #17643 )
6 years ago
server.go
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago
server_test.go
p2p, p2p/discover: add signed ENR generation ( #17753 )
6 years ago