Commit graph

13 commits

Author SHA1 Message Date
Alex Grintsvayg
fc9b05b8c6 move bitmap into separate package 2018-06-14 20:10:44 -04:00
Alex Grintsvayg
5968953d05 fix some stoppers 2018-06-13 12:45:47 -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
79527da8a9 get rid of ReadDeadline, switch to updated stopOnce 2018-05-24 17:49:43 -04:00
Alex Grintsvayg
6a0cab5f62 update stopper 2018-05-24 13:05:05 -04:00
Alex Grintsvayg
1c31e54860 self-store 2018-05-22 12:27:49 -04:00
Alex Grintsvayg
14cceda81e added routing table saving, bitmap operations, lots of tests 2018-05-19 13:06:19 -04:00
Alex Grintsvayg
03a1e61d57 added concurrent dht test 2018-05-13 21:17:29 -04:00
Alex Grintsvayg
ffd8c891db bootstrap node, bucket grooming 2018-05-13 17:33:49 -04:00
Alex Grintsvayg
1f7841e4d0 minor refactor 2018-05-01 16:18:38 -04:00
Alex Grintsvayg
079a6bf610 move most dht code into Node 2018-04-27 20:16:12 -04:00
Alex Grintsvayg
e13fe7c2f0 lots more work. findnode should work now 2018-03-08 19:50:18 -05:00
Alex Grintsvayg
f565d0b78f basic dht + tests 2018-03-06 20:15:44 -05:00