33 Commits

Author SHA1 Message Date
Jeromy
1f31afdb46 refactor to allow use of mes_listener outside of dht 2014-08-23 22:25:50 -07:00
Jeromy
2f6d94a86b fix swarm message type code, i beleive it works well now 2014-08-20 18:42:40 -07:00
Jeromy
d574d518b1 add in message type routing to the swarm object. tired, needs cleanup. 2014-08-20 18:42:31 -07:00
Jeromy
334ea87302 fix a few race conditions and add in newlines to print statements 2014-08-20 18:42:26 -07:00
Chas Leichner
027449129f Made the DHT module pass golint 2014-08-20 18:36:21 -07:00
Jeromy
1a5cb96144 add files i forgot to last night 2014-08-16 08:20:29 -07:00
Jeromy
58b41361b5 rewrite message response listening framework 2014-08-15 22:37:53 -07:00
Jeromy
986088887d get implementation according to kademlia spec. 2014-08-15 09:39:38 -07:00
Jeromy
3454da1ab3 fix a few infinitely looping RPCs 2014-08-14 08:32:17 -07:00
Jeromy
99e304bcf9 not quite working yet, but closer 2014-08-12 22:10:44 -07:00
Jeromy
0a5e54210d modify use of swarm to not make duplicate connections 2014-08-12 15:37:26 -07:00
Jeromy
891400d240 more tests and add in table filtering by peer latency 2014-08-11 20:11:23 -07:00
Jeromy
e6ab2e2095 more work implementing coral type lookups 2014-08-10 21:02:05 -07:00
Jeromy
87ece46e35 tiered put/get implemented 2014-08-09 22:28:46 -07:00
Jeromy
c6c1b7af01 moved routing table code into its own package 2014-08-08 19:58:42 -07:00
Jeromy
ae556952dc address issues from code review (issue #25) 2014-08-08 18:09:21 -07:00
Jeromy
7399682a29 implement timeouts on listeners for the dht and add diagnostic stuff 2014-08-07 18:06:50 -07:00
Jeromy
ee923993e3 fixed small bug introduced during race condition frustration 2014-08-07 14:16:24 -07:00
Jeromy
b17baaab00 fixing some race conditions 2014-08-07 06:21:57 -07:00
Jeromy
e3c8afa072 worked on gathering data for diagnostic messages and some other misc cleanup 2014-08-07 06:21:50 -07:00
Jeromy
8de2ce6b7c fix bug in routing table lookups 2014-08-07 06:21:44 -07:00
Jeromy
fcede3c85d implement find peer rpc 2014-08-07 06:21:38 -07:00
Jeromy
18b9efc959 providers interface is coming along nicely 2014-08-07 06:21:12 -07:00
Jeromy
1082edeb13 a little error handling and some work on providers 2014-08-07 06:21:12 -07:00
Jeromy
3f61f676e3 working towards Providers implementation 2014-08-07 06:21:12 -07:00
Jeromy
748d08d0a8 finish implementation of Put and Get for DHT 2014-08-07 06:21:12 -07:00
Jeromy
282cb7b23e rough kbucket implementation, tests and cleanup to follow 2014-08-07 06:21:12 -07:00
Jeromy Johnson
723a1245a8 a little more work on message handling stuff 2014-08-07 06:18:20 -07:00
Jeromy
c0aae6581f work on framework for dht message handling 2014-08-07 06:18:20 -07:00
Juan Batiz-Benet
23c26272a2 whole project go fmt 2014-08-07 06:18:20 -07:00
Jeromy Johnson
c653a70bb5 update messages and add some new code around handling/creating messages 2014-08-07 06:18:20 -07:00
Jeromy
fb086a9ebe working on upper level dht implementations, protbuf, etc 2014-08-07 06:18:19 -07:00
Juan Batiz-Benet
71d5f6fc8d dht interface beginnings 2014-08-07 06:18:19 -07:00