Commit graph

80 commits

Author SHA1 Message Date
Alex Grintsvayg
7d82a4573f
add indexes to optimize sum_supports query 2020-11-11 16:56:32 -05:00
Alex Grintsvayg
daed032bb7 return total instead of percent so frontend can display percentage precisely 2020-10-21 10:34:18 -04:00
Alex Grintsvayg
abebc0d878 add more tests, flag to exclude own supports 2020-10-21 10:34:18 -04:00
Alex Grintsvayg
4bb0344e05 add sum_supports api 2020-10-16 10:44:47 -04:00
Lex Berezhny
bba9aec4f2 added respoted_count calculation 2020-09-24 15:19:30 -04:00
Victor Shyba
1a5292aaf4 add expiration_height 2020-09-23 08:38:33 -04:00
Victor Shyba
25b63c988f further fixes to effective amount 2020-09-23 08:38:33 -04:00
Victor Shyba
4783e6da1f fix effective_amount 2020-09-23 08:38:33 -04:00
Victor Shyba
fa34ff88bc refactor db, make resolve censor right 2020-09-23 08:38:33 -04:00
Victor Shyba
6690e63ea4 remove commented code and unused import 2020-09-23 08:38:33 -04:00
Victor Shyba
cb98fbc619 fix not found raising, add a test 2020-09-23 08:38:33 -04:00
Victor Shyba
4fcfa0b193 add channel information on resolve protobuf and test for its presence 2020-09-23 08:38:33 -04:00
Lex Berezhny
0b34c4ea86 got tests to pass on sqlite and postgres and added filter groups at various block height scales 2020-09-21 10:26:19 -04:00
Jack Robison
5b9e40c0c0
sync block filters 2020-09-17 11:25:50 -04:00
Lex Berezhny
23f186e6a1 pylint and other fixes 2020-09-16 20:02:34 -04: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
8fa2d746e7 re-enable all github workflows 2020-08-13 11:57:10 -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
9ab8a7dd81 magic numbers 2020-08-03 12:24:13 -04:00
Lex Berezhny
dbc0da2817 event generator and better ZMQ handling 2020-07-27 10:58:57 -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
e2aae23575 commit db transaction after setting work_mem 2020-07-16 23:27:24 -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
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
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
a3d91329fe performance 2020-07-13 00:55:30 -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
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
4aa44d3b5a set work_mem for postgres 2020-07-06 22:42:15 -04:00