p2p/discover: add node URL functions, distinguish TCP/UDP ports
The discovery RPC protocol does not yet distinguish TCP and UDP ports. But it can't hurt to do so in our internal model.
Showing
p2p/discover/node.go
0 → 100644
p2p/discover/node_test.go
0 → 100644
Please register or sign in to comment