Commit graph

2885 commits

Author SHA1 Message Date
Jack Robison 250855d45d
stop failed downloader outside of GetStream 2017-09-28 14:04:02 -04:00
Jack Robison b0a3771ccf
better download errors 2017-09-28 14:04:02 -04:00
Akinwale Ariwodola 2abe85ba25 moved tests into the lbrynet package 2017-09-28 18:21:26 +01:00
Alex Grintsvayg 42a141e7b7 contributing 2017-09-28 08:14:36 -04:00
Kay Kurokawa 8c41b9ecde added changelog 2017-09-27 17:41:52 -04:00
Kay Kurokawa cf3a0e2e9d add some more tests for deleting blob files 2017-09-27 17:40:57 -04:00
Kay Kurokawa 533835a732 add comments and docstrings 2017-09-27 17:40:52 -04:00
Kay Kurokawa a4ea49cf65 read handle was not being closed after file transfer 2017-09-27 17:30:20 -04:00
Kay Kurokawa aab43c8d6c close the reader directly instead of calling close_read_handle() 2017-09-27 17:30:20 -04:00
Kay Kurokawa f6da00cbab no need to catch IOError exception here, let it propagage 2017-09-27 17:30:20 -04:00
Kay Kurokawa 3b5690614c Return HashBlobReader instead of file handle in open_for_reading() 2017-09-27 17:30:20 -04:00
Kay Kurokawa 09e25ba285 add reader, for BlobFile, change original reader to v0 2017-09-27 17:30:20 -04:00
Jack Robison df9cec66be
Bump version 0.17.0rc4 --> 0.17.0rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-26 16:53:27 -04:00
Jack Robison 53456c61b8
Bump version 0.17.0rc3 --> 0.17.0rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-25 19:11:10 -04:00
Jack Robison 8847e07f87
Bump version 0.17.0rc2 --> 0.17.0rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-25 13:30:10 -04:00
Jack Robison 414c877502
changelog 2017-09-25 13:29:36 -04:00
Jack Robison c7e4a1a1be
Merge branch 'change_to_reflector_2' 2017-09-25 13:28:30 -04:00
Kay Kurokawa 0fc116fbdb Change to reflector2 in conf 2017-09-25 13:18:07 -04:00
Jack Robison d2de0911b3
Bump version 0.17.0rc1 --> 0.17.0rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-22 14:57:32 -04:00
Jack Robison 43e4b3f7d4
Merge branch 'reflector_announce_rework' 2017-09-22 14:55:48 -04:00
Kay Kurokawa f835ef1be4
add changelog 2017-09-22 14:46:29 -04:00
Kay Kurokawa cc98cdf933
announce_head_blobs_only is True by default 2017-09-22 14:46:28 -04:00
Kay Kurokawa 4941d1d31d
test when you have a v1 blob reflect before a stream reflect over the same blobs 2017-09-22 14:46:28 -04:00
Jack Robison 4b8700268f
discover stream info for uploads via reflector v1 2017-09-22 14:46:23 -04:00
Kay Kurokawa 474ce21a51
add more tests in test_reflector, make sure stream info is not affected for blob client v1 2017-09-22 14:39:39 -04:00
Kay Kurokawa 9bf159433d
add changelog 2017-09-22 14:39:39 -04:00
Kay Kurokawa 4d5ba94a6e
add tests for checking stream info on reflector server 2017-09-22 14:39:37 -04:00
Kay Kurokawa 32feb628c3
add stream_info_manager to reflector server initialization 2017-09-22 14:39:29 -04:00
Kay Kurokawa 1a8e11ead3
work on reflector head blob announce only 2017-09-22 14:39:28 -04:00
Jack Robison 5503b0f290
Bump version 0.16.1 --> 0.17.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-22 14:38:57 -04:00
Jack Robison 24d1632faa
Merge branch 'blob-improvements' 2017-09-22 14:27:38 -04:00
Jack Robison 6cbe86d057
rename is_validated() to get_is_verified() to distinguish from verified property 2017-09-20 14:02:34 -04:00
Jack Robison dbb658adec
update changelog 2017-09-20 13:59:29 -04:00
Jack Robison ffbcd82263
fix redundant blob request to peer 2017-09-20 13:59:29 -04:00
Kay Kurokawa ab3c987034
fix lints 2017-09-20 13:59:28 -04:00
Jack Robison b6e9aa420c
fix cancelled blob request? 2017-09-20 13:59:28 -04:00
Kay Kurokawa e50ade85be
catch IOError properly 2017-09-20 13:59:28 -04:00
Kay Kurokawa ea49cddf52
catch IOError when writing 2017-09-20 13:59:28 -04:00
Jack Robison 85f25a8d99
remove debug logging 2017-09-20 13:59:27 -04:00
Jack Robison 19ff0941f5
fix ClientProtocol. _handle_response_error 2017-09-20 13:59:27 -04:00
Jack Robison adf89a9d1a
logging 2017-09-20 13:59:27 -04:00
Jack Robison 8419e1e1d5
change some ValueErrors to IOErrors 2017-09-20 13:59:26 -04:00
Jack Robison 421141b958
raise instead of assert 2017-09-20 13:59:26 -04:00
Jack Robison 96357ab833
exchange rate error 2017-09-20 13:59:26 -04:00
Jack Robison b9b5e755db
raise rather than assert 2017-09-20 13:59:26 -04:00
Jack Robison ad061b5ea3
use fixed BlobFile type 2017-09-20 13:59:25 -04:00
Kay Kurokawa 8d2cc4a4c0
lint, remove ununsed imports 2017-09-20 13:59:25 -04:00
Kay Kurokawa 3efefe8efd
use cryptography version 2.0.3 2017-09-20 13:59:25 -04:00
Kay Kurokawa af3ab96815
deleting unused BlobFile.finished_deferred 2017-09-20 13:59:25 -04:00
Kay Kurokawa e046af57fa
fix empty tail blobs in stream from being saved 2017-09-20 13:59:24 -04:00