Commit graph

16 commits

Author SHA1 Message Date
Niko Storni
dd2171172d update to v2 2019-10-10 05:07:33 +02:00
Alex Grintsvayg
30c3125016 update dht imports 2019-01-09 17:37:29 -05:00
Alex Grintsvayg
f068daf0b8 handle peer port correctly 2018-07-13 13:31:54 -04:00
Alex Grintsvayg
18caec8d40 add proto version to dht 2018-06-21 15:06:40 -04:00
Alex Grintsvayg
5e346cc21a cluster automatically balances what nodes are announcing what hashes 2018-06-19 13:47:13 -04:00
Alex Grintsvayg
fc9b05b8c6 move bitmap into separate package 2018-06-14 20:10:44 -04:00
Mark Beamer Jr
8100010220 code cleanup
-Added travis support
-updated travis to analyze code beneath the root.
-refactored upload.go to fix travis errors.
-gocyclo should ignore test files. $GOFILES needed to be adjusted.
-fix rows.Close() ignoring error. Created func to handle so defer can be used when needed also.
-fixed ignored errors.
-fixed unit test that was not passing correctly to anonymous function.
-fixed govet error for passing param inside go func.
-removed returned error, in favor of logging instead.
-added error logging for ignored error.
-fixed potential race conditions.
-removed unused append
-fixed time usage to align with go standards.
-removed unused variables
-made changes for code review.
-code comments for exported functions.
-Documented bitmap.go and insert into contact list.
-Documented dht, message, bootstrap
-Fixed comment typos
-Documented message,node, routing_table, testing in DHT package.
-Documented server, client, prism, server and shared in peer and reflector packages.
-Documented the stores in Store package.
-made defer adjustments inline and deleted the separate function.
-adjusted method in upload to take the only parameter it requires.
2018-06-13 09:29:13 -04:00
Alex Grintsvayg
14cceda81e added routing table saving, bitmap operations, lots of tests 2018-05-19 13:06:19 -04:00
Alex Grintsvayg
079a6bf610 move most dht code into Node 2018-04-27 20:16:12 -04:00
Alex Grintsvayg
f5f47aa079 add token manager, add token to request/response, sucessfully perform a STORE request on the python daemon 2018-04-05 16:27:28 -04:00
Alex Grintsvayg
79addd0b6e bitmaps in more places 2018-04-04 11:43:27 -04:00
Alex Grintsvayg
ea8d0d1eed proper types for some IDs 2018-04-03 13:38:01 -04:00
Alex Grintsvayg
a5ef461fc5 findNode and findValue implemented 2018-04-03 12:14:04 -04:00
Alex Grintsvayg
05e2d8529a add transaction manager, fix bencoding to support int keys, fix routing table bucketing 2018-03-23 20:15:35 -04:00
Alex Grintsvayg
5c44ca40c2 store works. fixed some bencode bugs 2018-03-07 19:49:33 -05:00
Alex Grintsvayg
006a49bd67 better tests, better bencoding 2018-03-07 16:15:58 -05:00