Commit Graph

72 Commits

Author SHA1 Message Date
Juan Batiz-Benet
2563e9204c network.Find -> network.GetPeer 2014-09-22 04:05:11 -07:00
Juan Batiz-Benet
71ec4f91dc Drop -> CloseConnection 2014-09-22 04:05:11 -07:00
Jeromy
d326fc61e4 fix typo that caused test failure in dht_test.go 2014-09-18 18:32:58 +00:00
Jeromy
b5a1b1c658 improve cleaning up in dht tests. 2014-09-15 20:45:36 +00:00
Siraj Ravel
0b5447a60a checking returned value 2014-09-14 21:44:19 -07:00
Siraj Ravel
e6bc0772ed Test for getLocal method in DHT 2014-09-14 20:59:09 -07:00
Siraj Ravel
b88ee2870a golint cleanup 2014-09-11 12:25:52 -07:00
Brian Tiger Chow
7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
Jeromy
1fa7c07dc7 clean up merge of bren2010's crypto branch and merge into master 2014-09-08 18:17:57 +00:00
Jeromy
275b03f814 rework dagreader to have a dagservice for node resolution 2014-09-06 22:11:44 +00:00
Jeromy
f52958850e Merge branch 'master' into crypto
Conflicts:
	routing/dht/dht.go
2014-09-04 20:46:39 +00:00
Jeromy
85273daaa5 allow peers to realize that they are actually a provider for a value 2014-09-04 20:32:46 +00:00
Jeromy
4b97f1f270 create new crypto package and make rest of repo use it 2014-09-03 20:15:10 +00:00
Jeromy
a5d54ea29e fix up tests that started failing after changing identify code 2014-09-01 21:55:59 -07:00
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