Commit graph

5567 commits

Author SHA1 Message Date
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
6f06026511 announcer goes idle if no peers in routing table 2019-05-12 01:10:05 -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
Victor Shyba
e675f1387c remove peer junction and some refactoring 2019-05-11 04:58:56 -03:00
Victor Shyba
0da2827c78 fix dht deadlock 2019-05-10 19:54:59 -03:00
Jack Robison
309cfc840c v0.37.0rc7 2019-05-10 15:34:38 -04:00
Jack Robison
68ee31b62a
Merge pull request #2123 from lbryio/stop-timed-out-downloads
Stop timed out downloads
2019-05-10 15:29:33 -04:00
Jack Robison
ad2da24d64
improve test 2019-05-10 14:57:04 -04:00
Jack Robison
648dbcc36b
add timeout to blob downloads after the head blob, stop timed out streams 2019-05-10 14:50:01 -04:00
Victor Shyba
e59e96190e
fix peer search using inexistent variable, fix test to cover it 2019-05-10 13:49:35 -04:00
Jack Robison
7d2f592bb5
Merge pull request #2107 from lbryio/fix-update-file-we-dont-have
fix stream_update failing on metadata only updates for files we don't have
2019-05-10 12:28:53 -04:00
Jack Robison
1a182bc9bd
bytes/str 2019-05-10 11:50:20 -04: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
6c0c0ee322 added logging to publish command 2019-05-10 11:43:34 -04:00
Jack Robison
1e54271d8a
Merge pull request #2105 from lbryio/fix-store-content-fee
fix store content fee
2019-05-09 18:47:30 -04:00
Jack Robison
54b9ed6cb2
fix store content fee 2019-05-09 18:14:54 -04:00
Lex Berezhny
558a02d187 correctly format lat/long and fee amounts in JSON RPC response 2019-05-09 16:19:49 -04:00
Jack Robison
3567b331c0 v0.37.0rc6 2019-05-09 11:52:34 -04:00
Jack Robison
9e4cf3c995
Merge pull request #2048 from lbryio/timeout_settings
Adjust default max_connections_per_download and peer_connect_timeout settings
2019-05-09 11:14:59 -04:00
Thomas Zarebczan
db1d547b19
adjust the default max_connections_per_download and peer_connect_timeout 2019-05-09 10:38:32 -04:00
Jack Robison
c31efd780b
docs 2019-05-09 10:32:07 -04:00
Jack Robison
7cdb7987e3
Merge pull request #2102 from lbryio/shutdown_fast
Set a shutdown timeout for TCPSite to avoid hanging on exit
2019-05-09 10:24:13 -04:00
Victor Shyba
ec07037e88 set shutdown_timeout on TCPSite 2019-05-09 01:01:07 -03: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
c5ae59bff7
Merge pull request #2100 from lbryio/junction_fixes
DHT junction fixes for cases that can lock up
2019-05-08 23:52:54 -04:00
Victor Shyba
efbf2f49a9 fix generator junction 2019-05-08 23:02:38 -03:00
Victor Shyba
77c69f661d add locking cases scenarios 2019-05-08 23:02:38 -03:00
Victor Shyba
2e09d2adfa close search on transport close 2019-05-08 23:02:38 -03:00
Jack Robison
8620a0e424
Merge pull request #2095 from lbryio/add-content-fee-and-saved-file-to-db
add saved_file and content_fee columns to file table
2019-05-08 20:37:56 -04:00
Jack Robison
e2c123456b
write decrypted blob data from run_in_executor 2019-05-08 16:07:32 -04:00
Jack Robison
c9be79f062
prevent re-migrating 10 to 11 2019-05-08 15:13:07 -04:00
Jack Robison
a2a1ef34ab
fix tests 2019-05-08 14:55:09 -04:00
Jack Robison
761a2b235c
set written_bytes, download_path, file_name, and download_directory to None if the file doesn't exist 2019-05-08 14:11:44 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available 2019-05-08 14:11:39 -04:00
Jack Robison
a480b2d25f
fix race when closing blob client protocol after getting a response 2019-05-08 12:21:11 -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
84381ff76c
Merge pull request #2093 from lbryio/fix_announce_on_storage
Refactor announcer + fixups for last db migrator code
2019-05-07 10:46:12 -04:00
Victor Shyba
007dd43861 re-raise cancelled errors 2019-05-07 11:10:49 -03:00
Victor Shyba
1bc4e4b702 typo on logging, announcements logging is info, not warning 2019-05-07 11:10:49 -03:00
Victor Shyba
b91f27219d use fetchall as there is an update while iterating 2019-05-07 11:10:49 -03:00
Victor Shyba
dc4560cc9a refactor announcer 2019-05-07 11:10:49 -03:00
Victor Shyba
84b471d486 limit batch size on announcer test so it covers batching logic 2019-05-07 11:10:49 -03:00
Victor Shyba
c6a3c05a0c add missing migrator line 2019-05-07 11:10:49 -03:00
Jack Robison
dd665a758d
Merge pull request #2065 from lbryio/streaming-bug-fixes
Streaming bug fixes
2019-05-07 10:10:39 -04:00