Kay Kurokawa
39c4db3471
make sure that we don't call HashBlobWriter.finished_cb multiple times when calling close()
2017-09-20 13:59:23 -04:00
Kay Kurokawa
468a16af58
move check for write_handle to the beginning and raise exception when writing to a closed file handle
2017-09-20 13:59:23 -04:00
Kay Kurokawa
196aa24b8b
add HashBlobWriter.close_handle() function to just close the write handle
2017-09-20 13:59:22 -04:00
Kay Kurokawa
94ff4e82bc
remove HashBob._close_writer(), move the closing of write handler to HashBlobWriter
2017-09-20 13:59:22 -04:00
Kay Kurokawa
0f95712a0f
rename HashBlobWriter.cancel() as close() to be more file like
2017-09-20 13:59:22 -04:00
Kay Kurokawa
ab513d076b
fix multiple writers writing to the same buffer
2017-09-20 13:59:22 -04:00
Kay Kurokawa
f2deee7201
fireback finished_deferred after deleting from self.writers so that BlobFile state is accurate after finished_deferred is called
2017-09-20 13:59:21 -04:00
Kay Kurokawa
b655cd4fa6
add better comments for classes in HashBlob.py
2017-09-20 13:59:21 -04:00
Jack Robison
c53a189605
remove TempBlob, clean up blob classes, use FBP and BytesIO in BlobFile
2017-09-20 13:59:18 -04:00
Victor Shyba
6022aa925b
fix import
2017-09-20 13:59:18 -04:00
Victor Shyba
a6b8327fcf
save using a FBP instead of thread
2017-09-20 13:59:17 -04:00
Victor Shyba
7262e84150
use a buffer to wait for blob completion
2017-09-20 13:59:16 -04:00
Kay Kurokawa
c0a2c6c830
remove blob manager reliance on HashBlob classes
2017-08-28 10:43:57 -04:00
Jack Robison
8786133cd4
Revert "fix BlobFile._close_file"
...
reverts 5d24f7
2017-08-15 17:48:56 -04:00
Jack Robison
5d24f75ce2
fix BlobFile._close_file
2017-08-15 12:34:00 -04:00
Job Evers‐Meltzer
998892ef0b
Merge pull request #446 from lbryio/reseed
...
Script to Reseed a File
2017-02-21 06:11:32 -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
Job Evers-Meltzer
90d3a0ef9c
Add script to reseed a file
2017-02-15 06:43:41 -06:00
Job Evers-Meltzer
c211d87164
Bug fix: delete empty blobs
...
When creating a CryptStream, the last blob is always empty. Previously, this
blob wouldn't be deleted and would instead just stick around in the blobfiles
directory.
2017-01-21 17:27:19 -06:00
Job Evers‐Meltzer
6c571b5227
Blob verification fixes ( #428 )
...
* Move the blob verification to the actual Blob object
* remove the check on verification time
* remove get_blob_length from BlobManager
Removed because I'm not sure what checking verification time against ctime gets us, except some protection against an accidental modification of the blob.
2017-01-20 10:54:36 -06:00
Alex Grintsvayg
267c6cbaca
refactor conf.settings
2017-01-16 22:32:54 -05:00
Job Evers-Meltzer
5dbf9034ec
Add scripts related to querying / downloading sd blobs
2017-01-11 12:05:34 -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
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00
Job Evers-Meltzer
85dee27c92
whitespace
2016-11-14 19:33:36 -06:00
Job Evers-Meltzer
862055a6de
move settings into conf file
2016-10-27 14:31:27 -05:00
Jack
06a88599df
--http-auth flag to use authentication, refactor settings
...
settings will prefer, in order:
-defaults
-settings in config file
-settings given as environmental variables
-settings given as command line args
2016-10-19 00:12:44 -04:00
Jimmy Kiselak
25e1427a84
fix error that occurred when one connection's download was stopped due to another download finishing
2016-01-22 15:50:18 -05:00
Jimmy Kiselak
bb5cd49327
Use named loggers, fix some pep8 formatting mistakes
2015-09-08 15:42:56 -04:00
Jimmy Kiselak
7240ff6b1c
initial commit
2015-08-20 11:27:15 -04:00