Commit Graph

15 Commits

Author SHA1 Message Date
Mantas Vidutis 05673e8ffd named imports 2018-12-27 12:38:22 +02:00
Mantas Vidutis e0e0420595 first pass notes 2018-12-27 12:38:22 +02:00
Mantas Vidutis 07bb32646d update to documentation relating to sockets 2018-12-27 12:38:22 +02:00
mhchia a08e63116b Change the key in DHTRequest's type to bytes
- Modify the tests
- Change the signature of the related functions in p2pclient/dht.go to
avoid reflection error
- Add a `randBytes` util function
2018-12-09 01:44:51 +08:00
mhchia 6ba131eb76 Change `requestContext` to `d.requestContext`
And remove unused `time`
2018-11-27 15:30:51 +08:00
vyzo 697bd85bc7 implement timeouts in connect/open-stream 2018-11-23 09:48:36 +02:00
vyzo ab0701811b implement dht Provide 2018-10-04 10:57:05 +03:00
vyzo 533a8e781d implement dht GetValue SearchValue PutValue 2018-10-04 10:57:05 +03:00
vyzo f5e74ac8ab implement dht GetPublicKey 2018-10-04 10:57:05 +03:00
vyzo 900aa286ed implement dht GetClosestPeers 2018-10-04 10:57:05 +03:00
vyzo cd177ac086 implement dht FindProviders 2018-10-04 10:57:05 +03:00
vyzo 46473414a9 implement dht FindPeersClosestToPeer 2018-10-04 10:57:05 +03:00
vyzo 30110e2cdb implement dht FindPeer 2018-10-04 10:57:05 +03:00
vyzo 14296fa634 refactor errorResponseString 2018-10-04 10:57:05 +03:00
vyzo b1258bc0ce DHT request handling scaffolding 2018-10-04 10:57:05 +03:00