Jack Robison
8abfdc82b2
faster blob manager startup
2019-02-08 17:37:35 -05:00
Victor Shyba
141d68a2cd
fix write race condition
2019-02-08 02:39:29 -03:00
Victor Shyba
3a15ff4bcd
test incomplete streams, respect real length, delete on incomplete assembly
2019-02-06 15:56:06 -03:00
Jack Robison
c1c6d5bc99
fix deleting partial downloads when stopped and previous streams when updating a publish
2019-02-06 11:43:05 -05:00
Jack Robison
0e972ec2ae
refactor BlobFile.close to be non async
2019-02-06 11:00:57 -05:00
Victor Shyba
a4ced4dbd2
set verified after callback
2019-02-05 13:17:00 -03:00
Victor Shyba
7b8f42e6d0
remove dead set_should_announce code
2019-02-05 13:01:12 -03:00
Jack Robison
8cda3143f2
fix setting should_announce and blob status
2019-02-04 18:22:44 -05:00
Jack Robison
2bce7cecfa
fix sendfile on windows
2019-02-04 16:48:48 -05:00
Victor Shyba
f5bf1463af
fixes from review
2019-02-01 17:09:37 -03:00
Victor Shyba
25050fdeeb
fixes for writers (check inside lock and dont hold verified bytes)
2019-02-01 16:05:14 -03:00
Jack Robison
4bf7742c19
async lbrynet.stream
2019-01-24 00:13:15 -05:00
Jack Robison
69b259c285
async lbrynet.blob_exchange
2019-01-24 00:13:15 -05:00
Jack Robison
a5524d490c
async lbrynet.blob
2019-01-24 00:13:15 -05:00
Lex Berezhny
7a28171a72
conf no longer global
2019-01-22 18:04:17 -05:00
Lex Berezhny
16e596ec87
lots o bugs fixed discovered while using desktop app
2019-01-07 21:56:05 -05:00
Lex Berezhny
3fdcb80960
minor test fixes
2019-01-07 21:56:05 -05:00
Lex Berezhny
b5340505e5
fix blobmanager tests and dont run conf tests
2019-01-07 21:56:05 -05:00
Lex Berezhny
4bb8129bb7
fixing tests to work with asyncio daemon
2019-01-07 21:56:05 -05:00
Lex Berezhny
fb4e94b04a
asyncifying minimal amount of the old blob/p2p code
2019-01-07 21:56:05 -05:00
Jack Robison
9dc4608a62
combine StreamProgressManager and FullStreamProgressManager
...
-add wrote_first_data Deferred to FullStreamProgressManager
2018-11-26 11:36:28 -05:00
Jack Robison
fc69366092
set the download manager before creating the first deferred
2018-11-26 11:36:28 -05:00
Jack Robison
d704336f20
absolute imports
2018-11-09 16:52:46 -05:00
Jack Robison
1b4230b06e
move is_valid_blobhash to lbrynet.blob.blob_file
2018-11-09 16:52:46 -05:00
Jack Robison
a6b643bb34
move files
2018-11-09 16:52:42 -05:00
Lex Berezhny
264e6744e1
updated references after moving conf to lbrynet.extras.daemon.conf
2018-11-04 20:25:24 -05:00
Lex Berezhny
171c080d33
updated references lbrynet.file_manager -> lbrynet.blob
2018-11-04 20:25:24 -05:00
Lex Berezhny
cfc3ec2a05
merged lbrynet/file_manager into lbrynet/blob
2018-11-04 20:25:24 -05:00
Lex Berezhny
c1a9cd93ee
updated references lbrynet.crypstream -> lbrynet.blob
2018-11-04 20:25:24 -05:00
Lex Berezhny
0d4e83e167
merged lbrynet/cryptstream into lbrynet/blob
2018-11-04 20:25:24 -05:00
Lex Berezhny
f4c6dc90c9
updated references lbrynet.core -> lbrynet.p2p
2018-11-04 20:25:24 -05:00
Hugo
2e6c848c39
Upgrade Python syntax with pyupgrade --py36-plus
2018-10-23 12:02:10 -04:00
Hugo
3f704be85c
Fix spelling
2018-10-18 14:40:37 +03:00
Lex Berezhny
10b34d6b33
unnecessary list() added during py3 port
...
instead of recursive bytes2unicode use a proper JSONEncoder to conver bytes->unicode for json.dumps()
removing excessive isinstance(data, bytes) checks
py3: / -> // and list() around .items() that gets modified in loop
moved lbrynet.undecorated to where its actually used and hopefully we can delete it eventually
removed build/upload_assets.py, travis can do all this now
2018-08-24 11:40:43 -04:00
Lex Berezhny
d35d340613
fixing unit tests
...
fixing integration tests
skip running functional tests on travis until they are fixed
2018-08-24 11:37:53 -04:00
Lex Berezhny
693a3346d2
pylint fixes
2018-08-24 11:37:53 -04:00
Lex Berezhny
4ece422f48
No longer inheriting from object and added proper use of super().
2018-08-24 11:37:53 -04:00
Lex Berezhny
076af7ef43
py3 compatibility updates
2018-08-24 11:37:53 -04:00
Lex Berezhny
fb2fb5c38c
recovered an old stash
2018-08-24 11:37:25 -04:00
Victor Shyba
ff4aba9423
refactor mirroring
2018-07-30 11:22:31 -03:00
Jack Robison
679c2f403f
fix incorrectly raised DownloadCanceledError for already verified blobs
...
-make InvalidDataError message clearer
-fix BlobReflectorClient result
2018-03-22 13:23:12 -04:00
Jack Robison
e9b9118c2a
whitespace
2018-02-13 10:27:51 -05:00
Kay Kurokawa
9470b318b0
moved BLOB_SIZE in conf to MAX_BLOB_SIZE constant in blob.blob_file
2017-10-31 15:38:00 -04:00
Kay Kurokawa
96d8cb17d9
delete deprecated producer/consumer read methods from BlobFile
2017-10-31 15:38:00 -04:00
Kay Kurokawa
e07c2f7bd8
take read handle as argument instead of file path
2017-10-31 15:38:00 -04:00
Kay Kurokawa
d68ca65e41
warn if reader is garbage collected but not closed, do the same for writer
2017-10-31 15:38:00 -04:00
Jack Robison
4b9c881cd0
fix recording reader was closed
...
reader_finished() is called when the reader closes, so the `readers -=
1` here was redundant and led to readers equalling -1 instead of 0.
2017-10-11 14:45:36 -04:00
Kay Kurokawa
043758c11f
rename moved_verified_blob as saved_verified_blob
2017-10-06 17:05:16 -04:00
Kay Kurokawa
d9cc81766d
use DeferredLock instead of threading.Lock() as it can cause deadlocks
2017-10-06 17:05:10 -04:00
Jack Robison
d1511cba54
fix reading sd blob
...
TODO: add __enter__ and __exit__ methods to HashBlobReader to let it be
used as a contextmanager
2017-10-05 17:58:18 -04:00