Commit graph

494 commits

Author SHA1 Message Date
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
Thomas Zarebczan 3a9f9a464e
update changelog with 19.3 2018-05-08 11:32:05 -04:00
Victor Shyba d2e7ac5b6e update changelog for the integrity check and partial s3 downloads 2018-05-07 15:10:27 -03:00
Victor Shyba 8bfc35753a update changelog 2018-05-05 02:20:55 -03:00
Victor Shyba 1077d8f937 update CHANGELOG.md 2018-05-05 00:09:24 -03:00
Jack Robison 129d2687b9
download headers from s3 when more than 10 chunks behind 2018-05-02 15:00:50 -04:00
Jack Robison fa49b40389
fix claim_show 2018-04-19 12:31:36 -04:00
Jack Robison 5cea031f38
return list of dictionaries from peer_list, include peer node ids 2018-04-03 13:10:30 -04:00
Jack Robison 2903ccaeb4
add peer_ping 2018-04-03 13:10:30 -04:00
Jack Robison 4e7bdafdcf
fix positional and keyword args 2018-04-03 12:27:49 -04:00
Jack Robison 743ae59d54
fix lbrynet-cli when using authentication
-add explanation of daemon authentication to AuthJSONRPCServer docstring
-remove auth_required decorator, use auth for all api methods if use_authentication is true
-fix issues with the command line --http-auth flag to lbrynet-daemon and the use_http_auth setting in the config file
2018-04-01 18:31:03 -04:00
Jack Robison 9a9b2f47ce
pass sd_hash to reflector client factory instead of looking it up 2018-03-29 09:46:34 -04:00
Jack Robison 65b918644d
changelog 2018-03-28 19:25:55 -04:00
Jack Robison e6cc9b0de1
changelog 2018-03-28 15:53:46 -04:00
Jack Robison b75c8d96ce
Bump version 0.19.2rc3 --> 0.19.2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-03-28 15:35:46 -04:00
Jack Robison 439a0f8778
fix docstrings
-add docopt unit test
2018-03-26 13:20:33 -04:00
hackrush aa7b440989 Fixed regression in stream_availablity command 2018-03-26 19:43:06 +05:30
Jack Robison f0742675b8
Merge branch 'master' into no-short-flags 2018-03-23 14:59:53 -04:00
Jack Robison cb069ca002
add blob_reflect 2018-03-22 16:54:29 -04:00
Jack Robison 3085e28490
don't try to resend failed blobs to reflector
-fixes infinite loop where client keeps trying to send failing blobs, which may be failing because they are invalid

-return list of reflected blob hashes from BlobReflectorClient
2018-03-22 16:53:16 -04:00
Jack Robison 679c2f403f
fix incorrectly raised DownloadCanceledError for already verified blobs
-make InvalidDataError message clearer
-fix BlobReflectorClient result
2018-03-22 13:23:12 -04:00
Thomas Zarebczan ba8248887a
cleanup changelog 2018-03-20 11:29:30 -04:00
Jack Robison de280b5ebf
Bump version 0.19.1rc7 --> 0.19.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-03-20 10:15:50 -04:00
Jack Robison f283a2116e
changelog 2018-03-20 10:15:01 -04:00
hackrush 9a3eec0950 Sanitize changelog 2018-03-18 16:13:45 +05:30
hackrush f7f6770120 Removed flags decorator as short flags are no longer used. 2018-03-18 16:11:19 +05:30
Thomas Zarebczan db821c51b7
update changelog 2018-03-15 10:15:02 -04:00
Alex Grintsvayg ed3e825472 cleaned up duplicates in changelog 2018-03-13 09:58:20 -04:00
Alex Grintsvayg d0aa0a7d0c make dht forwards-compatible for upcoming switch to standardized bencode dict keys 2018-03-13 09:43:32 -04:00
hackrush 6d4af4ba90 Error cleanly when claiming a new channel with exact or higher amount than balance
fixes #1107
2018-03-09 21:28:33 +05:30
Jack Robison 81de5fbbf4
verify_will_announce_head_and_sd_blobs 2018-03-08 16:46:39 -05:00
Jack Robison 3f1bcbffeb
fix blob_announce when announcing a single blob 2018-03-07 18:25:30 -05:00
hackrush 53c5134591 Consolidated all 3 scripts into 1, better error messages 2018-03-06 03:55:50 +05:30
hackrush 30bfb9ac88 Review and script fixes 2018-03-06 03:50:12 +05:30
hackrush da4a24d79f Added scripts to autogenerate docs and api from docstring
Summary of changes
  Removed single dashed(short args) arguments(possibly breaking changes
for app side)
  Standardised the docstrings
  Added scripts to autogenerate API and CLI documentation using the
docstrings
2018-03-06 03:50:12 +05:30
Alex Grintsvayg 95e12a208d deprecate report_bug 2018-03-05 14:17:57 -05:00
Jack Robison 67a3001a0b
Bump version 0.19.0rc38 --> 0.19.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-03-02 23:01:23 -05:00
Jack Robison 1a749b6794
changelog 2018-03-02 23:00:16 -05:00
Jack Robison dafa80ce29
Merge branch 'master' into update_fix 2018-02-22 14:10:51 -05:00
Jack Robison 741e395677
fix blob_list falsely returning an empty list for streams with known blobs
-remove get_blobs functions from Daemon, use functions in SQLiteStorage instead
2018-02-22 10:37:53 -05:00
Jack Robison b1c66015e1
detect and remove invalid streams and sd blobs 2018-02-21 19:09:10 -05:00
Jack Robison 4e599b30d3
changelog 2018-02-21 16:44:22 -05:00
hackrush 3754f34f53 Review fixes and additional comments in test 2018-02-21 14:22:11 +05:30
hackrush d72ef784ed Removed daemon side bid checks during publish
Fixes #748

Fixed failing test, Yay!

Why CHANGELOG? Why not anarchy?
2018-02-20 08:54:03 +05:30
hackrush 5fee660c9c Fixed error types to be more appropriate 2018-02-17 20:18:55 +05:30
hackrush 3a11956ec9 Fixed CHANGELOG 2018-02-17 19:29:53 +05:30
Jeremy Curcio 744dfb1234 Update change log 2018-02-17 19:29:53 +05:30
Jack Robison 3da25b80b3
changelog 2018-02-13 15:44:21 -05:00
Jack Robison cec788ff4b
clean up changelog 2018-02-13 09:32:28 -05:00
Alex Grin d6819d8091
Merge pull request #1086 from lbryio/add-conf-flag-to-cli
fixes for the --conf flag
2018-02-12 17:01:43 -05:00
Alex Grintsvayg bb2efdcc7c fixed the error when trying to perform get on channels
now it states that get cannot be used on channels

closes #623
closes #1085
2018-02-12 16:40:29 -05:00
Antonio Quartulli 34976c7602
DaemonCLI: add --conf flag
When starting a daemon with a different configuration,
the same should also be used by the cli tool.

Add the --conf flag to the cli command to allow using a
custom config file.

Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2018-02-10 16:22:32 +08:00
rick batka 69a99a61ba Fix issue #930. Disallow positional arguments for CLI settings_set and fix error reporting when settings_set fails. 2018-02-09 11:30:29 -05:00
Alex Grintsvayg 2f8c645edc download script now gets all blobs in stream if you give it an sd hash 2018-02-07 11:21:34 -05:00
Jack Robison 1c45cf05d7
Merge branch 'atiaxi-blob-list-uri-fix' 2018-02-06 22:55:02 -05:00
Antonio Quartulli 8a7e707504
DHTPeerFinder: re-join the network if we have no peers
Periodically check if the routing table is empty and, if so,
re-attempt joining the DHT network.

This check is performed in the main DHTPeerFinder loop every 60 secs.

Closes: #1093
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2018-02-06 12:33:12 +08:00
Roger Ostrander 3fdde0f4ce Added CHANGELOG entry for issue 895 2018-02-03 23:23:34 -05:00
Jack Robison f918916160
remove gmpy and seccure dependencies 2018-02-01 12:39:00 -05:00
hackrush 5a3a592df8 Related changlelog for the PR lbryio/lbryum#203 2018-01-26 15:52:25 +05:30
Jack Robison 87d0f9a9e2
changelog 2018-01-22 15:59:20 -05:00
Jack Robison edb0f8deed
changelog and doc 2018-01-18 13:41:17 -05:00
hackrush 7472d12644 Removed include_tip_info from transaction_list, goes with lbryum#183 2018-01-18 08:43:58 +05:30
Kay Kurokawa f5cc8b0961 add changelog 2018-01-16 13:30:12 -05:00
Jack Robison b6afc437e6
combine auto_re_reflect and reflect_uploads settings 2018-01-12 09:21:24 -05:00
Jack Robison 8a133f9749
use lists of hostname:port strings in conf file 2018-01-09 16:55:39 -05:00
akinwale 5677f6d00d
added a new startup stage for wallet_unlock (#1048)
* added a new startup stage to indicate if the daemon is waiting for wallet_unlock
2018-01-07 06:44:29 +01:00
Jack Robison b046a6578b
add blockchain_name and lbryum_servers to the adjustable settings 2018-01-04 21:30:41 -05:00
Jack Robison 8a6291e37e
changelog 2018-01-04 21:25:57 -05:00
Jack Robison 7a020bec05
Merge remote-tracking branch 'origin/add-conf-file-flag' 2018-01-03 14:46:57 -05:00
Antonio Quartulli 1a234b0b88
Update CHANGELOG.md
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-12-30 04:11:10 +08:00
Jack Robison bf46f5616b
Merge branch 'add_lbry_file_manager_to_reflector_2' 2017-12-29 12:39:50 -05:00
Jack Robison 09c57675a7
add stream_availability and blob_availability, deprecate get_availability 2017-12-20 21:23:54 -05:00
Jack Robison 8c2d381aee Wallet encryption (#783)
* update known commands
* add wallet_unlock, block wallet startup on being unlocked
* add wallet_decrypt and wallet_encrypt
* wallet encryption unit tests
* added use_keyring configuration option in order to make keyring password storage optional
2017-12-17 07:00:12 +01:00
Jack Robison 2ee1328eea
changelog 2017-12-07 14:36:52 -05:00
Jack Robison 330d0465b6
remove message field from lbry file json, add blobs_completed, blobs_in_stream, and status fields 2017-12-07 13:54:18 -05:00
Jack Robison 1b9b00b9de
changelog 2017-12-06 20:20:29 -05:00
Jack Robison 329d74f6be
don't include file names when logging stream related info 2017-12-06 15:09:35 -05:00
Jack Robison 8fdd8d8c43
fix api error responses 2017-12-06 13:25:58 -05:00
Jack Robison 88c6eb7816
Merge branch 'increase_announce_duration' 2017-12-05 15:34:16 -05:00
Jack Robison 31e8e899c6
fix changelog 2017-12-05 14:19:39 -05:00
Jack Robison fbcc81adb4
add lbrynet-console 2017-12-05 13:34:46 -05:00
Kay Kurokawa fcfeb0cb78 add changelog 2017-12-05 11:59:43 -05:00
Jack Robison 23b7c5448b
changelog 2017-12-05 09:42:44 -05:00
Jack Robison d6e3b11026
add claim_renew 2017-12-05 09:41:42 -05:00
Jack Robison 58b789ed42
fix https://github.com/lbryio/lbry/issues/1013 2017-12-05 09:31:29 -05:00
Jack Robison 1d3deb37b1
changelog 2017-12-04 13:13:40 -05:00
Jack Robison 00edd3cb66
remove unused files 2017-11-29 12:01:39 -05:00
Jack Robison 57152547ce
docs 2017-11-28 12:19:19 -05:00
Kay Kurokawa c111bd49d3
add changelog 2017-11-28 11:53:17 -05:00
Jack Robison 086c843068
add channel_list, deprecate channel_list_mine 2017-11-22 13:50:07 -05:00
Jack Robison d98e0e8110
add channel_import and channel_export 2017-11-22 13:46:34 -05:00
Kay Kurokawa 2208cede67 add changelog 2017-11-16 15:00:14 -05:00
Jack Robison 930e965d9c
less verbose exchange rate error 2017-11-10 10:34:36 -05:00
Jack Robison 853bb67447
verify source and claim metadata before getting to _publish_stream 2017-11-08 19:50:37 -05:00
Jack Robison 28fea7093f
Bump version 0.18.0rc1 --> 0.18.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-11-08 11:05:18 -05:00
Jack Robison 89d4351238
changelog 2017-11-08 11:03:59 -05:00
Jack Robison f87d6b08c8
remove queued decorator 2017-11-07 15:17:04 -05:00
Kay Kurokawa cf1b9b2aa8 add changelog 2017-11-07 09:56:40 -05:00
Ian Chamberlain 20e9ff2902 Delete blob hash from list when blob is deleted 2017-11-05 21:56:54 -05:00
Jack Robison 6d2148c966
changelog 2017-11-04 21:02:00 -04:00
Jack Robison 81a44fa824
Merge branch 'use-shared-queued-deferredsemaphore' 2017-11-04 21:01:38 -04:00
Jack Robison 43ba33fd80
changelog 2017-11-04 20:37:52 -04:00
Ian Chamberlain 733e356e55 Fix failing ConnectionManager unit test 2017-11-04 15:15:04 -04:00
Alex Grintsvayg cc61cc6b17 rename command to utxo_list 2017-11-02 07:14:35 -04:00
Alex Grin fcfde63720
Merge branch 'master' into wallet_list_unspent 2017-11-01 17:35:31 -04:00
Alex Grintsvayg 3152ecfd71 add wallet_list_unspent 2017-11-01 17:29:11 -04:00
Kay Kurokawa a5293de44b adding changelog 2017-10-31 15:41:49 -04:00
Miroslav Kovar 34643b7f95 Added changelog entry. 2017-10-31 15:35:01 -04:00
Jack Robison 3fd542f702
Merge branch 'check_connection_bypass_dns' of https://github.com/mirgee/lbry into mirgee-check_connection_bypass_dns 2017-10-31 12:21:35 -04:00
Antonio Quartulli d827b4d5af platform ip: ensure daemon retrieves IPv4 address only
When contacting jsonip.com to retrieve the node external IP,
the connection might be established with IPv6 and thus return
an address belonging to that family.

This address is then used to initialize the external_ip member of
Daemon session, but unfortunately IPv6 is not yet handled well.

Using an IPv6 as external IP is currently breaking parts of the
Daemon resulting in no peer connectivity at all.

We should stick to IPv4 for time being.

http://jsonip.com/about says "ipv4-only":"https://ipv4.jsonip.com"

therefore, change the IP retrieval URL to ipv4.jsonip.com to
make sure the connection is established only using an IPv4 address.

Closes: https://github.com/lbryio/lbry/issues/971
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-10-31 06:59:40 -04:00
Jack Robison fdaaa0e678
changelog 2017-10-30 13:09:02 -04:00
Jack Robison ee90c877c7
Merge branch 'dht-fix-close-nodes-list-extension' of https://github.com/ordex/lbry into ordex-dht-fix-close-nodes-list-extension 2017-10-27 18:38:03 -04:00
Jack Robison 203f2f8988
Bump version 0.17.1rc5 --> 0.17.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-25 17:33:55 -04:00
Antonio Quartulli 673d1c4d43
Extend close nodes list by right amount
When a k-bucket does not contain enough close nodes, the
DHT will look into neighbouring k-buckets in order to entend
the list of returned nodes.

However, the list should not be extended beyond its maximum size.

Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-10-26 02:21:24 +08:00
Alex Grintsvayg 9eb40797ea extra word in changelog 2017-10-25 12:37:53 -04:00
Alex Grintsvayg 2067180467 add wallet_prefill_addresses command 2017-10-25 12:29:51 -04:00
Jack Robison f3d45061e8
fix changelog merge conflict 2017-10-25 12:05:46 -04:00
Jack Robison e4d2a3d2ec Merge branch 'master' into android_tests_refactoring 2017-10-25 12:01:37 -04:00
Jack Robison e799ad17b4 Merge branch 'master' into update_jsonschema 2017-10-25 10:50:06 -04:00
Jack Robison dc09996f43
changelog 2017-10-24 20:26:04 -04:00
Jack Robison 5919271966
Merge branch 'fix-remove-contact' 2017-10-24 19:26:41 -04:00
Jack Robison 5bc856932d
changelog 2017-10-24 19:18:13 -04:00
Jack Robison 7e7ab8f72c
changelog 2017-10-24 19:11:29 -04:00
Jack Robison 8e94970b53
changelog 2017-10-23 01:34:40 -04:00
Jack Robison 4b0082d5bc
changelog 2017-10-23 01:20:02 -04:00
Kay Kurokawa 9c66d75c17 add changelog 2017-10-16 15:26:16 -04:00
Jack Robison 0793934d7b
Bump version 0.17.0rc17 --> 0.17.0
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-12 12:39:09 -04:00
Kay Kurokawa 42990b582f add changelog 2017-10-12 11:26:44 -04:00
Jack Robison e7e987b07e
changelog 2017-10-10 13:55:36 -04:00
Akinwale Ariwodola 4f6f226b18 refactor asserts due to PYTHONOPTIMIZE flag 2017-10-09 20:20:58 +01:00
Jack Robison 7898b9c2d8
Merge branch 'master' into add_more_session_info 2017-10-09 10:39:48 -04:00
Kay Kurokawa b168c13c40 add changelog 2017-10-06 17:05:16 -04:00
Kay Kurokawa 3232daa178
add changelog 2017-10-05 14:00:04 -04:00
Kay Kurokawa be78390793 fix changelog having two Added sections
Signed-off-by: Kay Kurokawa <kay@lbry.io>
2017-10-05 13:50:59 -04:00
Kay Kurokawa 4c63364b18 added changelog 2017-10-03 14:15:46 -04:00
Kay Kurokawa 7557e3cc73 add changelog 2017-10-02 16:33:09 -04:00
Akinwale Ariwodola 63dd57aaea fixed long string concatenation and merged with master 2017-10-02 17:13:45 +01:00
Jack Robison 838436d641
Merge remote-tracking branch 'origin/fix_blob_reader_closing' 2017-09-29 12:37:15 -04:00
Jack Robison 4c1c3592b7
changelog 2017-09-29 12:31:34 -04:00
Jack Robison d2b91d5f51
changelog 2017-09-28 14:48:01 -04:00
Akinwale Ariwodola 2abe85ba25 moved tests into the lbrynet package 2017-09-28 18:21:26 +01:00
Kay Kurokawa 8c41b9ecde added changelog 2017-09-27 17:41:52 -04:00
Jack Robison 414c877502
changelog 2017-09-25 13:29:36 -04:00
Kay Kurokawa f835ef1be4
add changelog 2017-09-22 14:46:29 -04:00
Kay Kurokawa 9bf159433d
add changelog 2017-09-22 14:39:39 -04:00
Miroslav Kovar 0fca867ec0 Modified check_connection() to try bypassing DNS before giving up. 2017-09-20 23:36:08 +02:00
Jack Robison dbb658adec
update changelog 2017-09-20 13:59:29 -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 88fcd5b711
update _get_history for change in lbryum 2017-09-20 09:51:52 -04:00