Commit graph

14 commits

Author SHA1 Message Date
Alex Grintsvayg
3e7f7583d6 move bitmap into separate package 2018-06-14 20:10:44 -04:00
Mark Beamer Jr
35f98ce162 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
388c1128ec get rid of ReadDeadline, switch to updated stopOnce 2018-05-24 17:49:43 -04:00
Alex Grintsvayg
57a7c23787 update stopper 2018-05-24 13:05:05 -04:00
Alex Grintsvayg
ea67bb93d8 added routing table saving, bitmap operations, lots of tests 2018-05-19 13:06:19 -04:00
Alex Grintsvayg
2bf117b05f bootstrap node, bucket grooming 2018-05-13 17:33:49 -04:00
Alex Grintsvayg
c337973c0f 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
dd8333db33 bitmaps in more places 2018-04-04 11:43:27 -04:00
Alex Grintsvayg
868e243afc proper types for some IDs 2018-04-03 13:38:01 -04:00
Alex Grintsvayg
e68fc1dd00 dht iterativefind, some tests 2018-03-28 21:05:27 -04:00
Alex Grintsvayg
a7b4e4bc04 add transaction manager, fix bencoding to support int keys, fix routing table bucketing 2018-03-23 20:15:35 -04:00
Alex Grintsvayg
3db8f726a7 fix bitmap prefix len 2018-03-15 14:42:57 -04:00
Alex Grintsvayg
04ad1692d8 store works. fixed some bencode bugs 2018-03-07 19:49:33 -05:00
Alex Grintsvayg
a74f82e6b2 basic dht + tests 2018-03-06 20:15:44 -05:00