Commit Graph

358 Commits

Author SHA1 Message Date
Jeromy
45fc43c9cf add pub/priv key code to identify, not complete yet 2014-09-01 16:09:03 -07:00
Jeromy
fcff5a5c96 rework bitswap to reflect discussion on PR #32 2014-08-28 16:48:00 -07:00
Jeromy
af2f04ae89 fixing up some bitswap stuff after the PR 2014-08-28 12:01:03 -07:00
Jeromy
cfdf01d58a bitswap first working commit! 2014-08-26 14:24:51 -07:00
Jeromy
678db4fa40 more work on bitswap and other code cleanup 2014-08-25 09:44:42 -07:00
Jeromy
91e4675cbf basic implementation of bitswap, needs testing/verification that it works 2014-08-24 18:13:05 -07:00
Jeromy
c5e7273cab refactor to allow use of mes_listener outside of dht 2014-08-23 22:25:50 -07:00
Jeromy
05b80afc35 fix swarm message type code, i beleive it works well now 2014-08-20 18:42:40 -07:00
Jeromy
afdac2ca3a add in message type routing to the swarm object. tired, needs cleanup. 2014-08-20 18:42:31 -07:00
Jeromy
060930c486 removed failure call i forgot to remove 2014-08-20 18:42:26 -07:00
Jeromy
c9c9420912 add some more tests in 2014-08-20 18:42:26 -07:00
Jeromy
35ed8c460c change providers map and lock over to an agent based approach for managing providers 2014-08-20 18:42:26 -07:00
Jeromy
3c1580e1d1 fix a few race conditions and add in newlines to print statements 2014-08-20 18:42:26 -07:00
Chas Leichner
a6851fa55b Made routing code pass golint. 2014-08-20 18:36:32 -07:00
Chas Leichner
87bfdbc599 Made the DHT module pass golint 2014-08-20 18:36:21 -07:00
Chas Leichner
2c74093bc7 Made the DHT module pass golint 2014-08-20 18:36:13 -07:00
Juan Batiz-Benet
0fdc571554 POut should not have a newline 2014-08-20 18:29:31 -07:00
Jeromy
2f3121024a add files i forgot to last night 2014-08-16 08:20:29 -07:00
Jeromy
8a1fdbb83d rewrite message response listening framework 2014-08-15 22:37:53 -07:00
Jeromy
b7a882be89 get implementation according to kademlia spec. 2014-08-15 09:39:38 -07:00
Jeromy
60d061cb49 fix a few infinitely looping RPCs 2014-08-14 08:32:17 -07:00
Jeromy
8542380e8d not quite working yet, but closer 2014-08-12 22:10:44 -07:00
Jeromy
b8a6fbbf7d modify use of swarm to not make duplicate connections 2014-08-12 15:37:26 -07:00
Jeromy
f09dba772c more tests and add in table filtering by peer latency 2014-08-11 20:11:23 -07:00
Jeromy
4cb2e1e07b add fauxNet to stand in for Swarm in tests to reproduce various network conditions 2014-08-11 09:06:20 -07:00
Jeromy
0a41abdd1d starting a new testing framework 2014-08-10 21:40:17 -07:00
Jeromy
a43886245e more work implementing coral type lookups 2014-08-10 21:02:05 -07:00
Jeromy
67ddab1e4e tiered put/get implemented 2014-08-09 22:28:46 -07:00
Jeromy
9f7604378c moved routing table code into its own package 2014-08-08 19:58:42 -07:00
Jeromy
1eaeb3ba29 make tests pass a little more reliably by changing a port to not overlap 2014-08-08 19:49:27 -07:00
Jeromy
ae6285e5a3 address issues from code review (issue #25) 2014-08-08 18:09:21 -07:00
Jeromy
e14fb5658e add a unit test for provides functionality 2014-08-07 21:52:11 -07:00
Jeromy
24bfbfe372 implement timeouts on listeners for the dht and add diagnostic stuff 2014-08-07 18:06:50 -07:00
Jeromy
01ca93b4f5 fixed small bug introduced during race condition frustration 2014-08-07 14:16:24 -07:00
Jeromy
c22b6aa316 fixing some race conditions 2014-08-07 06:21:57 -07:00
Jeromy
41c124a282 worked on gathering data for diagnostic messages and some other misc cleanup 2014-08-07 06:21:50 -07:00
Jeromy
bd9fc2b782 fix bug in routing table lookups 2014-08-07 06:21:44 -07:00
Jeromy
dc451fba2d implement find peer rpc 2014-08-07 06:21:38 -07:00
Jeromy
71c7c5844a providers interface is coming along nicely 2014-08-07 06:21:12 -07:00
Jeromy
3a76ef0478 a little error handling and some work on providers 2014-08-07 06:21:12 -07:00
Jeromy
248e06f759 working towards Providers implementation 2014-08-07 06:21:12 -07:00
Jeromy
a85ce3fad3 finish implementation of Put and Get for DHT 2014-08-07 06:21:12 -07:00
Jeromy
bade1aa277 tests for kbucket and some code cleanup 2014-08-07 06:21:12 -07:00
Jeromy
35a4086e06 rough kbucket implementation, tests and cleanup to follow 2014-08-07 06:21:12 -07:00
Jeromy Johnson
92fb51d9a2 finish basic communcations between nodes and add a test of the ping operation 2014-08-07 06:21:11 -07:00
Jeromy
8d98d4b48d making connections between nodes get closer to working 2014-08-07 06:21:11 -07:00
Jeromy Johnson
61f13ea7f7 begin planning of identification process 2014-08-07 06:21:11 -07:00
Jeromy
2a1ee3ae3a use datastore for local data 2014-08-07 06:18:20 -07:00
Jeromy Johnson
87739b3af5 a little more work on message handling stuff 2014-08-07 06:18:20 -07:00
Jeromy
3444d41dce work on framework for dht message handling 2014-08-07 06:18:20 -07:00
Juan Batiz-Benet
74d26449c9 whole project go fmt 2014-08-07 06:18:20 -07:00
Juan Batiz-Benet
550971fba6 equalize sizes 2014-08-07 06:18:20 -07:00
Jeromy Johnson
171f96b794 update messages and add some new code around handling/creating messages 2014-08-07 06:18:20 -07:00
Jeromy
8bc80124a4 working on upper level dht implementations, protbuf, etc 2014-08-07 06:18:19 -07:00
Juan Batiz-Benet
bc2618df3f dht interface beginnings 2014-08-07 06:18:19 -07:00
Juan Batiz-Benet
8f79464eba routing interface 2014-07-22 03:11:08 -07:00
Quinn Slack
110394dc67 add comment '//' before note so that package routing compiles 2014-07-20 23:18:05 -07:00
Juan Batiz-Benet
3b570d3f82 skeleton. 2014-06-26 01:14:26 -07:00