Commit graph

260 commits

Author SHA1 Message Date
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
Victor Shyba
c2ca0a9467 tests: replace sleep with the proper generate call 2019-04-28 22:53:43 -04:00
Victor Shyba
de9473f75a test resolve updates file list 2019-04-28 22:53:43 -04:00
Lex Berezhny
6a2efa54ab dropped block_show command from API, users should run a full node if they need access to blocks 2019-04-27 18:03:35 -04:00
Lex Berezhny
f3c8776878 fixed --preview mode on stream_create/update 2019-04-27 13:11:32 -04:00
Lex Berezhny
539ea04039 fixed signing streams using --channel_name argument 2019-04-27 11:52:29 -04:00
Lex Berezhny
8f96b07559 updating stream claim with new file now correctly updates file list removing old file 2019-04-27 10:55:20 -04:00
Lex Berezhny
da637b9c0e added --replace option to stream_update and channel_update, publish defaults to --replace 2019-04-26 23:37:10 -04:00
Lex Berezhny
3618de1227 added --clear_fee ability to stream update command 2019-04-26 17:52:29 -04:00
Victor Shyba
bad99de5b3 add tests for channel_name, which should work for urls too 2019-04-26 17:30:21 -04:00
Jack Robison
1ffb99f9f9
rename streaming_only setting -> save_files 2019-04-24 12:44:12 -04:00
Jack Robison
a8e612773d
test 2019-04-24 09:48:04 -04:00
Jack Robison
bb7649e8ad
test file_save stopped before finished writing with streaming_only on/off 2019-04-24 09:48:04 -04:00
Jack Robison
35479dcbd2
add file_save integration tests 2019-04-24 09:48:04 -04:00
Jack Robison
5b1398b588
rename test_streaming.py 2019-04-24 09:48:04 -04:00
Jack Robison
01a81fceed
more streaming_only + save_blobs integration testing 2019-04-24 09:48:04 -04:00
Jack Robison
a14b0aa573
tests 2019-04-24 09:48:04 -04:00
Jack Robison
a1abb7c8fb
test range requests 2019-04-24 09:48:04 -04:00
Jack Robison
46b166952b
non async blob_completed callback, tests 2019-04-24 09:48:04 -04:00