Commit graph

1958 commits

Author SHA1 Message Date
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
Jack Robison
2254e3507a
Bump version 0.15.2rc1 --> 0.15.2rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-31 13:51:07 -04:00
Alex Grintsvayg
f4f861a163 Bump version 0.15.1 --> 0.15.2rc1 2017-08-28 11:03:42 -04:00
Kay Kurokawa
a9e6c89693 clean up and clarify in docstring when/where None is returned while searching for peers 2017-08-28 10:46:47 -04:00
Kay Kurokawa
e0985695ac some pep8 fixes 2017-08-28 10:46:47 -04:00
Kay Kurokawa
e2e28338f3 in ConnectionManager, be consistent and initialize conf values in __init__ 2017-08-28 10:46:47 -04:00
Kay Kurokawa
a31b6b192f Create an optional way of downloading by head blob first in ConnectionManager 2017-08-28 10:46:47 -04:00
Kay Kurokawa
c8bf1d8908 should_announce should be True by default 2017-08-28 10:43:57 -04:00
Kay Kurokawa
0494b11001 remove last_announce_time 2017-08-28 10:43:57 -04:00
Kay Kurokawa
0639bb9865 add support for should_announce feature 2017-08-28 10:43:57 -04:00
Kay Kurokawa
7e95169fbe add get_head_blob_hash() function in DownloadManager 2017-08-28 10:43:57 -04:00
Kay Kurokawa
c0a2c6c830 remove blob manager reliance on HashBlob classes 2017-08-28 10:43:57 -04:00
Kay Kurokawa
8955838191 migrate blob database to have should_announce and last_announce_time 2017-08-28 10:43:57 -04:00
Jack Robison
8cf2bc2b19
Bump version 0.15.0 --> 0.15.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-22 18:31:09 -04:00
Jack Robison
5fc55fc482
Merge branch 'master' into android_platform_paths 2017-08-22 15:39:02 -04:00
Alex Grin
128e893b0c Merge pull request #856 from lbryio/persist-node-id
persist dht node id
2017-08-18 16:04:33 -04:00
Akinwale Ariwodola
6252184699 fix pylint error 2017-08-18 15:09:08 +01:00
Akinwale Ariwodola
1d85f7127a updated changelog 2017-08-18 12:29:38 +01:00
Akinwale Ariwodola
70881dab6e added Android platform detection and androidhelpers module which will be used to determine base paths 2017-08-18 11:52:03 +01:00
Jack Robison
e204a3b9a5
fix doc-string for resolve 2017-08-17 14:32:28 -04:00
Jack Robison
d1b7de1807
persist dht node id 2017-08-16 21:18:10 -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
Jack Robison
518146396c
Bump version 0.15.0rc8 --> 0.15.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-15 12:07:17 -04:00
Jack Robison
f4ed2ec503
Bump version 0.15.0rc7 --> 0.15.0rc8
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-15 11:56:53 -04:00
Jack Robison
b4354497c3
validate wallet_send parameters 2017-08-15 11:56:26 -04:00
Jack Robison
da0b5352ee
Bump version 0.15.0rc6 --> 0.15.0rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-15 11:49:46 -04:00
Jack Robison
7e685f764f
fix handling deprecated commands in lbrynet-cli 2017-08-15 11:48:56 -04:00
Jack Robison
21ab4fb9c0
Bump version 0.15.0rc5 --> 0.15.0rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-15 11:37:02 -04:00
Jack Robison
4b716bbcdd
fix send_amount_to_address backwards compatibility 2017-08-15 11:36:03 -04:00
Jack Robison
46c5a98752
return results for new command for commands marked with the deprecated decorator 2017-08-15 11:31:35 -04:00
Jack Robison
667f417060
Bump version 0.15.0rc4 --> 0.15.0rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-15 11:22:32 -04:00
Jack Robison
18f5f850cd
show deprecated warning 2017-08-15 11:17:50 -04:00
Jack Robison
ac4d905a7e
add wallet_send 2017-08-15 11:11:38 -04:00
Umpei Kay Kurokawa
690ef15ba1 Merge pull request #756 from lbryio/fix_integer_resolve
Fix error when resolving an integer
2017-08-14 22:52:20 -04:00
Umpei Kay Kurokawa
34ed2467f2 Merge pull request #829 from lbryio/fix_abandon
Expose abandon by txid/nout in Daemon
2017-08-14 22:51:39 -04:00
Kay Kurokawa
b2f0dedefb fix error when resolving true/false/floats and also prevent other keys from being parsed as boolean, int, or float in CLI 2017-08-14 18:33:41 +02:00
Zestyr
0c2d049c90 Fix error when resolving an integer
Fixes #588
2017-08-14 12:15:08 -04:00
Jack Robison
2d1624f088
Bump version 0.15.0rc3 --> 0.15.0rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-10 15:06:08 -04:00
Jack Robison
09d336bd0c
don't block blob_completed on the blob being announced
this considerably slows down the rate at which reflector server can
receive blobs
2017-08-10 13:53:10 -04:00
Alex Grintsvayg
ea9d368d09 fix daemon shutdown 2017-08-09 19:10:11 -04:00
Alex Grintsvayg
ddcf3a47f8 dont ignore SIGTERM/SIGINT when already shutting down 2017-08-09 19:10:11 -04:00
Alex Grintsvayg
cc5b626a54 removed old /view and /upload endpoints, moved api to root path 2017-08-09 19:10:11 -04:00
Alex Grintsvayg
02d4444780 fixed shutdown messages 2017-08-09 19:10:11 -04:00
Kay Kurokawa
7a2f607998 no need to catch exception when abandoning in Daemon 2017-08-08 13:55:03 -04:00
Kay Kurokawa
4e8d8dfc23 Expose abandon by txid/nout in Daemon 2017-08-08 13:55:03 -04:00
Jack Robison
c7ba901819
Bump version 0.15.0rc2 --> 0.15.0rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-04 16:11:37 -04:00
Jack Robison
c971cce717
file_reflect 2017-08-04 16:08:03 -04:00
Jack Robison
d5f2481af5
handle ip addresses given as reflector servers 2017-08-04 16:08:02 -04:00
Jack Robison
89e7d7a44d
Merge branch 'master' into conf_reflect_options 2017-08-04 15:16:51 -04:00
Jack Robison
d1332debf8
Bump version 0.15.0rc1 --> 0.15.0rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-04 10:59:34 -04:00
Jack Robison
0458295113
Bump version 0.14.3 --> 0.15.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-04 10:54:16 -04:00
Jack Robison
c5fe8b5381
add claim_send_tip 2017-08-04 10:48:13 -04:00
Jack Robison
dd8db5a6b0
Bump version 0.14.3rc7 --> 0.14.3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-04 10:12:55 -04:00
Kay Kurokawa
9d92fba02e add ability to control re-reflects through config 2017-08-03 23:44:20 -04:00
Jack Robison
9121059613
Bump version 0.14.3rc6 --> 0.14.3rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-03 22:28:53 -04:00
Jack Robison
7b93073f7b
Merge branch 'master' into remove_tempblobmanager 2017-08-03 22:26:35 -04:00
Jack Robison
2aee5f7948
Bump version 0.14.3rc5 --> 0.14.3rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-02 17:09:40 -04:00
Jack Robison
5312b2b988
Bump version 0.14.3rc4 --> 0.14.3rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-08-02 10:41:06 -04:00
Jack Robison
e1287c9b66
Bump version 0.14.3rc3 --> 0.14.3rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-31 11:16:33 -04:00
Umpei Kay Kurokawa
5ce360511b Merge pull request #793 from lbryio/blob_announce
Better blob announce API command
2017-07-31 11:09:03 -04:00
Kay Kurokawa
4e05eac854 add blob_announce API command, to eventually replace blob_announce_all 2017-07-31 10:52:23 -04:00
Jack Robison
c108ef0f83
Bump version 0.14.3rc2 --> 0.14.3rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-31 10:49:20 -04:00
Zestyr
2f2b27e872
Remove old float formatting 2017-07-31 10:38:20 -04:00
Kay Kurokawa
79d25f710d remove base BlobManager class 2017-07-27 13:38:40 -04:00
Kay Kurokawa
d5664efdbf no longer allow initialization of TempBlobManager in Session 2017-07-27 11:38:29 -04:00
Kay Kurokawa
f9b728530e Remove TempBlobManager 2017-07-27 11:38:23 -04:00
Jack Robison
cc7a3d3dcc
Bump version 0.14.3rc1 --> 0.14.3rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-27 09:54:38 -04:00
Jack Robison
93135f847b
Merge branch 'master' into hackrush_max_key 2017-07-27 09:53:47 -04:00
Jack Robison
c3a16ad837
Bump version 0.14.2 --> 0.14.3rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-27 09:53:11 -04:00
hackrush
ecd602e5fb Added validation for currencies.
Now while setting currency via API/CLI it is checked that the user has
not entered any currency other that LBC, BTC or USD.

Fixes #778
2017-07-24 16:38:15 -04:00
hackrush
b9257004dd Resolving a channel returns 'channel_claim_count'
Since I couldn't get my lbryum server up for testing this, it is a dry
fix based on the review.

Goes with lbryio/lbryum#138
2017-07-25 01:26:17 +05:30
Jack Robison
bf6bc02828
Bump version 0.14.2rc7 --> 0.14.2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-24 14:03:25 -04:00
Kay Kurokawa
15d672bfe0 fix if statment for resolving certificate 2017-07-20 14:05:00 -04:00
Kay Kurokawa
fa1ebc995c fix if statement causing claim with certificate to not get cached 2017-07-20 12:38:06 -04:00
Jack Robison
941c0d8d8f
Bump version 0.14.2rc6 --> 0.14.2rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-19 19:41:52 -04:00
Jack Robison
5e2e96b1ff
fix directories 2017-07-19 18:52:48 -04:00
Jack Robison
4e5ff49177
fix allowed_during_startup 2017-07-19 11:43:45 -04:00
Jack Robison
d3bf097687
Bump version 0.14.2rc5 --> 0.14.2rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-18 15:56:09 -04:00
Alex Grin
5a230fdab4 Merge pull request #780 from vv181/remove-stream-info-cache
remove stream info cache
2017-07-18 08:32:17 -04:00
Zestyr
bfa626c6e6 Update default directories
Fixes #574
2017-07-17 21:50:58 +02:00
Zestyr
a2350fd539 Clean up legacy code 2017-07-17 21:39:40 +02:00
Jack Robison
21de1fceee
Bump version 0.14.2rc4 --> 0.14.2rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-17 14:18:08 -04:00
Kay Kurokawa
e4df0bdb5f create UnknownOutpoint exception and use it 2017-07-17 12:17:35 -04:00
Kay Kurokawa
3cd972a4da fix UnknownNameError message 2017-07-17 12:01:20 -04:00
Kay Kurokawa
b355e9ed8e make accurate docstring of claim_show 2017-07-17 12:01:20 -04:00
Kay Kurokawa
24035406d6 have claim_show no longer handle name argument, do not catch exceptions here as they will be caught in Wallet 2017-07-17 12:01:20 -04:00
Kay Kurokawa
21c1786dc6 rename Wallet.get_claim() to get_claim_by_claim_id() 2017-07-17 12:01:20 -04:00
vv181
196c7eb494 remove stream info cache
remove stream info cache
2017-07-15 23:54:23 +07:00
Jack Robison
ab3278c50a
Bump version 0.14.2rc3 --> 0.14.2rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-14 14:44:03 -04:00
Jack Robison
dfedb6cd01
update loggly token 2017-07-14 14:29:12 -04:00
Jack Robison
422dbb549b
catch network-unreachable error in dht protocol 2017-07-14 14:29:12 -04:00
Jack Robison
7f36bed79d
increase third party logger levels 2017-07-14 14:29:12 -04:00
Jack Robison
4c7c94e190
fix loggly setup 2017-07-14 14:29:02 -04:00
Jack Robison
142d30bbcf
fix HTTPSHandler 2017-07-14 14:29:01 -04:00
hackrush
f7b6a09110 Updated max_key_fee_setting
Added an option to disable max key fee check.
Did the required docs changes.
2017-07-14 14:09:30 -04:00
Jack Robison
80bca06bef
Bump version 0.14.2rc2 --> 0.14.2rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-14 13:24:49 -04:00
Jack Robison
9b4d2b565e
Bump version 0.14.2rc1 --> 0.14.2rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-14 13:07:19 -04:00
Kay Kurokawa
4bebfe9e25
fix malformed supports and amount in cache 2017-07-14 12:53:40 -04:00
Kay Kurokawa
cbd85cd7d8
DRY fix for _handle_claim_result 2017-07-14 12:53:39 -04:00
Jack Robison
2728b1ed60
pylint 2017-07-12 14:21:30 -04:00
Alex Grin
53579dc613 Merge branch 'master' into hackrush 2017-07-12 14:14:26 -04:00
Jack Robison
e86f8daf17
Bump version 0.14.1 --> 0.14.2rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-07-12 14:08:50 -04:00
Jack Robison
ce76b7d14f Bump version: 0.14.1rc2 → 0.14.1 2017-07-07 17:51:37 -04:00
Jack Robison
58a1f444da Bump version: 0.14.1rc1 → 0.14.1rc2 2017-07-07 16:58:46 -04:00
Jack Robison
72ec32c486 Bump version: 0.14.0 → 0.14.1rc1 2017-07-07 16:56:45 -04:00
Jack Robison
65bc93f2fe raise error on negative point reservation 2017-07-07 16:43:13 -04:00
hackrush
02c868512f Daemon provides steps on how to change the port.
Daemon now points to a faq on how to change the port if it can't
connect to 3333(default) and adds support for the required api/cli call.

Fixex #710
2017-07-06 03:48:13 +05:30
Kay Kurokawa
4019f2a2e1 fix problems with DownloadManager startup and stop 2017-07-05 16:33:02 -04:00
Kay Kurokawa
36dea2afbf use timeout in Daemon._download_blob() 2017-07-05 16:33:02 -04:00
Kay Kurokawa
73927e2b57 improve tests for GetStream 2017-07-05 16:33:02 -04:00
Kay Kurokawa
a1292254bb use utils.safe_start_looping_call and utils.safe_stop_looping_call 2017-07-05 16:33:02 -04:00
Kay Kurokawa
8398d57024 use DownloadTimeoutError instead of generic Exception 2017-07-05 16:33:02 -04:00
Kay Kurokawa
be75c1bc5b break up GetStream.start() function further for testing 2017-07-05 16:33:02 -04:00
Kay Kurokawa
fc40f5525a add download_sd_blob timeout to GetStream 2017-07-05 16:33:02 -04:00
Kay Kurokawa
bd4dd8e114 add timeout to download_sd_blob and StandaloneBlobDownloader 2017-07-05 16:33:02 -04:00
Kay Kurokawa
1c1b5096be use LoopingCall in SingleProgressManager to simplify it 2017-07-05 16:33:02 -04:00
Alex Grintsvayg
3382c18f81 Bump version: 0.14.0rc99 → 0.14.0 2017-07-05 15:58:59 -04:00
Alex Grintsvayg
da511700a7 fixing version number before 0.14 release 2017-07-05 15:58:40 -04:00