Commit graph

2146 commits

Author SHA1 Message Date
Antonio Quartulli
0d3493ef73
conf: add method to check if a setting has default value
Sometimes it might be helpful to check if a given config
setting is still the default or if it was touched by the user
in any way (e.g. env, config file, ...).

Add is_default() method to Config object to perform such check.

Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-12-29 19:49:59 +08:00
Alex Grintsvayg
21d9b9bc71 minor fixes 2017-12-28 10:08:30 -05:00
Jack Robison
09c57675a7
add stream_availability and blob_availability, deprecate get_availability 2017-12-20 21:23:54 -05:00
Jack Robison
7c6c666342
fix verbose error 2017-12-20 20:43:01 -05:00
Jack Robison
f0a1adc9c5
whitespace, logging 2017-12-20 20:43:01 -05:00
Jack Robison
990e2a714a
Bump version 0.19.0rc21 --> 0.19.0rc22
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-18 16:20:56 -05:00
Jack Robison
225745f0e1
Bump version 0.19.0rc20 --> 0.19.0rc21
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-18 14:34:48 -05:00
Jack Robison
e22d43bb03
fix wallet_unlock 2017-12-18 13:17:54 -05:00
Jack Robison
4dc6eb8fea
Bump version 0.19.0rc19 --> 0.19.0rc20
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-18 11:34:33 -05:00
Jack Robison
20b9e4d17e
fix typo 2017-12-18 11:31:59 -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
bcdeea75d6
Bump version 0.19.0rc18 --> 0.19.0rc19
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-15 20:39:39 -05:00
Jack Robison
a6f0c5fb4c
pylint fixes
fix exception formatting and a circular import
2017-12-15 20:25:20 -05:00
Jack Robison
7794109e57
Bump version 0.19.0rc17 --> 0.19.0rc18
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-13 16:45:59 -05:00
Jack Robison
e58f3593ee
pylint 2017-12-13 16:43:49 -05:00
Jack Robison
5a41afc9fc
Bump version 0.19.0rc16 --> 0.19.0rc17
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-13 16:40:25 -05:00
Alex Grintsvayg
ebed4f010b fixes #1029 - stupid error messages 2017-12-13 13:56:44 -05:00
Jack Robison
668eaa6591
Bump version 0.19.0rc15 --> 0.19.0rc16
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-12 09:32:31 -05:00
Jack Robison
b2141bdf3d
fix import error 2017-12-12 09:26:28 -05:00
Jack Robison
f29437f474
Bump version 0.19.0rc14 --> 0.19.0rc15
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-11 14:54:24 -05:00
Jack Robison
7e3abe0bda
Bump version 0.19.0rc13 --> 0.19.0rc14
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-11 12:49:50 -05:00
Jack Robison
1307727130
revert run commands using deferToThread
reverts most of
https://github.com/lbryio/lbry/commit/100493f9068589095c489f797587ddbfd1
7f7899
2017-12-11 12:45:38 -05:00
Jack Robison
fbe55d5cd3
Bump version 0.19.0rc12 --> 0.19.0rc13
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-07 15:06:11 -05:00
Jack Robison
100493f906
run commands using the network as deferToThread, don't manually broadcast claims from lbrynet 2017-12-07 14:36:52 -05:00
Jack Robison
b7ee5419d4
better address use, remove _save_wallet from Wallet.py 2017-12-07 14:36:51 -05:00
Jack Robison
66f0c0f296
Bump version 0.19.0rc11 --> 0.19.0rc12
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-07 14:36:02 -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
fb65536f18
Bump version 0.19.0rc10 --> 0.19.0rc11
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-06 20:48:44 -05:00
Jack Robison
fb6ceeed9e
delete unused code 2017-12-06 20:41:24 -05:00
Jack Robison
6a83f67dfa
Bump version 0.19.0rc9 --> 0.19.0rc10
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-06 20:22:39 -05:00
Jack Robison
b7503f8b61
log traceback info for failed api requests 2017-12-06 19:52:29 -05:00
Jack Robison
b2a0aa21c9
get search timeout from conf.settings 2017-12-06 19:52:29 -05:00
Jack Robison
ac7ffdbf3a
add lbry_file_metadata table to save outpoint data of downloads 2017-12-06 19:52:25 -05:00
Jack Robison
90aa89dcae
re-add outpoint to file dictionary returned from file_ commands 2017-12-06 17:22:47 -05:00
Jack Robison
1594c6a831
move db functions in EncryptedFileManger to EncryptedFileMetadataManager
- remove TempEncryptedFileMetadataManager, run tests with the normal
DBEncryptedFileMetadataManager
2017-12-06 16:49:49 -05:00
Jack Robison
f9dee51ca4
Bump version 0.19.0rc8 --> 0.19.0rc9
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-06 15:21:44 -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
a92191709d
Bump version 0.19.0rc7 --> 0.19.0rc8
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-06 13:27:43 -05:00
Jack Robison
8fdd8d8c43
fix api error responses 2017-12-06 13:25:58 -05:00
Jack Robison
ecdba8dc38
Bump version 0.19.0rc6 --> 0.19.0rc7
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-05 15:34:43 -05:00
Jack Robison
88c6eb7816
Merge branch 'increase_announce_duration' 2017-12-05 15:34:16 -05:00
Jack Robison
4c0692bd7a
Bump version 0.19.0rc5 --> 0.19.0rc6
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-05 14:03:10 -05:00
Jack Robison
fbcc81adb4
add lbrynet-console 2017-12-05 13:34:46 -05:00
Kay Kurokawa
989f77c00a increase SINGLE_HASH_ANNONCE_DURATION from 1 to 5 2017-12-05 11:55:59 -05:00
Jack Robison
5d95194469
Bump version 0.19.0rc4 --> 0.19.0rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-12-05 09:49:21 -05:00
Kay Kurokawa
7e93ea8d97
do a sanity check to see if we have remote height, use remote height instead of local height when auto renewing 2017-12-05 09:41:45 -05:00
Kay Kurokawa
bfbecd9196
fix use of return in inlinecallback, change to defer.returnValue(None) 2017-12-05 09:41:44 -05:00
Kay Kurokawa
707775214a
update docstrings and make sure return value is consistent 2017-12-05 09:41:44 -05:00
Kay Kurokawa
bf29d28c4d
bug fix in claim_renew() 2017-12-05 09:41:43 -05:00
Kay Kurokawa
8f05c1083f
pylint long lines 2017-12-05 09:41:43 -05:00