Commit graph

412 commits

Author SHA1 Message Date
Victor Shyba
237a8965eb fix tests 2020-02-17 18:00:23 -03:00
Lex Berezhny
6b745c53dc make sure SQL IN works with python set 2020-02-12 11:41:32 -05:00
Lex Berezhny
dcb1b64696 SQL generation fix to handle IN operation for one value lists 2020-02-12 10:31:27 -05:00
Victor Shyba
f14004e56b update url regex to cases tom reported 2020-02-09 17:55:29 -05:00
Jack Robison
111871bb28
update test 2020-02-03 23:00:45 -05:00
Lex Berezhny
d5eed91e7f fix sql unit tests 2020-02-01 13:03:39 -05:00
Jack Robison
3b2d635390
Revert "Revert "configurable trending algorithms""
This reverts commit 55e08f96a6.
2020-01-28 15:53:57 -05:00
Jack Robison
55e08f96a6
Revert "configurable trending algorithms" 2020-01-28 15:03:09 -05:00
Lex Berezhny
01ed71b243 configurable trending 2020-01-28 11:58:27 -05:00
Lex Berezhny
2cd7ea257c Added support to differentiate between filtering and blocking for content censoring 2020-01-22 08:39:14 -05:00
Alex Grintsvayg
474c0f980e
skip randomly-failing dht test 2020-01-20 14:16:52 -05:00
Lex Berezhny
345196aa3b
add pagination for claim_search 2020-01-20 12:49:42 -05:00
Lex Berezhny
86cedfe8b2
using multiprocessing.Manager to keep blocked content synced between readers 2020-01-20 12:49:41 -05:00
Victor Shyba
d34f5c2712 fix None in history, check records after wait 2020-01-13 21:17:10 -05:00
Victor Shyba
a56dd66c98 separate cases and make it deterministic 2020-01-13 21:17:10 -05:00
Victor Shyba
3946bc6662 fix and document new edge case on tests 2020-01-13 21:17:10 -05:00
Victor Shyba
6647dd8f08 fix decrypting invalid bytes with valid padding 2020-01-13 21:17:10 -05:00
Jack Robison
08f6520557
bare excepts 2020-01-10 12:27:56 -05:00
Lex Berezhny
b3903f4ffd fix import in unit test 2020-01-03 03:08:15 -05:00
Lex Berezhny
3d9841b61a fix unit wallet tests 2020-01-03 03:08:15 -05:00
Lex Berezhny
b79f2b86b5 renamed Daemon.py to daemon.py per pylint 2020-01-03 03:08:15 -05:00
Lex Berezhny
386fd7a459 updated imports after renaming component files 2020-01-03 03:08:15 -05:00
Victor Shyba
10fbce056b dht constants -> CONSTANTS (linting) 2020-01-03 03:08:15 -05:00
Lex Berezhny
fb1af9e3d2 update imports and more merging 2020-01-03 03:08:15 -05:00
Lex Berezhny
2968f74c6c moved lbry up one level 2020-01-01 15:57:56 -05:00
Lex Berezhny
85d7adc0b5 moved lbrynet into lbry directory 2019-06-20 22:50:39 -04:00
Oleg Silkin
7fa797712a Adds comment signature unit testing 2019-06-19 06:25:26 -04:00
Oleg Silkin
636f36ebad Moves get_channel,get_stream out of Class into their own functions 2019-06-19 06:25:26 -04:00
Jack Robison
2ad22d7d19
paginated deterministically shuffled find_value
- fixes https://github.com/lbryio/lbry/issues/2244
- reduce the max DHT datagram size to 1400 bytes
- truncate `contacts` field of find_value response datagrams to the k closest (8)
- truncate peers in find_node response datagrams to the 2k closest (16)
- remove `contacts` field from find_value responses beyond `page` 0 (the first/default)
- deterministically shuffle the peers for a blob in a find_value response
- add optional `page` argument to `find_value` and `p` field to find_value responses containing the number of pages of k peers for the blob
- test one blob being announced by 150 different peers to one peer
- speed up pylint and remove some disabled checks
2019-06-18 22:52:39 -04:00
Jack Robison
adb7edd3b2
test chunked reflector server response 2019-06-07 17:26:31 -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
d8630a02d9 Strings setting works like Server from CLI 2019-06-04 18:44:21 -04:00
Lex Berezhny
76df239d1a start command accepts server lists consistent with other commands 2019-06-03 21:22:24 -04:00
Lex Berezhny
1b35cef77a fix wallet.server.test_sqldb test 2019-05-28 20:51:22 -04:00
Lex Berezhny
9004f240e6 bug fixes 2019-05-27 23:18:26 -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
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
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
021ca3efd2 updated doc strings and fixed wallet server claimtrie implementation 2019-05-18 21:43:46 -04:00
Lex Berezhny
342f485ddf good stuff 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
d2608bdf43 fixed wallet/server/test_sqldb.py tests 2019-05-18 21:43:46 -04:00
Lex Berezhny
a459ee34be test_url unit test fix 2019-05-18 21:43:46 -04:00
Lex Berezhny
9accbfcf8b move exception handling into is_signed_by 2019-05-18 21:43:46 -04:00
Lex Berezhny
03455310ae rewrote URL parser 2019-05-18 21:43:46 -04:00
Lex Berezhny
2260608bb6 working sql claimtrie 2019-05-18 21:43:46 -04:00
Jack Robison
6ecc22f2c7
fix refreshing peers in the datastore 2019-05-17 12:22:47 -04:00