Commit graph

1876 commits

Author SHA1 Message Date
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
487f2490ab
simplify CryptStreamCreator 2017-09-20 13:59:20 -04:00
Jack Robison
90bce0b375
fix setting _final_blob_num in EncryptedFileMetadataHandler 2017-09-20 13:59:20 -04:00
Jack Robison
b98cd24e10
don't reflect empty last blob 2017-09-20 13:59:20 -04:00
Jack Robison
070978248e
return new lbry file status from _change_file_status 2017-09-20 13:59:20 -04:00
Jack Robison
100c18d9b6
send CryptBlobInfo (not a CryptStreamBlobMaker) to DiskBlobManager.creator_finished 2017-09-20 13:59:19 -04:00
Jack Robison
e3cc3992b0
remove unnecessary functions 2017-09-20 13:59:19 -04:00
Jack Robison
cfe73a8627
fix hanging streamprogressmanager 2017-09-20 13:59:19 -04:00
Jack Robison
632fd764fa
show more information for a blob padding error 2017-09-20 13:59:19 -04:00
Jack Robison
a72fef07c0
inlinecallbacks 2017-09-20 13:59:18 -04:00
Jack Robison
1148a533bf
raise NotImplementedError on StreamCreator._blob_finished (sanity check) 2017-09-20 13:59:18 -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
e69ba64707
pycrypt -> cryptography + remove manual padding, use lib 2017-09-20 13:59:17 -04:00
Victor Shyba
d2fc1daf26
use hashlib 2017-09-20 13:59:17 -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
Victor Shyba
5d69e74010
use WAL on sqlite3 2017-09-20 13:59:16 -04:00
Victor Shyba
5bbb29fd79
add error handling to blobs creation 2017-09-20 13:59:16 -04:00
Alex Grintsvayg
c98197f266 deprecated blob_announce_all 2017-09-20 11:16:10 -04:00
Jack Robison
1b2bd871f4
Bump version 0.16.1rc1 --> 0.16.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-20 10:24:44 -04:00
Jack Robison
747b098d8b
Bump version 0.16.0 --> 0.16.1rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-20 09:55:57 -04:00
Jack Robison
88fcd5b711
update _get_history for change in lbryum 2017-09-20 09:51:52 -04:00
Jack Robison
9bb03757ec
docopt fix 2017-09-20 09:50:48 -04:00
Jack Robison
1f5b2203d7
Bump version 0.16.0rc9 --> 0.16.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-18 10:14:41 -04:00
Jack Robison
1a503dd94b
Bump version 0.16.0rc8 --> 0.16.0rc9
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-15 19:45:39 -04:00
Alex Grintsvayg
8681686395 why would written_bytes ever be False? 2017-09-12 16:00:32 -04:00
Alex Grintsvayg
810089cd99 not sure why this is here 2017-09-12 13:47:08 -04:00
Mike Putnam
e7094a92ab Docs spelling correction. (#873)
Docs spelling correction
2017-09-12 09:41:11 -04:00
Jack Robison
0f4dc67fb9
Bump version 0.16.0rc7 --> 0.16.0rc8
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-11 12:09:40 -04:00
Kay Kurokawa
66152a8f93 turn on head blob announce seek for clients 2017-09-11 11:34:26 -04:00
Jack Robison
300426b912
Bump version 0.16.0rc6 --> 0.16.0rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-07 14:13:04 -04:00
Jack Robison
5f9509db96
don't use google finance 2017-09-07 13:55:36 -04:00
Jack Robison
2d39f3b2ab
Bump version 0.16.0rc5 --> 0.16.0rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-06 11:01:49 -04:00
Jack Robison
dd036d15c8
update decode_address import from lbryschema
https://github.com/lbryio/lbryschema/pull/16
2017-09-06 10:58:52 -04:00
Jack Robison
1487ed713e
Bump version 0.16.0rc4 --> 0.16.0rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-05 15:43:16 -04:00
Jack Robison
7e107ba87e
Bump version 0.16.0rc3 --> 0.16.0rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-05 15:01:47 -04:00
Jack Robison
c0365498ba
Bump version 0.16.0rc2 --> 0.16.0rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-04 09:02:59 -04:00
Jack Robison
1dda382e75
Bump version 0.16.0rc1 --> 0.16.0rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-01 10:44:20 -04:00
Jack Robison
5ece58b716
pylint 2017-09-01 10:43:46 -04:00
Jack Robison
15879e87f5
Bump version 0.15.2rc3 --> 0.16.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-01 10:38:11 -04:00
Jack Robison
a12c0be0b9
Fix uncaught error when shutting down after a failed daemon startup 2017-09-01 10:32:47 -04:00
Jack Robison
f1f543ee77
Bump version 0.15.2rc2 --> 0.15.2rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-31 17:09:34 -04:00
hackrush
fbd37c591f Expose include_tip_info param
Goes with lbryio/lbryum#153

Updated changelog and added docs for include_tip_info

Added proper doc for Returns of transaction_list

Fixed some other docs
2017-09-01 02:15:24 +05:30