Commit graph

24 commits

Author SHA1 Message Date
Mark Beamer Jr
86a553b876
upgrade to lbry.go v2.4.0 2019-11-13 19:11:35 -05:00
Alex Grintsvayg
14d6d32a41 move dht to lbry.go repo 2019-01-09 17:52:30 -05:00
Alex Grintsvayg
61e83d86de actually done now 2018-09-20 11:29:35 -04:00
Alex Grintsvayg
7ab2d355d5 some linting 2018-08-30 20:20:15 -04:00
Alex Grintsvayg
8bb1242ed9 fixed some linting errors
found them using

```
gometalinter --skip=vendor --disable-all --enable=megacheck --enable=deadcode --enable=ineffassign --enable=interfacer --enable=errcheck ./...
```
2018-08-07 11:38:56 -04:00
Alex Grintsvayg
d15245bd05 fix rpc server 2018-08-07 11:10:12 -04:00
Jack Robison
c967af4a98
more
-add rpc_port argument
-run node on localhost for testing
2018-07-17 17:19:03 -04:00
Alex Grintsvayg
620a5d7d48 handle peer port correctly 2018-07-13 13:31:54 -04:00
Jack Robison
63fe5cbdc8
add jack.lbry.tech as a known node for debugging 2018-07-13 11:24:11 -04:00
Jack Robison
bbe3bee3b0
add dht start command, run a jsonrpc server to interact with the node 2018-07-12 10:17:14 -04:00
Alex Grintsvayg
4c000ed419 grin's cleanup and some WIP 2018-07-10 17:35:02 -04:00
Alex Grintsvayg
385a24337a cluster automatically balances what nodes are announcing what hashes 2018-06-19 13:47:13 -04:00
Alex Grintsvayg
4535122a06 starting to put together the pieces
- prism start command
- more configs for prism when assembling the pieces
- cluster notifies on membership change, determines hash range, announces hashes
2018-06-14 22:30:38 -04:00
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
ea67bb93d8 added routing table saving, bitmap operations, lots of tests 2018-05-19 13:06:19 -04:00
Alex Grintsvayg
3b1ddd75fc added concurrent dht test 2018-05-13 21:17:29 -04:00
Alex Grintsvayg
2bf117b05f bootstrap node, bucket grooming 2018-05-13 17:33:49 -04:00
Alex Grintsvayg
01476a2a8d minor refactor 2018-05-01 16:18:38 -04:00
Alex Grintsvayg
9979a70c61 fix rt updates, add Ping method 2018-04-24 18:12:17 -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
c254243716 more improvements 2018-04-05 11:35:57 -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