Commit graph

783 commits

Author SHA1 Message Date
Lex Berezhny
d9c740f014 update tests to use 0.54.0 minimum version 2020-01-21 11:28:56 -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
Jack Robison
1bf51e855d
check minimum server version from wallet client 2020-01-15 15:55:39 -05:00
Victor Shyba
7d9d0c15d3 fix test_direct_sync flakiness 2020-01-13 21:17:10 -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
Oleg Silkin
2a7911c7d6 rename jsonrpc_comment_edit -> jsonrpc_comment_update 2020-01-09 19:28:45 -05:00
Oleg Silkin
832020fa81 Makes claim_id and parent_id mutually exclusive for comment create 2020-01-09 19:28:45 -05:00
Oleg Silkin
a04ba606e6 Adds test for comment_edit 2020-01-09 19:28:45 -05:00
Oleg Silkin
ebf2e7ee70 Better validation logic; 2020-01-09 19:28:45 -05:00
Oleg Silkin
c0a6f6fd08 Adds validator methods 2020-01-09 19:28:45 -05:00
Lex Berezhny
e9992ed6b4 fix test 2020-01-06 12:17:09 -05:00
Jack Robison
4094b02ae9
update test 2020-01-03 16:00:00 -05:00
Lex Berezhny
5bf35de955 fix blockchain integration tests 2020-01-03 03:08:15 -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
08bec02170 added __init__ 2020-01-01 15:57:56 -05:00
Lex Berezhny
c9f27b83e1 split integration tests into three jobs 2020-01-01 15:57:56 -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
Lex Berezhny
36e3f1b3ec integration test fix 2019-06-19 06:33:12 -04:00
Lex Berezhny
564d6bdc5d more refactoring 2019-06-19 06:33:12 -04:00
Victor Shyba
5876d5c295 cover more edge cases, add tests 2019-06-19 06:33:12 -04:00
Victor Shyba
54e53932bd fix bug: fee address defaults respect replace 2019-06-19 06:33:12 -04:00
Victor Shyba
c9b3c2e6aa change test to use preview=True on broadcast 2019-06-19 06:33:12 -04:00
Victor Shyba
912c102d9a fix updating fee address to claim address, fix testing for malformed claims 2019-06-19 06:33:12 -04:00
Victor Shyba
2b7cbf9759 get without fee address defaults pays to claim address 2019-06-19 06:33:12 -04:00
Oleg Silkin
1cc6b2e31e More integration unittests and mock server fixes 2019-06-19 06:25:26 -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
Lex Berezhny
fd6cbe0f6c reorgs do not hang the wallet server 2019-06-19 02:17:08 -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
69345b4b0e integrationt tests fixed 2019-06-04 16:04:46 -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
9dbf47916b add public_key_id to channel integration tests 2019-06-03 21:56:17 -04:00
Lex Berezhny
9f1f2b1781 claim search with --public_key_id 2019-06-03 21:56:17 -04:00