Commit graph

378 commits

Author SHA1 Message Date
Lex Berezhny
15abf49211 censored resolve responses return appropriate error 2020-02-01 12:53:39 -05:00
jessop
f98e3320ae make review changes 2020-01-29 16:25:04 -05:00
jessop
73c958222b add duration to claim search params 2020-01-29 15:46:47 -05:00
Lex Berezhny
2cd7ea257c Added support to differentiate between filtering and blocking for content censoring 2020-01-22 08:39:14 -05:00
Lex Berezhny
d9c740f014 update tests to use 0.54.0 minimum version 2020-01-21 11:28:56 -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
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
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
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
Lex Berezhny
fd6cbe0f6c reorgs do not hang the wallet server 2019-06-19 02:17:08 -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
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
Lex Berezhny
4fb6f2bb27 review fixes 2019-06-03 06:51:09 -04:00
Oleg Silkin
17164601a1 Patches comment server interface in the SDK 2019-06-03 06:51:09 -04:00
Lex Berezhny
a7fba569cd update tests to use valid_channel_signatures argument 2019-05-29 22:47:33 -04:00
Lex Berezhny
6bfb8384e7 channel import/export working tests 2019-05-29 19:27:05 -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
e45c6fe42c Only store pubkey-private key pairs 2019-05-28 20:51:22 -04:00
hackrush
d367ff6ac1 Update tests and code 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
Jack Robison
cb6ddaf276
add blob_lru_cache_size config setting, defaults to 32 2019-05-24 12:02:58 -04:00
Lex Berezhny
07dbdef3fe dont run test_resolve_lru_cache_doesnt_persist_errors 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
342f485ddf good stuff 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
Lex Berezhny
048aa07e80 test_file_commands integration tests fixed 2019-05-18 21:43:46 -04:00
Lex Berezhny
7ca01511f4 fixing integration tests 2019-05-18 21:43:46 -04:00
Lex Berezhny
74a9e17178 .travis.yml 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
9b8be8682c massive progress 2019-05-18 21:43:46 -04:00
Lex Berezhny
2260608bb6 working sql claimtrie 2019-05-18 21:43:46 -04:00
Jack Robison
41a6e288aa
add test_resolve_lru_cache_doesnt_persist_errors 2019-05-17 18:56:28 -04:00
Victor Shyba
8afe178d62 remove supports from resolve 2019-05-17 08:55:39 -04:00
Jack Robison
41abfbdd9b
add streaming_server and streaming_get settings
-split rpc runner from range request runner
2019-05-13 22:27:48 -04:00
Victor Shyba
2439743804 probe peer instead of scheduling ping for removal 2019-05-13 14:51:03 -03:00
Victor Shyba
6f79875135 fix test 2019-05-13 14:27:49 -03:00
Victor Shyba
7c4eb416d6 dont clearbanned if there are working peers, dont remove node immediately during search 2019-05-13 13:14:08 -03:00
Victor Shyba
18af2dcd4e remove peer immediately instead of probing when its bad during search 2019-05-13 02:52:24 -03:00
Victor Shyba
0075dcc2c0 iterative find probes bad peers + test case for edge scenario Tom found 2019-05-13 02:40:04 -03:00
Victor Shyba
6e327d729b fix test 2019-05-12 04:28:58 -03:00
Victor Shyba
20022d49c1 less verbose dht tests 2019-05-12 04:13:58 -03:00
Victor Shyba
32d1563885 fix handling of invalid token 2019-05-12 04:12:12 -03:00
Victor Shyba
f5cef14d8d test get token on announce 2019-05-12 03:55:07 -03:00
Victor Shyba
bac7d99b8a add ability to re-join network on disconnect + tests 2019-05-12 03:39:11 -03:00
Victor Shyba
f02df86709 fix announce loop when there are no peers to announce 2019-05-12 00:42:19 -03:00
Victor Shyba
b7d76fd09f add integration tests, fix bug that made refresh not exclude bad peers 2019-05-11 23:30:05 -03:00
Jack Robison
324cbdcdb2
only save the content claim if stream_hash isn't None
-stream_hash being none means we don't have the file in the database
2019-05-10 11:50:20 -04:00
Lex Berezhny
558a02d187 correctly format lat/long and fee amounts in JSON RPC response 2019-05-09 16:19:49 -04:00
Lex Berezhny
9bb7b0571e fix integrat tests 2019-05-09 00:00:39 -04:00
Lex Berezhny
d98162a118 stream_update --replace also clears the channel 2019-05-09 00:00:39 -04:00
Jack Robison
a2a1ef34ab
fix tests 2019-05-08 14:55:09 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available 2019-05-08 14:11:39 -04:00
Jack Robison
d7032b12d7
add saved_file and content_fee columns to file table
-drop not null constraints for file_name and download_directory

-add migrator
2019-05-08 10:26:06 -04:00
Jack Robison
f506b3e6d4
tests 2019-05-06 18:46:26 -04:00
Victor Shyba
2247b354b3 integration test for announcing both on publish and download 2019-05-06 17:27:12 -03:00
Victor Shyba
cf7bb6a391 fix tests and stream being deleted on data timeout 2019-05-02 16:41:48 -03:00
Victor Shyba
771fe935f4 test get-delete-get respects existing files 2019-05-01 13:16:32 -03:00
Victor Shyba
3cf5c536c0 improve ban timing and downloader loop friction 2019-04-30 17:56:29 -03:00
Lex Berezhny
180cfcfb72 fix chris45 tests 2019-04-29 16:01:59 -04:00
Lex Berezhny
864c1dd901 fix test_claim_commands integration tests 2019-04-29 16:01:59 -04:00
Victor Shyba
9f83cce574 test confirmations and timestamp on file list, being updated on resolve 2019-04-29 00:26:14 -04:00
Victor Shyba
30b113d64a depth -> confirmations 2019-04-29 00:26:14 -04:00
Victor Shyba
3127cd11cf test for timestamp field on resolve 2019-04-29 00:26:14 -04:00
Victor Shyba
46c03c0cb2 refactor: move generate to blockchain call 2019-04-28 22:53:43 -04:00