Commit graph

2782 commits

Author SHA1 Message Date
Lex Berezhny
aab42e56bd
removing lbryum 2018-08-24 11:37:25 -04:00
Lex Berezhny
1368a6e074
wallet manager refactoring
test uses manager.send_amount_to_address instead of manually creating tx
2018-08-24 11:37:25 -04:00
Lex Berezhny
80990b959c
moved files around 2018-08-24 11:37:25 -04:00
Lex Berezhny
053b6d1c80
removing lbryum from requirements 2018-08-24 11:37:25 -04:00
Lex Berezhny
692d8e8e1a
new wallet becoming drop-in replacement for old lbryum wallet 2018-08-24 11:37:25 -04:00
Lex Berezhny
5e71dcbaf0
wip: implementation is now generic and supports multiple currencies 2018-08-24 11:37:25 -04:00
Lex Berezhny
83958604d5
finally generating fully signed tx submittable to lbrycrd 2018-08-24 11:37:25 -04:00
Lex Berezhny
dcd8a6bb0e
branch and bound based coin selection with random draw fallback 2018-08-24 11:37:25 -04:00
Lex Berezhny
7161a0edb9
new bitcoin script parser 2018-08-24 11:37:25 -04:00
Lex Berezhny
0fd160e6e6
a lot more stuff 2018-08-24 11:37:25 -04:00
Lex Berezhny
ca8b2dd83e
wip: initial import of twisted based wallet 2018-08-24 11:37:25 -04:00
Jack Robison
79d1da5ff8
Bump version 0.21.2rc3 --> 0.21.2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 23:43:35 -04:00
Jack Robison
d73252b11a
Bump version 0.21.2rc2 --> 0.21.2rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 22:40:16 -04:00
Jack Robison
a7a53f9381
fix mirror downloader looping call 2018-08-23 22:36:30 -04:00
Jack Robison
f4b2a05fff
fix a typo 2018-08-23 18:35:47 -04:00
Jack Robison
cdd2b6bfc1
Bump version 0.21.2rc1 --> 0.21.2rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 11:57:49 -04:00
Jack Robison
26bd27cd32
Bump version 0.21.1 --> 0.21.2rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 11:45:07 -04:00
Jack Robison
37ddaeca12
fix ping queue bug 2018-08-23 11:18:28 -04:00
Jack Robison
2c546b2cde
retry mirror downloads 2018-08-23 11:18:28 -04:00
Alex Grintsvayg
149fa625e0 back to reflector 1 2018-08-15 16:11:34 -04:00
Jack Robison
16cda60f31
fix test 2018-08-13 17:16:48 -04:00
Jack Robison
0d54f6215f
Bump version 0.21.1rc2 --> 0.21.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-13 16:20:16 -04:00
Jack Robison
a9774a293f
docs 2018-08-13 16:18:31 -04:00
Jack Robison
ee8cf08c0e
Bump version 0.21.1rc1 --> 0.21.1rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-13 14:04:39 -04:00
Jack Robison
ea481e6c5a
fix download_progress in blockchain_headers status
-use a 0-100 range for percentage regardless of how much we have to download (if we're resuming or starting fresh)
-prevent negative blocks or blocks_behind counts
2018-08-13 14:03:15 -04:00
Jack Robison
36df9e8283
Bump version 0.21.0 --> 0.21.1rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-12 22:16:00 -04:00
Jack Robison
68f1dda7b0
initialize headers download progress 2018-08-12 22:05:07 -04:00
Jack Robison
5b7f7c87bf
fix stop_lbry_files 2018-08-12 22:04:55 -04:00
Jack Robison
153022a1a7
add is_locked to status 2018-08-12 22:04:48 -04:00
Lex Berezhny
1098ca0494 + convert float to decimal for wallet_send 2018-08-09 19:14:56 -04:00
Jack Robison
d4a7dbf805
Bump version 0.21.0rc13 --> 0.21.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 13:44:28 -04:00
Jack Robison
56ee815eec
Bump version 0.21.0rc12 --> 0.21.0rc13
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 13:20:15 -04:00
Jack Robison
fe43764bcb
fix announcement of blobs downloaded from a http mirror 2018-08-09 13:19:59 -04:00
Jack Robison
2448d51ed5
Bump version 0.21.0rc11 --> 0.21.0rc12
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 12:07:35 -04:00
Jack Robison
2804fa4448
fix disabling the hash announcer 2018-08-09 12:04:14 -04:00
Jack Robison
69ae60b4bb
Bump version 0.21.0rc10 --> 0.21.0rc11
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 11:29:49 -04:00
Jack Robison
dca4af942f
also try/except around upnp.discover
-catches edge case where miniupnpc fallback is used and a device is found but selectigd fails
2018-08-09 11:28:07 -04:00
Jack Robison
2b7e135839
fix error in blob_delete 2018-08-09 11:26:57 -04:00
Jack Robison
d565aa0b3f
Bump version 0.21.0rc9 --> 0.21.0rc10
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 09:24:39 -04:00
Jack Robison
8b53140581
set downloading_headers to False after the download finishes or fails 2018-08-09 09:24:04 -04:00
Jack Robison
917bae568d
fix disabling blob announcement by setting concurrent announcers to 0 2018-08-09 09:22:55 -04:00
Jack Robison
efb6af4d51
Bump version 0.21.0rc8 --> 0.21.0rc9
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 09:01:57 -04:00
Jack Robison
5fe8022b15
don't attempt to announce blobs until we we have contacts in routing 2018-08-09 09:00:36 -04:00
Jack Robison
7931397595
Bump version 0.21.0rc7 --> 0.21.0rc8
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 08:44:23 -04:00
Jack Robison
0501f52805
fix upnp edge case
-fixes https://github.com/lbryio/lbry/issues/1352
2018-08-09 08:42:51 -04:00
Jack Robison
108d2a033b
fix attribute error when reflector component is disabled 2018-08-09 08:32:43 -04:00
Jack Robison
17a9cfd65c
Bump version 0.21.0rc6 --> 0.21.0rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-08 14:12:01 -04:00
Jack Robison
8eb740cf67
Bump version 0.21.0rc5 --> 0.21.0rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-08 13:58:17 -04:00
Jack Robison
b73e50e64b
Bump version 0.21.0rc4 --> 0.21.0rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-07 19:27:50 -04:00
Jack Robison
c73148a1fb
Merge remote-tracking branch 'origin/fix_1346' 2018-08-07 19:27:28 -04:00
Jack Robison
65a02190dc
Merge remote-tracking branch 'origin/fix_1344' 2018-08-07 19:26:15 -04:00
Jack Robison
26e32472d5
fix upnp and peer port setup
-bump txupnp requirement
2018-08-07 19:04:54 -04:00
Victor Shyba
d21313e590 allow mirrors if conf is set, but clear it for tests 2018-08-07 13:55:45 -03:00
Victor Shyba
382226ff9a tells that an address is wrong earlier on publishing 2018-08-07 13:52:01 -03:00
Jack Robison
9511040d5a
fix upnp and peer port setup 2018-08-05 13:12:39 -04:00
Jack Robison
15161dd429
fix docstring 2018-08-03 13:31:51 -04:00
Jack Robison
efc5982860
Bump version 0.21.0rc3 --> 0.21.0rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-03 13:22:06 -04:00
Jack Robison
f1b19f10cc
Merge branch 'master' into greedy_search 2018-08-03 13:08:31 -04:00
Jack Robison
e50ac69358
tests and pylint 2018-08-03 12:35:10 -04:00
Jack Robison
aef561d78b
refactor status results 2018-08-03 12:33:31 -04:00
Jack Robison
4ef4a4816f
update component tests 2018-08-03 11:37:10 -04:00
Jack Robison
8533bfa7c5
refactor test_misc, remove Session
-use only the one process
2018-08-03 11:37:10 -04:00
Jack Robison
6389e961b9
update (and refactor) tests to not use Session 2018-08-03 11:37:10 -04:00
Jack Robison
6359fc608e
set download_mirrors upon making the downloader instead in the file manager globally 2018-08-03 11:37:10 -04:00
Jack Robison
314400a1bd
move looping call to check announcement status to SQLiteStorage 2018-08-03 11:37:10 -04:00
Jack Robison
a3de065c93
use txupnp instead of miniupnpc 2018-08-03 11:37:07 -04:00
Jack Robison
99207b7221
delete Session.py
split Session into Components
2018-07-30 18:00:33 -04:00
Jack Robison
e3c3fafa1e
split headers download into own component
-add component statuses
2018-07-30 18:00:33 -04:00
Victor Shyba
9742da348b do not consume errors on DeferredList 2018-07-30 13:53:58 -03:00
Victor Shyba
94a31922f7 fix unnecessary logging tag 2018-07-30 11:22:31 -03:00
Victor Shyba
1937eb17c4 adds a test for stopping 2018-07-30 11:22:31 -03:00
Victor Shyba
f291ea515a add test for invalid content 2018-07-30 11:22:31 -03:00
Victor Shyba
ff4aba9423 refactor mirroring 2018-07-30 11:22:31 -03:00
hackrush
9ab256df30 fixed improper error handling when data is not valid JSON (#1326) 2018-07-30 09:38:36 -04:00
Lex Berezhny
88b8ca8a49 Revert "negate wallet lock check in components"
This reverts commit 32507d7
2018-07-25 14:59:10 -04:00
Jack Robison
09f637496c
Bump version 0.21.0rc2 --> 0.21.0rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-07-25 12:25:24 -04:00
Jack Robison
826d269e0e
Merge branch 'blobs_mirroring' 2018-07-25 12:24:37 -04:00
Victor Shyba
ab27203100 improve exception logging and add a docstring on the interaction between downloaders 2018-07-25 13:01:13 -03:00
Victor Shyba
88c2051605 set download_mirror conf from components change 2018-07-25 12:23:15 -03:00
Victor Shyba
f510c2a433 improve logging from review 2018-07-25 12:15:52 -03:00
Victor Shyba
ec140d5d8a changes from code review 2018-07-25 12:15:52 -03:00
Victor Shyba
ad96b006f9 adds http download support for blobs mirroring 2018-07-25 12:15:52 -03:00
Lex Berezhny
32507d74f7 negate wallet lock check in components 2018-07-25 01:28:19 -04:00
Jack Robison
40c5f6e3ab
Bump version 0.21.0rc1 --> 0.21.0rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-07-24 21:41:58 -04:00
Jack Robison
c1b05402ef
add address and port arguments to peer_ping
allows directly pinging the peer without first doing an iterative find
2018-07-24 21:30:54 -04:00
Jack Robison
1dd1bad9c2
Bump version 0.20.4 --> 0.21.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-07-24 21:21:52 -04:00
Jack Robison
5984ae7ce9
fix 2018-07-24 21:10:53 -04:00
Jack Robison
5d9a187659
refactor required conditions and @requires decorator 2018-07-24 20:01:38 -04:00
Jack Robison
a9c94ca22d
move setup and _shutdown to AuthJSONRPCServer 2018-07-24 20:01:38 -04:00
Jack Robison
a285db1b08
pylint 2018-07-24 20:01:38 -04:00
Jack Robison
13bf8125e3
status doc, better determination of is_first_run
-add skipped_components to status response
-re-add run_reflector_server to settings
2018-07-24 20:01:38 -04:00
Jack Robison
b06dcf0a0d
cancel starting components if the reactor is stopped before startup has finished
-don't block starting the dht component on having found enough peers, only on setting up the protocol
2018-07-24 20:01:38 -04:00
Jack Robison
a800f6ddf0
update status command 2018-07-24 20:01:38 -04:00
Jack Robison
a89306b6bf
reorganize daemon startup
-fix loggly not using the share usage setting

-delete more
2018-07-24 20:01:38 -04:00
Jack Robison
c3120e93cf
delete unneeded daemon attributes 2018-07-24 20:01:38 -04:00
Jack Robison
defe9506bb
set daemon attribute for each component as they start 2018-07-24 20:01:38 -04:00
Jack Robison
55d3bb0ec3
remove auto_renew 2018-07-24 20:01:38 -04:00
hackrush
005a8b3008
allow utf-8 characters in Daemon.py
-amit really wants the shrug emoji ¯\_(ツ)_/¯
2018-07-24 20:01:38 -04:00
hackrush
a741fdfc44
update daemon unit tests 2018-07-24 20:01:38 -04:00
hackrush
944b94aae8
update logging tests 2018-07-24 20:01:38 -04:00