p2p/discover: add initial discovery v5 implementation (#20750)
This adds an implementation of the current discovery v5 spec. There is full integration with cmd/devp2p and enode.Iterator in this version. In theory we could enable the new protocol as a replacement of discovery v4 at any time. In practice, there will likely be a few more changes to the spec and implementation before this can happen.
Showing
cmd/devp2p/discv5cmd.go
0 → 100644
p2p/discover/v5_encoding.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
p2p/discover/v5_session.go
0 → 100644
p2p/discover/v5_udp.go
0 → 100644
This diff is collapsed.
p2p/discover/v5_udp_test.go
0 → 100644
This diff is collapsed.
Please register or sign in to comment