Commit graph

103 commits

Author SHA1 Message Date
Jack Robison
676f0015aa
refactor BlobFile into AbstractBlob, BlobFile, and BlobBuffer classes 2019-04-24 09:48:04 -04:00
Jack Robison
b230d8fbcb
rename BlobFileManager -> BlobManager 2019-04-24 09:48:04 -04:00
Lex Berezhny
19f300cc45 added protobuf to get and file_list commands 2019-04-21 14:28:43 -04:00
Lex Berezhny
7824de655e updated stream manager to pull protobuf instead of hex from resolve response 2019-04-21 14:28:43 -04:00
Lex Berezhny
71f5061848 exposed new protobuf fields in APIs and updated tests 2019-04-21 00:45:51 -04:00
Lex Berezhny
fa9a4a75c6 update to an even newer protobufs 2019-04-20 02:33:41 -04:00
Lex Berezhny
5f8482bdb7 hash -> sd_hash, encoding fixes, update to new protobufs 2019-03-27 21:57:22 -04:00
Lex Berezhny
67dcede2d8 lots of stuff deleted 2019-03-25 22:54:08 -04:00
Lex Berezhny
d47575e8e0 progress 2019-03-25 22:54:08 -04:00
Lex Berezhny
ea09aca175 pylint fixes and ClaimDict->Claim 2019-03-25 22:54:08 -04:00
Lex Berezhny
8259d7c680 txo.claim_hash and other fixes related to proto3 refactor 2019-03-25 22:54:08 -04:00
Lex Berezhny
2bea0f697a pylint 2019-03-25 22:54:08 -04:00
Lex Berezhny
1d68bef6f2 client side pretty much done 2019-03-25 22:54:08 -04:00
Jack Robison
c9b2829227
fix/test fixed_peer_delay and added_fixed_peers 2019-03-14 15:08:26 -04:00
Jack Robison
4f2f8b16f3
fix pending downloads not being removed 2019-03-14 13:52:00 -04:00
Jack Robison
2ab2b846b1
fix default download timeout not being set 2019-03-14 13:07:11 -04:00
Jack Robison
ab5d71ff61
fix the time to the head blob including the time to the sd blob in analytics 2019-03-13 16:24:23 -04:00
Jack Robison
993cb43e5b fix tests
-fix cleanup of a failed download
2019-03-12 20:22:01 -04:00
Jack Robison
5d212a0f82 time to first bytes analytics 2019-03-12 20:22:01 -04:00
Jack Robison
9de3f3ff09
don't block on sending download analytics events 2019-03-01 15:22:19 -05:00
Jack Robison
df8934d472
restore old download analytics and update tests 2019-03-01 14:50:06 -05:00
Jack Robison
d95903d219
update aiohttp and pylint 2019-02-28 12:04:07 -05:00
Victor Shyba
9f071bbe36
pylint 2019-02-26 17:42:45 -05:00
Victor Shyba
7a96e742f2
stop trapping CancelledError 2019-02-26 17:42:45 -05:00
Victor Shyba
fcdd9295b4 delete upon failing to decode JSON from sd blob 2019-02-21 20:53:21 -03:00
Victor Shyba
4e7d88311f raise proper exception on undecode-able blobs 2019-02-21 20:42:51 -03:00
Victor Shyba
38ed212c01 refactor, dont call storage from blob_manager + missing await 2019-02-19 21:45:14 -03:00
Victor Shyba
d035c13883 file_path can be None, add helper to check if stream output file exists instead 2019-02-19 21:45:14 -03:00
Lex Berezhny
0fdd2ae178 added tx to JSON response from get 2019-02-18 22:53:11 -05:00
Victor Shyba
d2150cf142 fix balance check 2019-02-18 22:53:11 -05:00
Victor Shyba
5c217f1544 resovle reflector IP before adding it 2019-02-15 21:20:06 -03:00
Jack Robison
fd081496c0
fix blocking on data being written for resumed streams 2019-02-15 17:35:46 -05:00
Jack Robison
0d558bd552
fix default file list sorting 2019-02-15 17:26:24 -05:00
Jack Robison
ca835f3f80
fix 1883 2019-02-15 16:26:13 -05:00
Jack Robison
dbb6ba6241
recover streams with missing sd blobs, handle previous sd blob bugs
-test download and recover stream with old key sorting
2019-02-15 15:21:29 -05:00
Victor Shyba
a49f479a5f move wait to where its needed on assembler 2019-02-15 10:26:05 -05:00
Jack Robison
56c41b2fea
fix integration test
-cancel running reflector uploads from publishes upon shutdown
-refactor blob.delete to be non-async
-delete blobs synchronously
2019-02-14 15:43:26 -05:00
Victor Shyba
04f70d1f31 stop when data timeout 2019-02-14 00:10:44 -05:00
Victor Shyba
dbc8cfe5ae delete incomplete files on assembler stop 2019-02-14 00:10:44 -05:00
Victor Shyba
b6df2b9d28 missing None for optional field + pylint 2019-02-13 23:33:49 -05:00
Victor Shyba
5c1ab42277 resume should put the stream into wait as done usually on get calls 2019-02-13 23:33:49 -05:00
Victor Shyba
bbdc96e762 file_name as a property of managed stream, to reflect internal changes 2019-02-13 23:33:49 -05:00
Victor Shyba
fc0c949187 properly update file name on downloader/assembler 2019-02-13 23:33:49 -05:00
Victor Shyba
37bb765a2e resume downloads if DHT disabled 2019-02-13 23:33:49 -05:00
Victor Shyba
e2170ec83d fix download timeout types 2019-02-12 20:58:31 -05:00
Jack Robison
c9d54bb049
fix max_key_fee 2019-02-11 15:26:13 -05:00
Jack Robison
6386815a29
fix reflect_streams not being followed 2019-02-08 20:13:26 -05:00
Jack Robison
868110a6f2
populate stream manager with a single batch query 2019-02-08 16:06:35 -05:00
Victor Shyba
e2b06677b5 defer db insert during downloads 2019-02-08 03:45:23 -03:00
Victor Shyba
c06ec6cd69 manage connections, reusing them when possible 2019-02-08 02:27:58 -03:00