Commit graph

1189 commits

Author SHA1 Message Date
Victor Shyba
d6bcbd631f improve session close error message 2020-09-14 14:08:59 -03:00
Victor Shyba
39a4c4e590 exit if zmq misconfigured. tell whats wrong 2020-09-14 14:08:59 -03:00
Victor Shyba
a5c117b542 wait for lbrycrd on start 2020-09-14 14:08:59 -03:00
Victor Shyba
47a8c005d9 change zmq port for tests so it doesnt conflict with running lbrycrd 2020-09-14 14:08:59 -03:00
Victor Shyba
50c8fc269b fix tqdm override and pin version 2020-09-14 13:46:31 -03:00
Alex Grintsvayg
336a0f6ae1
minor 2020-09-11 14:08:06 -04:00
Lex Berezhny
28413742cc reduce diff 2 2020-09-04 15:38:31 -04:00
Lex Berezhny
6484894b36 reduce diff 2020-09-04 15:37:45 -04:00
Lex Berezhny
c5fd9643f1 tx_kwargs expander should have wallet_id 2020-09-04 15:36:18 -04:00
Victor Shyba
aa6d78b515 fix definitions, bump metadata 2020-09-04 15:09:28 -03:00
Lex Berezhny
b4ee07162d made doc parsing error more helpful 2020-09-04 10:17:45 -04:00
Victor Shyba
0f63103db5 fix wallet_id parameter 2020-09-04 01:36:49 -03:00
Victor Shyba
c3884352db improve error messages 2020-09-04 01:29:25 -03:00
Victor Shyba
d89b074615 bump metadata.py 2020-09-04 01:20:39 -03:00
Victor Shyba
f775b0ed55 fix all comments with line breaks starting with -- 2020-09-04 01:20:27 -03:00
Victor Shyba
60c333c6e2 stream filter already have signed filter 2020-09-04 00:58:08 -03:00
Victor Shyba
42b7f8ff71 raise when -- ends up in a continuation line instead of auto fixing 2020-09-04 00:45:02 -03:00
Victor Shyba
c981c767b9 raise instead of implicit deduplication of arguments 2020-09-04 00:44:55 -03:00
Victor Shyba
10ad4ed8d1 update metadata.py 2020-09-04 00:22:14 -03:00
Victor Shyba
e436ae7edd test for wrong linebreaks and improve fix 2020-09-04 00:22:14 -03:00
Victor Shyba
7304d24dfd dont break lines on -- to avoid docopt parsing issues 2020-09-04 00:22:14 -03:00
Victor Shyba
b330c35282 remove duplicated kwargs from parser.py 2020-09-04 00:22:14 -03:00
Victor Shyba
e1b55f017b remove traceback usage, add test 2020-09-03 15:21:53 -03:00
Victor Shyba
6bbfb45de7 return errors when websocket req fails 2020-09-02 20:38:30 -03:00
Victor Shyba
bc678f2146 session close is async, fix annoying error message 2020-09-02 18:49:41 -03:00
Victor Shyba
7c5211d420 fix lbrycrdd url 2020-09-02 14:34:00 -03:00
Lex Berezhny
35c3ff1e30 test cleaup and fixing 2020-08-20 13:31:58 -04:00
Lex Berezhny
f995ceae8b pylint 2020-08-20 10:46:28 -04:00
Lex Berezhny
c1803434aa support clean exit 2020-08-20 10:44:29 -04:00
Lex Berezhny
33a157959d index added 2020-08-13 12:18:39 -04:00
Lex Berezhny
747eace4ab lint 2020-08-13 12:08:35 -04:00
Lex Berezhny
8fa2d746e7 re-enable all github workflows 2020-08-13 11:57:10 -04:00
Lex Berezhny
bf7ac1562f docker 2020-08-12 03:34:37 -04:00
Lex Berezhny
2000d75c7a start --full-node 2020-08-12 00:08:06 -04:00
Lex Berezhny
1259002b51 systemd script installation 2020-08-11 22:50:24 -04:00
Lex Berezhny
70d9f4cf79 convert claim_id to channel_hash 2020-08-10 18:53:00 -04:00
Lex Berezhny
23723f8041 added support_search to api 2020-08-10 18:37:21 -04:00
Lex Berezhny
51a0f7ddc8 add index for release_time 2020-08-10 17:48:26 -04:00
Lex Berezhny
1228700487 typo 2020-08-10 14:10:15 -04:00
Lex Berezhny
67c5c192f3 fix order_by and include_totals 2020-08-10 14:03:12 -04:00
Lex Berezhny
84639cfb2e protobuf claim_search 2020-08-04 13:49:59 -04:00
Lex Berezhny
0b245aab31 use base64 for protobuf response 2020-08-04 11:47:03 -04:00
Lex Berezhny
ee3db31541 protobuf resolve response 2020-08-04 10:41:49 -04:00
Lex Berezhny
8a3b960a85 delete tag when rewinding 2020-08-03 22:36:14 -04:00
Lex Berezhny
2952609972 fixed bug when maintenance sync spanned multiple files 2020-08-03 16:53:40 -04:00
Lex Berezhny
9ab8a7dd81 magic numbers 2020-08-03 12:24:13 -04:00
Victor Shyba
9411b26fd3 fix unclosed transport warnings on tests 2020-08-03 03:30:29 -03:00
Lex Berezhny
85db7d3ce7 lbrycrd print text response 2020-07-31 14:38:45 -04:00
Lex Berezhny
3315175d1c raise unauthorized error when cannot connect to lbrycrd 2020-07-29 11:32:43 -04:00
Lex Berezhny
a802d1f686 clear tasks 2020-07-29 00:41:40 -04:00
Lex Berezhny
684e389283 basicConfig 2020-07-29 00:35:39 -04:00
Lex Berezhny
895719a13d basic logging 2020-07-29 00:14:40 -04:00
Lex Berezhny
9114a9794d fix channel integration test 2020-07-27 12:19:12 -04:00
Lex Berezhny
a1f3254261 lint 2020-07-27 11:52:24 -04:00
Lex Berezhny
dbc0da2817 event generator and better ZMQ handling 2020-07-27 10:58:57 -04:00
Lex Berezhny
412ace1c6f remove assert causing failures in console.py 2020-07-22 18:07:18 -04:00
Lex Berezhny
8100efb48c expose api as POST not GET 2020-07-20 23:48:27 -04:00
Lex Berezhny
72ddb0c195 use normalized instead of claim_name for claim search 2020-07-20 22:44:18 -04:00
Lex Berezhny
c57080711e added 99 as special number for no processes 2020-07-20 10:46:59 -04:00
Lex Berezhny
96aea579ac temporary debug print statements 2020-07-20 09:57:52 -04:00
Lex Berezhny
e2aae23575 commit db transaction after setting work_mem 2020-07-16 23:27:24 -04:00
Lex Berezhny
2ae700feb3 vaccum claim after updating channel stats 2020-07-16 10:53:27 -04:00
Lex Berezhny
d1ac066c6d include claim_hash in txo_claim_chahges postgres index 2020-07-16 10:53:03 -04:00
Lex Berezhny
b61424979d lint 2020-07-15 23:50:52 -04:00
Lex Berezhny
ca10874006 add vacuuming for tx table 2020-07-14 17:11:06 -04:00
Lex Berezhny
a4680878c4 fixed issues with database transaction isolation 2020-07-14 16:46:24 -04:00
Lex Berezhny
1c29ae7204 run vacuum after every sync 2020-07-14 13:26:46 -04:00
Andrey Beletsky
86069b10ca Bind API server to the configured host instead of localhost 2020-07-14 14:56:47 +07:00
Lex Berezhny
9c5e2a8c8d fix none exception 2020-07-14 00:11:30 -04:00
Lex Berezhny
622a3b77ef indent 2020-07-14 00:05:25 -04:00
Lex Berezhny
0dff82c31c save all claims, even bad ones, also fix cli 2020-07-13 23:58:49 -04:00
Lex Berezhny
8e683c9cd0 indexing fixes 2020-07-13 21:00:24 -04:00
Lex Berezhny
f50196d395 fix channel integration test 2020-07-13 15:50:00 -04:00
Lex Berezhny
248e04089b pylint 2020-07-13 15:45:21 -04:00
Lex Berezhny
8fd92cb649 more indexes 2020-07-13 14:29:38 -04:00
Lex Berezhny
af4138ff51 minor progress refinement 2020-07-13 13:12:01 -04:00
Lex Berezhny
462daf4dc4 increase work_mem and add more indexes 2020-07-13 12:38:28 -04:00
Lex Berezhny
e63151a370 merged channel and content syncs and no longer storing canonical_url in column 2020-07-13 09:30:32 -04:00
Lex Berezhny
09a2b2fa46 wider labels 2020-07-13 00:59:44 -04:00
Lex Berezhny
a3d91329fe performance 2020-07-13 00:55:30 -04:00
Lex Berezhny
7bf96fd637 silence invalid name errors when creating short_url 2020-07-12 18:07:12 -04:00
Lex Berezhny
5157b2535b correctly update main bar 2020-07-12 17:57:41 -04:00
Lex Berezhny
0151ce8040 use correct last progress bar state value 2020-07-12 17:29:58 -04:00
Lex Berezhny
5328ed105e reduce TX_FLUSH_SIZE 2020-07-12 16:44:36 -04:00
Lex Berezhny
7f01b1cb84 flipped main and secondary progress bars 2020-07-12 16:43:44 -04:00
Lex Berezhny
1790ee3018 bug fixes and performance improvements 2020-07-12 16:27:51 -04:00
Lex Berezhny
7a4e5dcb05 handle claims in abandoned channels 2020-07-12 12:02:58 -04:00
Lex Berezhny
24a88db595 console fix 2020-07-12 09:22:06 -04:00
Lex Berezhny
915233c96c fixes 2020-07-12 08:55:25 -04:00
Lex Berezhny
aa9365f218 refactored sync 2020-07-11 18:18:33 -04:00
Lex Berezhny
15b8891fce make resolve command work from cli 2020-07-07 10:52:41 -04:00
Lex Berezhny
f8a8a75ae9 regenerated interface metadata 2020-07-07 10:49:40 -04:00
Lex Berezhny
d18ed6c19b wrap short url creation in try/except 2020-07-07 00:20:11 -04:00
Lex Berezhny
4aa44d3b5a set work_mem for postgres 2020-07-06 22:42:15 -04:00
Lex Berezhny
34a9dff141 fixed conflict with two cursors when one is reading and another is commiting 2020-07-06 09:18:22 -04:00
Lex Berezhny
7d9bf03574 refactored 2020-07-05 23:03:45 -04:00
Lex Berezhny
3fe1981657 faster inputs/outputs sync 2020-07-03 15:47:25 -04:00
Lex Berezhny
192c79c49c capture stderr before process pool starts 2020-07-01 18:32:20 -04:00
Lex Berezhny
5883c9bc6c hide error from protobuf 2020-06-30 23:13:38 -04:00
Lex Berezhny
4b50d1e329 vacuum before setting inputs 2020-06-30 19:37:00 -04:00