Jack Robison
416472c5d8
log stream update failure
2018-10-26 13:01:46 -04:00
Hugo
2e6c848c39
Upgrade Python syntax with pyupgrade --py36-plus
2018-10-23 12:02:10 -04:00
Lex Berezhny
d4e76500fb
removed unused import
2018-10-10 00:02:50 -04:00
Lex Berezhny
f898bb3d0e
database index fix
2018-10-09 23:58:32 -04:00
Victor Shyba
2a285d139a
bump attempts to 5 and properly check failure
2018-08-27 22:51:16 -03:00
Lex Berezhny
3686b1d970
changes from jacks review
2018-08-24 11:42:35 -04:00
Victor Shyba
0841c90e6c
fix encoding on download
2018-08-24 11:42:06 -04:00
Lex Berezhny
23ede44bff
fix blob downloader test on py3
...
not tying lbrynet db to wallet db just yet
2018-08-24 11:40:43 -04: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
4ece422f48
No longer inheriting from object and added proper use of super().
2018-08-24 11:37:53 -04:00
Lex Berezhny
ba80c0e594
py2(iteritems, itervalues) -> py3(items, values)
2018-08-24 11:37:53 -04:00
Lex Berezhny
1a3eaf7e6a
unhexlify/hexlify some values in database/storage.py
2018-08-24 11:37:53 -04:00
hackrush
c01716a6c0
Using simplejson and fixed some encodes and decodes
2018-08-24 11:37:53 -04:00
Lex Berezhny
076af7ef43
py3 compatibility updates
2018-08-24 11:37:53 -04:00
Lex Berezhny
43bef9447c
progress on publish command: py3 porting and integration tests
2018-08-24 11:37:53 -04:00
Lex Berezhny
a4e9f3100f
updating wallet tests
2018-08-24 11:37:25 -04:00
Lex Berezhny
fb2fb5c38c
recovered an old stash
2018-08-24 11:37:25 -04:00
Lex Berezhny
1d2de27536
import fix
2018-08-24 11:37:25 -04:00
Jack Robison
108d2a033b
fix attribute error when reflector component is disabled
2018-08-09 08:32:43 -04:00
Jack Robison
aef561d78b
refactor status results
2018-08-03 12:33:31 -04:00
Jack Robison
314400a1bd
move looping call to check announcement status to SQLiteStorage
2018-08-03 11:37:10 -04:00
Jack Robison
7fe92d2df0
load all finished blobs into the node datastore
2018-07-02 14:31:09 -04:00
Jack Robison
c2dc872a54
fix file manager startup locking up when there are many files in a channel
2018-06-29 21:45:30 -04:00
Jack Robison
61a7fd66bf
batch insert/update claims to sqlite
2018-06-20 16:08:12 -04:00
Jack Robison
70355145a0
fix race condition when inserting a blob to the database
2018-06-14 15:15:16 -04:00
Victor Shyba
b91181e640
refactor: simplify add_completed_blob + changelog
2018-05-30 16:19:49 -03:00
Victor Shyba
b6cedfec56
batch-start the file manager
2018-05-11 12:17:55 -03:00
Victor Shyba
ca86af736e
add batching support to get_supports and tests
2018-05-11 12:17:55 -03:00
Victor Shyba
d55ded78ee
get claim with channel_name from a stream hash in a single query
2018-05-11 12:17:55 -03:00
Victor Shyba
acd330aa2a
get claim info and channel name using a single query
2018-05-11 12:17:55 -03:00
Jack Robison
aa4240de85
track successful reflector uploads in sqlite to minimize how many streams are attempted by auto re-reflect
...
-increase the default `auto_re_reflect_interval` to a day
2018-05-08 14:41:56 -04:00
Jack Robison
492858596e
add single_announce column to blob table
...
-remove deprecated blob_announce_all function
-remove announce_all parameter to blob_announce
-change blob_announce to be asynchronous
2018-03-28 18:50:24 -04:00
Jack Robison
a41bbd5e27
pylint and tests
2018-03-28 18:50:18 -04:00
Jack Robison
c5bf64cf0a
refactor DHTHashAnnouncer
...
-remove hash_announcer from Node and DiskBlobManager
-remove announcement related functions from DiskBlobManager
-update SQLiteStorage to store announcement times and provide blob hashes needing to be announced
-use dataExpireTimeout from lbrynet.dht.constants for re-announce timing
-use DeferredSemaphore for concurrent blob announcement
2018-03-28 15:53:51 -04:00
Jack Robison
333d70860b
add last_announced_time to blob table
2018-03-28 15:53:50 -04:00
Jack Robison
43c73b9abf
fix slow sqlite query
2018-03-19 13:31:05 -04:00
Jack Robison
0313f857ba
don't try to delete the stream terminator from the blob table when deleting a stream
2018-03-15 17:44:54 -04:00
Jack Robison
f07e696c31
fix get_pending_blobs_for_stream
2018-03-09 14:07:26 -05:00
Jack Robison
81de5fbbf4
verify_will_announce_head_and_sd_blobs
2018-03-08 16:46:39 -05:00
Jack Robison
a12b011b1e
get file claim info by outpoint
2018-03-02 18:25:53 -05:00
Jack Robison
7862ee6715
fix blob_announce command
2018-03-02 16:46:07 -05:00
Jack Robison
01c4c6ed97
fetch claim heights
2018-03-02 16:46:02 -05:00
Jack Robison
1958327796
comments and logging
2018-03-02 15:34:34 -05:00
Jack Robison
76cb674ebb
fix updating content claims for existing files
...
-update lbry file attributes as soon as a change to the content claim occurs
2018-03-02 15:34:20 -05:00
Jack Robison
91229aac6e
remove old stream on a publish update
2018-03-02 15:33:48 -05:00
Jack Robison
96d435cebd
don't import reactor, set in SqliteConnection
2018-03-02 15:15:42 -05:00
Jack Robison
bceaaa5724
delay re-running query after database locked error
2018-03-02 15:15:41 -05:00
Jack Robison
a7567361dc
fix file name for files that already exist
2018-02-13 15:02:06 -05:00
Jack Robison
9e11c075c6
cleaner foreign keys
2018-02-13 10:27:52 -05:00