Commit graph

254 commits

Author SHA1 Message Date
Lex Berezhny
16b774a69e add normalized to claims_in_channel index to make update claim faster 2019-06-04 22:28:35 -04:00
Lex Berezhny
72ea19532e added index specifically for claim_in_channel computation 2019-06-04 22:28:35 -04:00
Lex Berezhny
ad24946af3 add improved profiling to validate_channel_signatures 2019-06-04 22:28:35 -04:00
Lex Berezhny
b676907fd7 added index for claim expiration_height 2019-06-04 22:28:35 -04:00
Lex Berezhny
6965971613 delete claims and re-calculate winner when claim is expired 2019-06-04 22:28:35 -04:00
Lex Berezhny
f23aea9951 better handling for claims in abandoned channels 2019-06-04 16:04:46 -04:00
Lex Berezhny
f96c46e84a claim search fixes for filtering with valid_channel_signatures 2019-06-04 16:04:46 -04:00
Lex Berezhny
8d2c9e5785 claim_type/stream_type/media_type claim search integration test 2019-06-04 00:51:25 -04:00
Lex Berezhny
9f1f2b1781 claim search with --public_key_id 2019-06-03 21:56:17 -04:00
Lex Berezhny
26dd6d2ac7 claim search test fix 2019-05-30 21:57:49 -04:00
Lex Berezhny
5d5e36a2c2 short_url and canonical_url returned from wallet server use original claim name instead of normalized 2019-05-30 21:32:35 -04:00
Lex Berezhny
77afbcded6 wallet server, skip table join for count(*) query 2019-05-30 21:07:07 -04:00
Lex Berezhny
ae11d72f66 added claim.effective_amount index on wallet server 2019-05-30 16:13:46 -04:00
Lex Berezhny
0156aa8b00 channel import/export wip 2019-05-29 19:27:05 -04:00
hackrush
6d462ad6d8 channel export import 2019-05-29 19:27:05 -04:00
Lex Berezhny
a357208a77 cleaned up with passing tests 2019-05-28 20:51:22 -04:00
hackrush
7e1f8a56d5 Changed txo.private_key to be an object 2019-05-28 20:51:22 -04:00
hackrush
37665f2df7 Review Fixes 2019-05-28 20:51:22 -04:00
hackrush
8f3b596385 Add consolidated field to migration result 2019-05-28 20:51:22 -04:00
hackrush
e45c6fe42c Only store pubkey-private key pairs 2019-05-28 20:51:22 -04:00
hackrush
56edf62cb9 Temporary fix for github.com/PyCQA/pylint/issues/2820 2019-05-28 20:51:22 -04:00
hackrush
d367ff6ac1 Update tests and code 2019-05-28 20:51:22 -04:00
hackrush
7a78d49e13 Store public-private mappings in wallet 2019-05-28 20:51:22 -04:00
Lex Berezhny
9004f240e6 bug fixes 2019-05-27 23:18:26 -04:00
Lex Berezhny
786efa06dd fixed resolve to work with partial claim_ids 2019-05-26 14:01:06 -04:00
Lex Berezhny
b6811d55cf no longer log skipped claim insertions on wallet server, happens too often 2019-05-26 14:01:06 -04:00
Lex Berezhny
42dc0eccd6 wallet server channel key change error 2019-05-26 14:01:06 -04:00
Lex Berezhny
29bd936181 wallet server tracks claim signature 2019-05-26 14:01:06 -04:00
Lex Berezhny
9d97b90ff4 pylint 2019-05-26 14:01:06 -04:00
Lex Berezhny
370b34f860 canonical_url takes into account whether channel signature is valid 2019-05-26 14:01:06 -04:00
Lex Berezhny
affa46e0f6 initial import of canonical url via the new sql wallet server 2019-05-26 14:01:06 -04:00
Lex Berezhny
1c2029cddf fix startup error when single key account present in wallet 2019-05-22 18:31:49 -04:00
Lex Berezhny
baed974be0 several minor wallet server fixes 2019-05-20 21:35:20 -04:00
Lex Berezhny
51720d9b73 add MAX() to claimtrie GROUP BY algo to make results consistent across SQLite versions 2019-05-20 15:19:14 -04:00
Lex Berezhny
c2fbbadc69 start trending calculation as wallet server sync nears best height 2019-05-19 21:16:19 -04:00
Lex Berezhny
b8897223ec added zscore trending in wallet server 2019-05-19 21:16:19 -04:00
Lex Berezhny
2b75982446 disable trending until its fixed 2019-05-18 21:43:46 -04:00
Lex Berezhny
021ca3efd2 updated doc strings and fixed wallet server claimtrie implementation 2019-05-18 21:43:46 -04:00
Lex Berezhny
e56b72cf04 pylint and use torba master 2019-05-18 21:43:46 -04:00
Lex Berezhny
342f485ddf good stuff 2019-05-18 21:43:46 -04:00
Lex Berezhny
8fe16fbfc9 performance 2019-05-18 21:43:46 -04:00
Lex Berezhny
1e3035029e timer fix 2019-05-18 21:43:46 -04:00
Lex Berezhny
5f4c02f836 wallet server sync performance improvements 2019-05-18 21:43:46 -04:00
Lex Berezhny
03a1185e0f pylint 2019-05-18 21:43:46 -04:00
Lex Berezhny
0e1705d19e instrumented most wallet server claim related functions with timer 2019-05-18 21:43:46 -04:00
Lex Berezhny
82c739daa6 abstract _apply_constraints_for_array_attributes for wallet server 2019-05-18 21:43:46 -04:00
Lex Berezhny
4702bea9f0 claim_search --not_tags feature + integration tests 2019-05-18 21:43:46 -04:00
Lex Berezhny
9f9273bd82 working claim_search with tags 2019-05-18 21:43:46 -04:00
Lex Berezhny
091bef1ead sequence/amount_order resolve 2019-05-18 21:43:46 -04:00
Lex Berezhny
587f0b2ea8 integration tests for jsonrpc_transaction_show fixed 2019-05-18 21:43:46 -04:00