Commit graph

31 commits

Author SHA1 Message Date
Kay Kurokawa
0b5051823f fix case when downloader is stopped before sd_hash is loaded 2017-06-15 14:31:02 -04:00
Jack Robison
4224d63603 fix sd hash race condition when loading lbry file attributes 2017-05-11 14:31:50 -04:00
Jack Robison
2a8a984efa add claim and uri caching to wallet and wallet storage 2017-05-03 17:14:36 -04:00
Jack Robison
a132496643 fix filter files by outpoint 2017-03-08 09:31:36 -05:00
Jack Robison
9744287370 change attribute "uri" to "name" 2017-03-07 18:29:44 -05:00
Jack Robison
3ddf8680fb blob commands
refactor blob_get
add descriptor_get
add blob_delete
refactor blob_list
2017-02-16 11:20:02 -05:00
Jack Robison
0f907a209b add EncryptedFileDownloader.load_file_attributes 2017-02-16 09:12:47 -05:00
jobevers
9e2cda0cdc remove more upload_allowed arguments 2017-02-15 06:48:58 -06:00
jobevers
fe4dac8236 change downloader options to data_rate 2017-02-15 06:48:58 -06:00
Job Evers-Meltzer
a38e5c855e Remove upload_allowed attribute
This is unused and largely pulluting the argument list
of too many functions.
2017-02-15 06:48:50 -06:00
jobevers
993d606bc6 add logging on downloader start 2017-02-14 10:26:03 -06:00
jobevers
ffb48ef287 bugfix: on restore, dont wait for download to finish 2017-02-14 10:25:34 -06:00
jobevers
62fcbc23e3 bugfix: exception needs string interpolation 2017-02-14 10:25:03 -06:00
Jack Robison
2190f4ac85 refactor GetStream
-convert to inline callbacks

-return more errors than just timeouts

-delete on timeout

-have a more understandable return condition (first data blob having
downloaded)
2017-02-13 15:14:54 -05:00
Jack Robison
7720724ec0 reflect lbry_files in looping call in EncryptedFileManager
-remove ManagedEncryptedFileDownloader._reupload

-clean up reflector functions in Daemon, move to reflector.reupload

-check ConnectionLost in reflector client

-close sd blob file handle when it wont be sent (otherwise read handle stays open)

-log reflector sd info

-give reflector client factory a lbry file
2017-02-13 15:13:37 -05:00
Jack Robison
8de6bd7c7a convert EncryptedFileDownloader to inlineCallbacks 2017-02-13 13:07:27 -05:00
Alex Grintsvayg
267c6cbaca refactor conf.settings 2017-01-16 22:32:54 -05:00
Job Evers-Meltzer
e61260a263 merge with change stop to be an inlineCallback 2017-01-13 08:24:07 -06:00
Job Evers-Meltzer
a9261b2032 change stop to be an inlineCallback 2017-01-13 08:24:07 -06:00
Job Evers-Meltzer
227323b7a4 convert more to inlineCallbacks 2016-12-30 13:27:16 -06:00
Job Evers-Meltzer
39b2e44492 Replace settings with conf.settings
In the next commit I change conf.settings to be initialized
at runtime instead of load time and so any import of
`from lbrynet.conf import settings` will be and stay None if
it happens before the initialization.
2016-12-30 13:05:18 -06:00
Job Evers-Meltzer
fa29c92760 Add setting to disable reuploading to reflector 2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
b64fa51567 fixup long lines 2016-12-07 09:38:34 -05:00
Jack
bfcd84a568 use nOut in addition with txid to identify claims 2016-11-25 16:59:23 -05:00
Jack
da601818a3 return from restore_status properly 2016-10-28 16:47:45 -04:00
Jack
035a1cf758 feedback from job 2016-10-28 15:48:51 -04:00
Jack
d4785849e1 remove unused imports 2016-10-28 14:22:37 -04:00
Jack
369cd516c0 move availability check and fix from ManagedEncryptedFileDownloader to ReflectorAvailabilityHelper 2016-10-26 16:17:01 -04:00
Jack
3dd99fdc92 upload unavailable streams to reflector on startup 2016-10-20 15:40:35 -04:00
Jack
180d981ed8 fix more functional tests 2016-10-03 16:37:27 -04:00
Job Evers-Meltzer
eb783b6b6f rename File to EncryptedFile 2016-09-27 11:26:01 -07:00
Renamed from lbrynet/lbryfilemanager/FileDownloader.py (Browse further)