Commit graph

94 commits

Author SHA1 Message Date
Alex Grintsvayg
b87ec26359 update dependencies 2018-05-13 22:49:32 -04:00
Alex Grintsvayg
42a65e727c large dht test is a real test 2018-05-13 21:38:30 -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
81759d8b5a move most dht code into Node 2018-04-27 20:16:12 -04:00
Alex Grintsvayg
6c081ec54b actually this is the correct behavior 2018-04-24 21:13:48 -04:00
Alex Grintsvayg
3d4253b934 expose how many initial nodes are found 2018-04-24 21:13:37 -04:00
Alex Grintsvayg
9979a70c61 fix rt updates, add Ping method 2018-04-24 18:12:17 -04:00
Alex Grintsvayg
3419e396d1 bind all ports by default 2018-04-24 17:20:03 -04:00
Alex Grintsvayg
faa96e6a62 dht quirk 2018-04-24 17:19:16 -04:00
Alex Grintsvayg
ebc7373dc1 kill printstate when dht stops 2018-04-05 16:39:05 -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
d9acce359f switch request.Args to be a bitmap 2018-04-04 12:01:44 -04:00
Alex Grintsvayg
dd8333db33 bitmaps in more places 2018-04-04 11:43:27 -04:00
Alex Grintsvayg
1acfd13ee9 peek at raw bencoded data to avoid extra decode 2018-04-03 14:15:04 -04:00
Alex Grintsvayg
87ef1c0fd7 node finder is its own thing. simplify exported dht api 2018-04-03 14:00:35 -04:00
Alex Grintsvayg
868e243afc proper types for some IDs 2018-04-03 13:38:01 -04:00
Alex Grintsvayg
13f991852b findNode and findValue implemented 2018-04-03 12:14:04 -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
3bb2d90b7b findvalue done 2018-03-11 06:21:02 -04:00
Alex Grintsvayg
75b3376305 lots more work. findnode should work now 2018-03-08 19:50:18 -05:00
Alex Grintsvayg
04ad1692d8 store works. fixed some bencode bugs 2018-03-07 19:49:33 -05:00
Alex Grintsvayg
bda8c4362c better tests, better bencoding 2018-03-07 16:15:58 -05:00
Alex Grintsvayg
a74f82e6b2 basic dht + tests 2018-03-06 20:15:44 -05:00
Alex Grintsvayg
d989d42ad3 added dep, makefile 2018-03-01 16:28:25 -05:00
Alex Grintsvayg
0aee55d249 add sql txn where needed. closes lbryio/reflector-cluster#58 2018-03-01 16:28:25 -05:00
Alex Grintsvayg
32a27c4e4d new errors.go 2018-03-01 16:28:25 -05:00
Alex Grin
3e2db84d2a
Merge pull request #2 from lbrydocs/patch-1
create LICENSE file
2018-02-28 09:40:53 -05:00
Alex Grintsvayg
d167213d54 use serf to track cluster members, update hash range on membership change. closes lbryio/reflector-cluster#47 2018-02-08 13:33:52 -05:00
Alex Grintsvayg
0d458aefc3 add a few tests, better error handling 2018-02-07 15:53:53 -05:00
LBRY Docs
eecf2cac3c
create LICENSE file 2018-02-05 13:08:33 -08:00
Alex Grintsvayg
7b3ac43fff accepts full streams, stores them in db 2018-02-02 16:49:20 -05:00
Alex Grintsvayg
ca958c0711 cobra cli 2018-02-02 16:48:57 -05:00
Alex Grintsvayg
8c67da1852 correct peer protocol errors, add simple db store 2018-01-30 20:15:21 -05:00
Alex Grintsvayg
5592f00c11 peer protocol partially done 2018-01-29 14:37:26 -05:00
Alex Grintsvayg
3c8416b576 minor changes. proto v2 works, but always requests sd blob 2018-01-24 11:45:18 -05:00
Alex Grintsvayg
8ee6b26feb some work on v2 of proto 2017-08-15 16:02:18 -04:00
Alex Grintsvayg
782090188e simplify server, check that hashes match 2017-08-10 18:41:39 -04:00
Alex Grintsvayg
3e99eff3ec working server and client for protocol version 1 2017-08-10 18:25:42 -04:00
Alex Grintsvayg
98a8555277 init 2017-08-10 09:59:39 -04:00