Commit graph

503 commits

Author SHA1 Message Date
Mark Beamer Jr
afffa668a9 -Added API Server to lbry.go
-Removed dependency on internal apis
-Moved over only required packages.
-Adjusted slack.go to be generic instead of hard coding channel name.
-Moved over travis package from internal-apis
-Added Repository struct for webhook and an IsMatch method. It is possible for any repository to send a webhook to the api and it will trigger a deploy. We should check against the owner, repo and branch.
-Renamed package to api
-removed util.Debugging from server.go
-Added an ErrorHandling function that be used as interface for slack for internal-apis
-Added Map for Header settings that can be set before the serving
-Merged slack code from lbryio/boardbot
-Cleaned up the slack.go code so it made more sense and flowed better
-Removed gitignore entry for `.idea`, should be global
-Removed debugging.go
-Added option for private vs public repository for getting travis public key.
-separated private vs public into if else.
-Changed HeaderSettings to not be pointer.
-Changed ErrorHandler to be named LogErrorFunc
-removed logrus dependency, created loginfo function to handle non-error information.
-Added Daemon Types and adjusted peer_list to be in line with v20
-Fixed rpcclient library usage for latest version to prevent build errors.
-Changed inputs to LogError and LogInfo so that other implementations can make this customizable.
2018-05-27 11:30:04 -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
2a6ea528bd
update stoponce 2018-05-24 12:59:34 -04:00
Alex Grintsvayg
1c31e54860 self-store 2018-05-22 12:27:49 -04:00
Alex Grintsvayg
13321b53b4 reannounce 2018-05-22 12:16:08 -04:00
Alex Grintsvayg
14cceda81e added routing table saving, bitmap operations, lots of tests 2018-05-19 13:06:19 -04:00
Alex Grintsvayg
b9ee0b0644 added upload command, --conf and --verbose flags 2018-05-14 20:55:48 -04:00
Alex Grintsvayg
611635c87d large dht test is a real test 2018-05-13 21:38:30 -04:00
Alex Grintsvayg
03a1e61d57 added concurrent dht test 2018-05-13 21:17:29 -04:00
Alex Grintsvayg
a656ad8a14
add crypto package 2018-05-13 21:09:40 -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
Niko Storni
9ecbedadf5
add temporary limit for huge channels 2018-04-25 17:07:18 -04:00
Niko Storni
623a5971d9 human readable video names 2018-04-25 15:43:20 -04:00
Niko Storni
e976cd0fa0 add playlist position
add delete function
2018-04-25 14:56:26 -04:00
Alex Grintsvayg
34ab2cd1ae actually this is the correct behavior 2018-04-24 21:13:48 -04:00
Alex Grintsvayg
a232f02e2d expose how many initial nodes are found 2018-04-24 21:13:37 -04:00
Alex Grintsvayg
8f5313fe76 fix rt updates, add Ping method 2018-04-24 18:12:17 -04:00
Alex Grintsvayg
8a5917a982 bind all ports by default 2018-04-24 17:20:03 -04:00
Alex Grintsvayg
3070798f97 dht quirk 2018-04-24 17:19:16 -04:00
Niko Storni
5d6204a349
improve daemon shutdown detection 2018-04-24 14:50:10 -04:00
Niko Storni
160b08811f fix shutdown race condition
increase number of addresses to use
2018-04-20 15:06:55 -04:00
Niko Storni
540e9057e7
partially fix prefill error
skip failed videos rather than failing
2018-04-17 14:53:10 -04:00
Alex Grintsvayg
0aa1ce7343 kill printstate when dht stops 2018-04-05 16:39:05 -04:00
Alex Grintsvayg
f5f47aa079 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
5a37e49765 more improvements 2018-04-05 11:35:57 -04:00
Alex Grintsvayg
a1349b3889 switch request.Args to be a bitmap 2018-04-04 12:01:44 -04:00
Alex Grintsvayg
79addd0b6e bitmaps in more places 2018-04-04 11:43:27 -04:00
Alex Grintsvayg
035be0893d peek at raw bencoded data to avoid extra decode 2018-04-03 14:15:04 -04:00
Alex Grintsvayg
5bb275afaa node finder is its own thing. simplify exported dht api 2018-04-03 14:00:35 -04:00
Alex Grintsvayg
ea8d0d1eed proper types for some IDs 2018-04-03 13:38:01 -04:00
Alex Grintsvayg
a5ef461fc5 findNode and findValue implemented 2018-04-03 12:14:04 -04:00
Alex Grintsvayg
24c079a7dd dht iterativefind, some tests 2018-03-28 21:05:27 -04:00
Alex Grintsvayg
a5d371ca47
fix stoponce bug 2018-03-28 20:01:49 -04:00
Alex Grin
bc543a63e1
Merge pull request #5 from lbryio/unittests
Added unit tests for getting claimid. I based this off of a random se…
2018-03-25 16:24:49 -04:00
Mark Beamer Jr
8910639b59 Added unit tests for getting claimid. I based this off of a random selection of claims from the past year on the block chain. 2018-03-24 21:40:32 -04:00
Alex Grintsvayg
05e2d8529a add transaction manager, fix bencoding to support int keys, fix routing table bucketing 2018-03-23 20:15:35 -04:00
Alex Grintsvayg
883d76d8bb fix bitmap prefix len 2018-03-15 14:42:57 -04:00
Alex Grintsvayg
4c5d6ab161
channel_list_mine is now channel_list 2018-03-15 14:39:43 -04:00
Alex Grintsvayg
0b1546cc79
add util function for converting txid:nout to claimID 2018-03-15 10:47:16 -04:00
Niko Storni
4fda52d531
Merge branch 'youtube-lib-fix' 2018-03-13 18:17:21 -04:00
Niko Storni
5fa1681b82
update youtube download library 2018-03-13 17:48:13 -04:00
Niko Storni
4c2391030c
update dependencies 2018-03-13 17:27:32 -04:00
Alex Grintsvayg
8dd15ee220
add flag to manually refill credits into sync wallet 2018-03-12 16:58:37 -04:00
Alex Grintsvayg
211dbd7c50 findvalue done 2018-03-11 06:21:02 -04:00
Alex Grintsvayg
263a6301a6
recover ytsync panics when processing videos, switch to our errors everywhere 2018-03-09 11:47:38 -05:00
Alex Grintsvayg
e13fe7c2f0 lots more work. findnode should work now 2018-03-08 19:50:18 -05:00
Alex Grintsvayg
1b6c47c841
add daemon timeout option, stop ytsync gracefully during daemon startup 2018-03-08 19:42:50 -05:00