Felix Lange
|
cf754b9483
|
p2p/discover: fix race in ListenUDP
udp.Table was assigned after the readLoop started, so
packets could arrive and be processed before the Table was there.
|
2015-02-13 15:06:47 +01:00 |
Felix Lange
|
170eb3ac68
|
p2p/discover: map listening port using configured mechanism
|
2015-02-13 11:39:32 +01:00 |
Felix Lange
|
82f0bd9009
|
p2p/discover: code review fixes
|
2015-02-13 11:39:31 +01:00 |
Felix Lange
|
9915d3c3be
|
p2p/discover: deflake UDP tests
|
2015-02-09 11:02:32 +01:00 |
Felix Lange
|
8564eb9f7e
|
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.
|
2015-02-07 00:12:23 +01:00 |
Felix Lange
|
739066ec56
|
p2p/discover: add some helper functions
|
2015-02-06 00:00:36 +01:00 |
Felix Lange
|
12224c7f59
|
p2p/discover: new package implementing the Node Discovery Protocol
|
2015-02-06 00:00:36 +01:00 |