Commit graph

1145 commits

Author SHA1 Message Date
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
Lex Berezhny
39d8a20fd5 pgcopy COPY command 2020-06-30 17:32:51 -04:00
Lex Berezhny
b45a222f98 event subscription and publishing bug fixes 2020-06-29 18:10:26 -04:00
Lex Berezhny
2495df8859 null in claim description 2020-06-27 23:14:28 -04:00
Lex Berezhny
635aebfeeb fixed null claim name support for postgres 2020-06-27 23:00:12 -04:00
Lex Berezhny
f2ff4410dc re-enable postgres integration tests 2020-06-27 22:24:59 -04:00
Lex Berezhny
564018c937 better debug badrow 2020-06-27 11:46:49 -04:00
Lex Berezhny
4d1eafc0a4 debug badrow 2020-06-27 09:39:23 -04:00
Lex Berezhny
211f8b2e59 pause console elapsed timer when no blocks read/save 2020-06-27 09:22:52 -04:00
Lex Berezhny
9500be26fd no order by file 2020-06-26 23:37:10 -04:00
Lex Berezhny
017ef5b41a order by file 2020-06-26 23:35:11 -04:00
Lex Berezhny
4b19861a74 console improvements 2020-06-26 21:52:01 -04:00
Lex Berezhny
5a0a987f0c refactored and simplified the blockchain sync 2020-06-26 10:39:58 -04:00
Lex Berezhny
4cb4659489 removed Takeovers for now 2020-06-26 10:39:16 -04:00
Lex Berezhny
e64b108404 console 2020-06-23 13:11:16 -04:00
Lex Berezhny
71e14c8e63 least 2020-06-22 20:30:05 -04:00
Lex Berezhny
9757c69189 pylint 2020-06-22 11:02:59 -04:00
Lex Berezhny
d8fb31aedd addeed greatest sql function that supports postgres and sqlite 2020-06-22 10:52:17 -04:00
Lex Berezhny
54a0bf9290 fixups to make lbrynet work on cli with postgres 2020-06-21 23:21:43 -04:00
Lex Berezhny
a3ef8d7411 pylint 2020-06-21 20:14:14 -04:00
Lex Berezhny
9198877098 include_is_spent no longer needed 2020-06-21 19:52:39 -04:00
Lex Berezhny
46da2584ca db 2020-06-21 19:51:09 -04:00
Lex Berezhny
53b7d0a58b blockchain 2020-06-21 19:50:53 -04:00
Lex Berezhny
d1a243247d progress 2020-06-19 14:28:34 -04:00
Lex Berezhny
a39f87b3c5 more resilient test 2020-06-10 15:25:45 -04:00
Lex Berezhny
96d1926da4 upgrad pyyaml 2020-06-09 23:25:42 -04:00
Lex Berezhny
2927875830 placeholder classes to pass pylint 2020-06-06 13:20:26 -04:00
Lex Berezhny
82062b5601 trying codecov 2020-06-06 12:20:19 -04:00
Lex Berezhny
db1f984558 moved fast_sync.py script 2020-06-05 19:21:39 -04:00
Lex Berezhny
e66445b46e deleted lbry.extras 2020-06-05 19:18:00 -04:00
Lex Berezhny
82b69109bd pylint 2020-06-05 00:51:55 -04:00
Lex Berezhny
ec4e36446c update lbrycrd download URL 2020-06-05 00:38:57 -04:00
Lex Berezhny
3ef83febc0 progress 2020-06-05 00:35:22 -04:00
Lex Berezhny
ffecd02fbc deleted db/search 2020-06-05 00:31:26 -04:00
Lex Berezhny
ebddb1f0f5 moved exchange rate manager 2020-06-04 18:48:44 -04:00
Lex Berezhny
29b1f93699 switch cli to use pre-generated interface 2020-06-04 17:51:01 -04:00
Lex Berezhny
c12e07de11 stricter check for old windows directory structure 2020-06-04 17:49:59 -04:00
Lex Berezhny
726bae97b0 generated lbry.service.metadata 2020-06-04 17:29:34 -04:00
Lex Berezhny
5efb36ffd2 windows & mac path tests 2020-06-04 17:29:34 -04:00
Lex Berezhny
9a40381f5a imports 2020-06-04 17:29:34 -04:00
Lex Berezhny
47f6d542c5 import fix 2020-06-04 17:29:34 -04:00
Lex Berezhny
a042377a7b run unittest on multiple platforms 2020-06-03 19:43:08 -04:00
Lex Berezhny
596ed08395 EventQueuePublisher uses a buffer to reduce number of tasks created 2020-05-22 18:40:21 -04:00
Lex Berezhny
2af29b892b new cli 2020-05-20 18:05:49 -04:00
Lex Berezhny
7ffb169376 Service.run -> Daemon.run 2020-05-20 18:05:13 -04:00