Commit graph

3 commits

Author SHA1 Message Date
Jaynti Kanani
1e56a697c0
use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
Jaynti Kanani
0f172fd0eb
change package name 2019-11-12 13:17:12 -05:00
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.
2018-10-12 11:47:24 +02:00