Commit graph

374 commits

Author SHA1 Message Date
Alex Grintsvayg
22f42d5559 include build time in binary 2018-08-30 14:41:50 -04:00
Alex Grintsvayg
473e7e3b07 consolidate errors that happen a lot and we know about 2018-08-29 09:04:09 -04:00
Alex Grintsvayg
d7a4b34d8c unused type 2018-08-28 15:27:32 -04:00
Alex Grintsvayg
605afd1d6c add stats reporting to reflector 2018-08-28 11:18:06 -04:00
Alex Grintsvayg
204198bf9d bump timeout to 30 seconds 2018-08-20 12:05:22 -04:00
Alex Grintsvayg
fe9cf091fc send the expected response instead of the error message 2018-08-20 11:52:29 -04:00
Alex Grintsvayg
65df7bc627 make CI happy 2018-08-15 21:19:38 -04:00
Alex Grintsvayg
75886211b1 fix partial stream upload 2018-08-15 20:18:54 -04:00
Alex Grintsvayg
391f983630 bump timeout again 2018-08-15 16:12:55 -04:00
Alex Grintsvayg
44cf4d085c dont log every blob you get 2018-08-15 15:52:41 -04:00
Alex Grintsvayg
bd8a35e366 expose reflector timeout, bump it up 2018-08-15 15:50:09 -04:00
Alex Grintsvayg
4284c3b1f9 sendblob command 2018-08-15 14:25:15 -04:00
Alex Grintsvayg
4c8eda783f bugfix 2018-08-15 11:26:36 -04:00
Alex Grintsvayg
74cb72f197 slack us the logs 2018-08-15 11:10:38 -04:00
Alex Grintsvayg
5f9db51d67 add version 2018-08-15 10:34:50 -04:00
Alex Grintsvayg
73f3aceca6 fixed a few reflector issues, added some tests 2018-08-09 15:46:40 -04:00
Alex Grintsvayg
3855d5c281 actual proper fix for db statement issue, added skipExists flag and the ability to upload a single blob 2018-08-07 20:19:04 -04:00
Alex Grintsvayg
0e0b2aaea3 drop DB interface, attempt to fix max conn issues using interpolateParams 2018-08-07 16:51:36 -04:00
Alex Grintsvayg
baba10c54f statements must be closed, or it leaves them all open 2018-08-07 15:58:31 -04:00
Alex Grintsvayg
1406c7fad9 it works, so re-enable tags 2018-08-07 13:27:18 -04:00
Alex Grintsvayg
34f6241739 fixing depoly 2018-08-07 13:18:28 -04:00
Alex Grintsvayg
95063dacde learning more about travis 2018-08-07 12:53:00 -04:00
Alex Grintsvayg
33765b967b deploy to github on tags 2018-08-07 12:25:02 -04:00
Alex Grintsvayg
e9ce0d5afa final fix 2018-08-07 12:06:02 -04:00
Alex Grintsvayg
a3fdc44efb fixed or silenced the last few things to get this building 2018-08-07 11:53:29 -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
Alex Grintsvayg
1635f5fae4 actually run all the tests 2018-08-06 19:53:09 -04:00
Alex Grintsvayg
f3f2fcb6cc update dependencies, only run short tests in travis 2018-08-06 19:52:34 -04:00
Alex Grintsvayg
300e1980af fix stuck goroutine 2018-08-06 19:52:09 -04:00
Alex Grintsvayg
fad4d7f170 announce still needs tests, but i tested a lot by hand and its good 2018-07-26 21:30:22 -04:00
Alex Grintsvayg
6f8612d248 hash announcer / rate limiter 2018-07-26 16:05:27 -04:00
Alex Grintsvayg
8f395d8743 fix reflector responding correctly when we have the full stream. fixes lbryio/reflector-cluster#60 2018-07-26 10:25:47 -04:00
Alex Grintsvayg
dd98b3cdfb Merge branch 'resize-buckets'
* resize-buckets:
  refactor contact sort
  more
  handle peer port correctly
  Revert "add tcp port mapping to data store"
  iterative find value rpc command
  add jack.lbry.tech as a known node for debugging
  add tcp port mapping to data store
  bucket splitting is solid
  add dht start command, run a jsonrpc server to interact with the node
  grin's cleanup and some WIP
  more
  expand empty buckets
  add BucketRange to bucket struct
2018-07-26 10:07:47 -04:00
Alex Grintsvayg
e642c110b8 refactor contact sort 2018-07-25 11:44:11 -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
Alex Grintsvayg
c8e363e812 Revert "add tcp port mapping to data store"
This reverts commit 76b0e15636.
2018-07-13 12:49:41 -04:00
Jack Robison
c0c4d851f0
iterative find value rpc command
-add NodeID to GetRoutingTable response

-remove other debugging commands
2018-07-13 11:25:08 -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
76b0e15636
add tcp port mapping to data store 2018-07-13 11:23:18 -04:00
Alex Grintsvayg
2e83654f1a bucket splitting is solid 2018-07-12 14:34:24 -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
Jack Robison
40a08cc96d
more 2018-06-29 17:03:59 -04:00
Jack Robison
8619bc6e27
expand empty buckets 2018-06-29 13:33:35 -04:00
Jack Robison
2d0b3547d7
add BucketRange to bucket struct
-initialize the routing table with one bucket covering the entire keyspace
2018-06-26 16:31:29 -04:00
Alex Grintsvayg
c7717add23 grin should not be force-pushing 2018-06-26 11:09:55 -04:00
Alex Grintsvayg
21fa1969a4 oops 2018-06-26 10:58:19 -04:00
Alex Grintsvayg
34cc92678b partial switch to new stopgroup. need to refactor to take advantage of child cancelation 2018-06-25 16:49:40 -04:00