- 10 6月, 2015 1 次提交
-
-
由 Felix Lange 提交于
rand.Source isn't safe for concurrent use.
-
- 06 5月, 2015 1 次提交
-
-
由 Felix Lange 提交于
The previous metric was pubkey1^pubkey2, as specified in the Kademlia paper. We missed that EC public keys are not uniformly distributed. Using the hash of the public keys addresses that. It also makes it a bit harder to generate node IDs that are close to a particular node.
-
- 30 4月, 2015 2 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
This commit changes the discovery protocol to use the new "v4" endpoint format, which allows for separate UDP and TCP ports and makes it possible to discover the UDP address after NAT.
-
- 04 3月, 2015 1 次提交
-
-
由 Felix Lange 提交于
-
- 07 2月, 2015 1 次提交
-
-
由 Felix Lange 提交于
The discovery RPC protocol does not yet distinguish TCP and UDP ports. But it can't hurt to do so in our internal model.
-