Commit graph

787 commits

Author SHA1 Message Date
Lex Berezhny
ba414742a6 improved the data structure returned from RPC for errors by adding a error name and other metadata 2019-12-14 15:47:28 -05:00
Lex Berezhny
f6fcfb6dde simplified and only log potentially transactional functions 2019-12-13 18:44:32 -05:00
Oleg Silkin
c5b90c0144 Removes unused debug flag 2019-12-13 18:44:32 -05:00
Oleg Silkin
f669881849 Adds function, param logging to all lbrynet handling 2019-12-13 18:44:32 -05:00
Lex Berezhny
51af43d492 move none_check after fee update since that can be None 2019-12-13 13:23:23 -05:00
Lex Berezhny
8a49ad4586 catch invalid None value for all cases when creating/updating claims 2019-12-13 13:23:23 -05:00
gpjacobs
2ae068c2d2 Improving error handling for null values 2019-12-13 13:23:23 -05:00
Alex Grintsvayg
5e07e8dbbd
copy some of lex's changes to boris 2019-12-13 10:12:47 -05:00
Lex Berezhny
8d2c68505e remove VERBOSITY from test 2019-12-12 13:25:27 -05:00
Lex Berezhny
44f1e7c401 test all possible P2SH and BECH32 payment combinations on wallet server and at least P2SH and BECH32 to P2PKH receipt on client address 2019-12-12 13:25:27 -05:00
Lex Berezhny
b0f0827cff client side segwit support 2019-12-12 13:25:27 -05:00
Alex Grintsvayg
fddb0c9e66
notify us when boris is killed with signals 2019-12-11 14:02:39 -05:00
Victor Shyba
a4113cbb52 add apsw to pylint conf 2019-12-11 12:38:00 -05:00
Victor Shyba
afa3bda3c8 update tests 2019-12-11 12:06:41 -05:00
Victor Shyba
61d7edd15f change api name to wallet reconnect 2019-12-11 12:06:41 -05:00
Victor Shyba
c2106de7e1 refactor + tests 2019-12-11 12:06:41 -05:00
Victor Shyba
0bf1be6198 add wallet restart API 2019-12-11 12:06:41 -05:00
Lex Berezhny
af7c20e440 downgrade multidict to prevent segfault 2019-12-11 09:44:37 -05:00
Lex Berezhny
17771a2b89 added --initial-headers argument to lbrynet start command 2019-12-11 09:44:37 -05:00
Lex Berezhny
8840097fe2 test that creator can spend purchases received 2019-12-09 22:32:14 -05:00
Lex Berezhny
7d333efd45 utxo list includes purchases of your claims 2019-12-09 22:32:14 -05:00
Lex Berezhny
640b0c71e6 v0.49.0 2019-12-09 13:05:08 -05:00
Victor Shyba
bff9117360 progress from 0 2019-12-09 13:04:23 -05:00
Lex Berezhny
0292fd8d91 fix lint error 2019-12-08 22:40:06 -05:00
Lex Berezhny
94a41270d0 add InvalidPasswordError handling to more places 2019-12-08 22:40:06 -05:00
Lex Berezhny
75d78bfa53 added InvalidPasswordError code when password is invalid 2019-12-08 22:40:06 -05:00
Lex Berezhny
13f9370f8c fix wallet server db writer test 2019-12-08 17:00:41 -05:00
Lex Berezhny
1c349270bf switch to apsw 2019-12-08 17:00:41 -05:00
Lex Berezhny
c28f0f6286 added apsw installation to tox 2019-12-08 17:00:41 -05:00
Lex Berezhny
1bbfccd082 refactored error codes generate script and error hierarchy 2019-12-06 10:45:23 -05:00
Lex Berezhny
cee7e06832 add configurable log level to exceptions, join message and description columns in error markdown table 2019-12-06 10:45:23 -05:00
Jack Robison
03dff4b382
fix build 2019-12-05 20:56:57 -05:00
Jack Robison
f546b20a01 v0.48.2 2019-12-04 13:10:40 -05:00
Jack Robison
66a4c98bee
update test 2019-12-03 13:11:34 -05:00
Miroslav Kovar
36101db500
Wait for routing table to clear with timeout 2019-12-03 13:06:50 -05:00
Miroslav Kovar
6bff298d1e
Add migrator for the new peer table 2019-12-03 13:06:50 -05:00
Jack Robison
c832f8ffbb
fix mock_network_loop param 2019-12-03 13:06:50 -05:00
Jack Robison
d7fe46dbde
fix drop/reconnect in test_losing_connection 2019-12-03 13:06:50 -05:00
Miroslav Kovar
5951186463
Minor changes
Fix typos
2019-12-03 13:06:50 -05:00
Miroslav Kovar
7191042bb8
Add new test, remove old test, change error type 2019-12-03 13:06:50 -05:00
Miroslav Kovar
a80fbcc252
Catch resolve timeouts 2019-12-03 13:06:50 -05:00
Miroslav Kovar
c321758afd
Rename, fix tests / deduplicate set_joined, resolve conditionally 2019-12-03 13:06:50 -05:00
Miroslav Kovar
ca8f59a643
Persist and restore routing table 2019-12-03 13:06:50 -05:00
Jack Robison
a283b66541
add timeout to file_save attempt starting
-remove test_unban_recovers_stream
2019-12-03 11:56:59 -05:00
Jack Robison
569de37e16
fix sendfile exceptions 2019-12-03 11:56:55 -05:00
Jack Robison
669f3394c7
fix requesting same blob over and over if only peer(s) say they don't have it 2019-12-03 11:56:52 -05:00
Alex Grin
87ec2c7378 v0.48.1 2019-12-02 12:39:41 -05:00
Jack Robison
c894ade25e
fix integration tests 2019-12-01 17:28:51 -05:00
Jack Robison
a3fe127a92
fix and test reserved ips 2019-12-01 17:04:03 -05:00
Jack Robison
71ae174e29
fix predicting udp port in _accumulate_peers_for_value
-add comments
-rename functions to be more descriptive of what they do
2019-12-01 16:21:15 -05:00
Jack Robison
880aa265f1
drain all pages of peers returned by find_value in IterativeValueFinder 2019-12-01 14:53:39 -05:00
Lex Berezhny
b60fdee5e2 upgrade SDK to use lbrycrd v0.17.3.2 2019-11-26 21:31:31 -05:00
Alex Grintsvayg
44f07fb81d move build-related files into top-level dir 2019-11-26 18:28:58 -05:00
Alex Grintsvayg
6112f60681 gitlab ci setup
what works:
- tests
- linux and mac builds
- uploading builds to s3

what's left to do:
- uploading coverage results to codecov.io
- windows build
- github releases
- what directories to cache between builds
2019-11-26 18:28:58 -05:00
Alex Grintsvayg
ecc74e2ae5 if user has no Downloads dir on windows, use cwd 2019-11-26 18:28:58 -05:00
jessop
c2dae43965 response 2019-11-26 14:45:41 -05:00
jessop
6e3a25d255 status: wallet returns all servers rather than just available 2019-11-26 14:45:41 -05:00
jessop
4e13cf1d85 adds wallet server counts on startup 2019-11-26 14:45:41 -05:00
Lex Berezhny
0fee1897eb v0.48.0 2019-11-25 20:39:36 -05:00
Victor Shyba
9dd51467fe move lbry specific version to its place 2019-11-25 20:21:13 -05:00
Victor Shyba
cec6dca72f bump protocol version 2019-11-25 20:21:13 -05:00
Victor Shyba
cc6bdd6295 sync fts only once 2019-11-25 16:07:03 -05:00
Victor Shyba
e77acde005 wip 2019-11-25 16:07:03 -05:00
Victor Shyba
ece5082096 enable callback tracebacks 2019-11-25 16:07:03 -05:00
Alex Grintsvayg
0723026a56
drop codecov 2019-11-25 12:52:30 -05:00
Lex Berezhny
0b7346f4a1 droped OldWalletServerTransaction class in wallet server unit tests 2019-11-25 10:22:34 -05:00
Lex Berezhny
a357db1ff6 use correct segwit deserializer 2019-11-25 10:22:34 -05:00
Jack Robison
076decd6e9
don't log tracebacks for expected download errors 2019-11-25 09:47:42 -05:00
jessop
d40461de94 review changes 2019-11-22 22:28:55 -05:00
jessop
4b1492be0d return value and more tests 2019-11-22 22:28:55 -05:00
jessop
1676246743 cleanup 2019-11-22 22:28:55 -05:00
jessop
f7c9f6d142 adds settings_clear method and integration test 2019-11-22 22:28:55 -05:00
Alex Grintsvayg
df635b963c
enable passing args to tests 2019-11-21 15:31:49 -05:00
Lex Berezhny
6d0a054170 regenerate latest docs with claim_id argument to stream_repost 2019-11-20 10:56:42 -05:00
Lex Berezhny
177d3af77f regenerate latest docs 2019-11-20 10:39:17 -05:00
Lex Berezhny
35f71c619b fix unit tests 2019-11-19 22:26:30 -05:00
Lex Berezhny
31a80ccce4 minor fixups 2019-11-19 22:26:30 -05:00
Lex Berezhny
3194cec8df added missing files 2019-11-19 22:26:30 -05:00
Lex Berezhny
57fd3c5801 updated code base to use generated errors 2019-11-19 22:26:30 -05:00
Lex Berezhny
86617f1bda added names to errors and script to generate error classes from README 2019-11-19 22:26:30 -05:00
Lex Berezhny
35f36c598c moved error.py to be a module 2019-11-19 22:26:30 -05:00
Lex Berezhny
36bd7816fe add handling for invalid claims in calculate_reposts 2019-11-18 17:07:46 -05:00
Lex Berezhny
fd632392d4 full reposted_claim data returned for claim_search and resolve 2019-11-18 17:07:46 -05:00
Victor Shyba
423b48866f apply refactor suggested on review by removing .out calls 2019-11-18 17:07:46 -05:00
Victor Shyba
745bc24343 add a test for normal repost mixed with blocking repost, use inner queries 2019-11-18 17:07:46 -05:00
Victor Shyba
04a823c7d0 FILTERING_CHANNELS_IDS on claim search 2019-11-18 17:07:46 -05:00
Victor Shyba
56af4c2fcb minor fixes from rebase 2019-11-18 17:07:46 -05:00
Victor Shyba
77daf6812a add config option for filtering channels 2019-11-18 17:07:46 -05:00
Victor Shyba
c7e964ec42 add reposted_claim_hash column, writer and reader w/ tests 2019-11-18 17:07:46 -05:00
Victor Shyba
694e2c2a4f improve test cases for reposts, add a new one for reverse search 2019-11-18 17:07:46 -05:00
Victor Shyba
df6537fae8 add API for reposting 2019-11-18 17:07:46 -05:00
Lex Berezhny
71f6542571 v0.47.0 2019-11-18 10:57:58 -05:00
Victor Shyba
5a6294c08e test errors arent trapped 2019-11-18 10:57:24 -05:00
Victor Shyba
f0390786d6 avoid trapping errors on client 2019-11-18 10:57:24 -05:00
Jack Robison
a116dcd3bb
add SQLiteStorage.delete_torrent 2019-11-15 16:53:19 -05:00
Jack Robison
e2dd3dcf88
get_claims_from_torrent_info_hashes 2019-11-15 16:53:19 -05:00
Jack Robison
822f0c3cb2
add migrate12to13 script 2019-11-15 16:53:14 -05:00
Jack Robison
63fb39016b
add torrent db tables
-decouple file table from stream table
2019-11-15 15:25:33 -05:00
Jack Robison
e79f8d58ca
expose bt_infohash in Claim 2019-11-15 15:25:33 -05:00
Lex Berezhny
a469dfb583 stop signing support tx too many times 2019-11-15 14:16:54 -05:00
Victor Shyba
6fcb4d93c9 header component now shows header synchronization progress 2019-11-15 13:59:28 -05:00
Victor Shyba
a70f5e2440 update block status during download 2019-11-15 13:59:28 -05:00
Victor Shyba
24ed0521c7 checkpoints 2019-11-15 13:59:28 -05:00
Victor Shyba
d8fed79810 remove headers component 2019-11-15 13:59:28 -05:00
Jack Robison
3038dd9440
bump aioupnp -> 0.0.16 2019-11-15 11:24:49 -05:00
Lex Berezhny
276b2c737a pylint 2019-11-14 18:53:20 -05:00
Lex Berezhny
62543b94c9 minor cleanup of collections implementation 2019-11-14 18:53:20 -05:00
jessop
4d607ed276 review response 2019-11-14 18:53:20 -05:00
jessop
26e2865e35 cleanup 2019-11-14 18:53:20 -05:00
jessop
f7c94c9eb5 collection resolve endpoint 2019-11-14 18:53:20 -05:00
jessop
25a91f89fd tests 2019-11-14 18:53:20 -05:00
jessop
246f055145 enables collections 2019-11-14 18:53:20 -05:00
Lex Berezhny
e49f24e95f added more tests to make sure stream update and abandon update the full text search indexes 2019-11-14 17:19:10 -05:00
Lex Berezhny
48a18ff771 full text search in wallet server 2019-11-14 17:19:10 -05:00
Alex Grintsvayg
37161057c6
plz explain errors 2019-11-14 09:52:30 -05:00
Alex Grintsvayg
68d1157495
catch the right error, boris 2019-11-13 17:58:47 -05:00
Lex Berezhny
7051c332a1 v0.46.1 2019-11-12 11:26:24 -05:00
Lex Berezhny
0f2a0b7c97 added witness transaction parsing to torba parser 2019-11-12 11:24:42 -05:00
Lex Berezhny
bb6ef42d0c added support for lbrycrd v0.17.3.1 2019-11-12 11:24:42 -05:00
Jack Robison
3c591d4968
update time_to_first_bytes.py 2019-11-11 20:43:52 -05:00
Lex Berezhny
cf356a8e35 v0.46.0 2019-11-11 10:49:44 -05:00
Victor Shyba
3a0ce58cda send back correct server version 2019-11-11 10:14:00 -05:00
Lex Berezhny
2d7038dc18 fixed wallet balance for multiple accounts 2019-11-05 10:14:03 -05:00
Lex Berezhny
25a0e67841 added caching for account/wallet balance and removed --reserved_subtotals argument instead always returning the subtotals 2019-11-05 10:14:03 -05:00
Alex Grintsvayg
be64209292
less verbose snapshot download 2019-11-04 16:51:57 -05:00
Lex Berezhny
0006cb1c27 v0.45.0 2019-11-04 10:30:57 -05:00
Lex Berezhny
836d38ed2a added claim_trending_group_mixed_idx index to wallet server db 2019-11-04 10:28:22 -05:00
Thomas Zarebczan
ec71017785 update trending period
This gets us back to ~7 days, which was originally requested as part of this change.
2019-11-04 10:28:22 -05:00
Jack Robison
f93bbd6bc3
improve reflector logging 2019-11-01 11:32:36 -04:00
Jack Robison
ca12d655ea
don't log tracebacks for old peers failing to handle findValue requests during blob announcement 2019-11-01 11:30:44 -04:00
Jack Robison
874c28bd88
add optional_fields to KademliaDatagramBase
-update KademliaDatagramBase.bencode and decode_datagram
2019-11-01 10:47:45 -04:00
Jack Robison
aa7c0a3544
test unused fields are backwards compatible 2019-11-01 10:45:12 -04:00
Lex Berezhny
3624a3b450 added --uri to purchase_list and file_list now includes purchase_receipt field 2019-10-30 23:00:45 -04:00
Lex Berezhny
c4c50699cc fix transaction_list for purchases correctly showing balance_delta 2019-10-30 23:00:45 -04:00
Lex Berezhny
6a3d760cfe fix for integration test 2019-10-30 23:00:45 -04:00
Lex Berezhny
8ceaf66a81 pylint fixes 2019-10-30 23:00:45 -04:00
Lex Berezhny
fdd2562f32 added purchase_list and purchase_create 2019-10-30 23:00:45 -04:00
Lex Berezhny
28457021f8 figure out why time to first byte duration went up 2019-10-30 23:00:45 -04:00
Lex Berezhny
459716bd6e initial RETURN_OP based purchase metadata 2019-10-30 23:00:45 -04:00
Lex Berezhny
41e0e6762c added wallet management tests and address unsubscribe feature on wallet server 2019-10-30 17:59:12 -04:00
Lex Berezhny
a5ee60c1c9 subscribe accounts on wallet_add 2019-10-30 17:59:12 -04:00
Lex Berezhny
28ea43c89e v0.44.1 2019-10-28 16:00:17 -04:00
Jack Robison
cb38ba12a7
fix the external ip in status if upnp fails 2019-10-28 13:35:15 -04:00
Jack Robison
9200f5b516
fix 11to12 migration typo 2019-10-28 12:20:15 -04:00
Lex Berezhny
5c1026c745 v0.44.0 2019-10-28 11:35:51 -04:00
Jack Robison
0d179d67a3
bump aioupnp -> 0.0.15 2019-10-28 10:19:08 -04:00
Lex Berezhny
99ce40f736 reduce output on travis and dont install python2 on mac build 2019-10-26 15:02:43 -04:00
Lex Berezhny
d2315f4fd7 added ledger.on_ready to know when ledger is finished syncing 2019-10-26 15:01:17 -04:00
Lex Berezhny
6370404985 removed shutdown_runner argument to daemon.stop() 2019-10-26 15:01:17 -04:00
Lex Berezhny
1ed38fff6f removed runner.shutdown() as runner.cleanup() calls this already 2019-10-26 15:01:17 -04:00
Chris Baumler
ba48713219 Add CLI unit test for keyboard interrupt 2019-10-26 15:01:17 -04:00
Lex Berezhny
dfc1e6a2b9 renamed added_at to added_on, to be consistent with existing modified_on field 2019-10-26 11:57:07 -04:00
Oleg Silkin
4237331222 adds added_at field to files 2019-10-26 11:57:07 -04:00
Hugo
087124ce42 Update unit test asserts 2019-10-26 10:36:52 -04:00
Hugo
c5cfd8f40e Upgrade Python syntax with pyupgrade --py37-plus 2019-10-26 10:36:52 -04:00
Lex Berezhny
ccf55bcd01 simplify line in generate_json_api.py 2019-10-26 01:18:27 -04:00
Lex Berezhny
d227660d6c minor refactor and cleanup, generated api.json 2019-10-26 01:18:27 -04:00
Oleg Silkin
ca6202fc19 Shortens file_list method 2019-10-26 01:18:27 -04:00
Oleg Silkin
f6b5a40813 self.daemon.jsonrpc_file_list(params) -> self.file_list(params) in tests 2019-10-26 01:18:27 -04:00
Oleg Silkin
69c0cefe5e Adds pre-formatted file_list method to testcase, fixes file_list tests 2019-10-26 01:18:27 -04:00
Oleg Silkin
ad8772e191 Replaces .get with bracket notation dictionary access 2019-10-26 01:18:27 -04:00
Oleg Silkin
e095767bc6 Makes the page_size return default to all 2019-10-26 01:18:27 -04:00
Oleg Silkin
610f19bea1 Updates api example generation for file_list 2019-10-26 01:18:27 -04:00
Oleg Silkin
4637559c6e Enforces the default paginated output on file_list 2019-10-26 01:18:27 -04:00
Oleg Silkin
766dcff6c6 Paginates only if either --page or --page_size are provided 2019-10-26 01:18:27 -04:00
Oleg Silkin
b30dc39e37 Makes page & page_size co-dependent in doc 2019-10-26 01:18:27 -04:00
Oleg Silkin
a23178633a Adds tests to ensure paginated file_list works properly 2019-10-26 01:18:27 -04:00
Oleg Silkin
7c074e1cd4 paginates file_list 2019-10-26 01:18:27 -04:00
Lex Berezhny
4a8b96a6d2 removed outdated docs, see https://lbry.tech/api/sdk instead 2019-10-26 00:16:57 -04:00
Lex Berezhny
290a206012 fix api doc script 2019-10-26 00:15:19 -04:00
Lex Berezhny
7b86b3843f refactored and updates all list commands to always be paginated 2019-10-26 00:15:19 -04:00
Oleksandr Manyk
553adb2ad0 Fetch records count only when needed 2019-10-26 00:15:19 -04:00
Oleksandr Manyk
cc55a78fb4 Call claim_search only once 2019-10-26 00:15:19 -04:00
Oleksandr Manyk
bd1df09098 Unify paginated endpoints logic 2019-10-26 00:15:19 -04:00
Julin S
c61fae05d6 Convert some format() strings in lbry and torba to fstrings 2019-10-25 20:47:39 -04:00
Lex Berezhny
e3cb5bfa07 fix for stream type change integration test 2019-10-25 11:51:45 -04:00
Lex Berezhny
09f6034f2f added back prefix argument to create_upload_file fixture method 2019-10-25 07:02:21 -04:00
Lex Berezhny
63b8a76bf6 refactored tests and simplified clearing of metadata on file type change 2019-10-25 07:02:21 -04:00
Miroslav Kovar
5fe536a058 Clean up the test 2019-10-25 07:02:21 -04:00
Miroslav Kovar
342184e532 Clear metadata when updating file type 2019-10-25 07:02:21 -04:00
Lex Berezhny
e5c169ddf8 minor fixup 2019-10-24 17:28:59 -04:00
Miroslav Kovar
622ba2b0e3 Revert to the original 2019-10-24 17:28:59 -04:00
Miroslav Kovar
fbfe8f8d14 Remove extend, fix index var 2019-10-24 17:28:59 -04:00
Miroslav Kovar
3c96fda59b Preserve order of tags when cleaning 2019-10-24 17:28:59 -04:00
Miroslav Kovar
7cb03dde44 Normalize only when writing (setting, updating) 2019-10-24 17:28:59 -04:00
Miroslav Kovar
db34f89251 Normalize tag names 2019-10-24 17:28:59 -04:00
Alex Grintsvayg
98b9972fa5 cleanup setup_logging()
added more logging tests and refactored for merging into master
2019-10-24 15:48:29 -04:00
Lex Berezhny
dd5507036f fix broken tests 2019-10-23 15:29:12 -04:00
Lex Berezhny
75da209de1 fix for wallet server bug related to changing the channel of a stream 2019-10-23 15:29:12 -04:00
Lex Berezhny
bb8a2bfff7 fix bug with resolve and conflicting claim_id segments 2019-10-23 11:48:00 -04:00
Lex Berezhny
21d291531e v0.43.4 2019-10-21 13:09:36 -04:00
Victor Shyba
2653a9447b bump ecdsa version 2019-10-21 13:08:19 -04:00
Miroslav Kovar
bc04903741 Return a default value 2019-10-21 12:43:40 -04:00
Miroslav Kovar
5501418727 Fix failing test 2019-10-21 12:43:40 -04:00
Miroslav Kovar
2737b3635f Revert last change 2019-10-21 12:43:40 -04:00
Miroslav Kovar
e29688530d Do not close files unnecessarily 2019-10-21 12:43:40 -04:00
Miroslav Kovar
2eec26b648 Clean up 2019-10-21 12:43:40 -04:00
Miroslav Kovar
d4d1d87680 Revert changes to cli, apply suggestions 2019-10-21 12:43:40 -04:00
Miroslav Kovar
869be3e361 Improve tests, update suggested file name when necessary 2019-10-21 12:43:40 -04:00
Miroslav Kovar
15376c19be Apply suggestions 2019-10-21 12:43:40 -04:00
Miroslav Kovar
f92b610a03 Simplify 2019-10-21 12:43:40 -04:00
Miroslav Kovar
268f6447cb Sanitize suggested, add tests 2019-10-21 12:43:40 -04:00
Miroslav Kovar
ed93c647d2 Sanitize file names before saving 2019-10-21 12:43:40 -04:00
Lex Berezhny
f60db358ee v0.43.3 2019-10-18 18:10:01 -04:00
Lex Berezhny
481e265ec7 added wallet.save() in test since it is no longer saved redundantly on startup 2019-10-18 18:08:43 -04:00
Lex Berezhny
d50ebcf9eb do not save wallet if gap did not change, also dont encrypt on save if already encrypted 2019-10-18 18:08:43 -04:00
Lex Berezhny
c448531551 dont save wallet on startup regardless of changes 2019-10-18 18:08:43 -04:00
Jack Robison
afe24a3e65 update time_to_first_byte.py 2019-10-18 15:59:21 -04:00
Jack Robison
9058201de0 update download_blob_from_peer.py 2019-10-18 15:59:21 -04:00
Jack Robison
49a54f8a13 fix total_sent and total_received in connection status
- remove `time` field from connection status
- add `max_incoming_mbs` and `max_outgoing_mbs` to connection status
- reduce delay in connection status loop
2019-10-18 15:59:21 -04:00
Lex Berezhny
5cebc7f5cd pylint 2019-10-18 12:02:36 -04:00
Lex Berezhny
4e7e475a5e minor fixups for logging 2019-10-18 12:02:36 -04:00
Miroslav Kovar
f8a5bc94e5 Pass root logger instead 2019-10-18 12:02:36 -04:00
Miroslav Kovar
6b0b441329 Fix logging bug 2019-10-18 12:02:36 -04:00
Lex Berezhny
1c8aad7a07 fix for encrypted wallet with import read-only channel accounts 2019-10-17 22:28:44 -04:00
Lex Berezhny
7743a6a71d v0.43.2 2019-10-17 13:38:52 -04:00
Lex Berezhny
65a18e78dd publish checks all accounts before forwarding to stream_create/stream_update 2019-10-17 13:38:19 -04:00
Lex Berezhny
12a0cbf4e1 improve preference sync integration test 2019-10-16 17:19:10 -04:00
Lex Berezhny
55c2073813 v0.43.1 2019-10-16 15:50:10 -04:00
Lex Berezhny
39bc8c45c3 test fix 2019-10-16 15:49:10 -04:00
Lex Berezhny
46465f5409 removed WALLET_IS_UNLOCKED condition since it does not take into account multi-wallet 2019-10-16 15:49:10 -04:00
Lex Berezhny
380efc5ae0 regen docs 2019-10-16 12:06:05 -04:00
Lex Berezhny
d1a123997d sync_apply always updates local password if encrypt-on-disk is enabled 2019-10-16 12:06:05 -04:00
Lex Berezhny
722419dffc migrate per-account on disk encryption to encrypt-on-disk preference 2019-10-16 12:06:05 -04:00
Lex Berezhny
bcd69f812e sync_apply overwrites local password when encrypt-on-disk is true 2019-10-16 12:06:05 -04:00
Lex Berezhny
1075cd9995 regenerated api.json 2019-10-16 12:06:05 -04:00
Lex Berezhny
e5be1ff157 bug fixes and encrypt-on-disk preference 2019-10-16 12:06:05 -04:00
Lex Berezhny
398fe55083 renamed: test_sync.py -> test_wallet_commands.py 2019-10-16 12:06:05 -04:00
Lex Berezhny
26d17e2e69 updated api.json docs 2019-10-15 12:12:35 -04:00
Lex Berezhny
43b619b2c6 release script fix for PRs with null body 2019-10-14 19:09:32 -04:00
Lex Berezhny
0e4426e084 v0.43.0 2019-10-14 13:07:15 -04:00
Jack Robison
a27943ea14
update time_to_first_byte.py 2019-10-14 12:59:59 -04:00
Lex Berezhny
45eef03576 fixes 2019-10-14 12:57:09 -04:00
Lex Berezhny
270f77df24 wallet encryption 2019-10-14 12:57:09 -04:00
Lex Berezhny
dc580b9eff wip wallet encrypt/decrypt API 2019-10-14 12:57:09 -04:00
Lex Berezhny
fed7e94d8d added wallet send command 2019-10-14 10:43:54 -04:00
Lex Berezhny
9bb0ca2f0d async def 2019-10-13 22:32:09 -04:00
Lex Berezhny
3d82becadc utxo release applies to all accounts in wallet 2019-10-13 22:32:09 -04:00
Lex Berezhny
e2b92c99ef added wallet balance command 2019-10-13 20:06:11 -04:00
Lex Berezhny
37ae302fc6 timestamped top-level wallet preferences 2019-10-12 20:23:29 -04:00
Alex Grin
c51cc02a87
Merge pull request #2527 from lbryio/faster_trending
only do trending calculations near the tip of the chain
2019-10-11 13:20:35 -04:00
Thomas Zarebczan
6c92fbd8de add oga and ogv mime types
https://gingertech.net/2008/09/05/new-ogg-mime-types-ratified/#targetText=The%20new%20Ogg%20MIME%20types,I%20files%20for%20backwards%20compatibility.
2019-10-11 11:40:36 -04:00
Alex Grintsvayg
065215cc27
only do trending calculations near the tip of the chain 2019-10-11 10:51:50 -04:00
Miroslav Kovar
19e8b6e11f Add test 2019-10-11 10:12:18 -04:00
Miroslav Kovar
63447d1ec3 Make more readable 2019-10-11 10:12:18 -04:00
Miroslav Kovar
75fac93544 Make --verbose behave as per doc 2019-10-11 10:12:18 -04:00
Alex Grintsvayg
284fdb2fcb
small clarifying changes 2019-10-09 15:42:32 -04:00
Jack Robison
35d2d55a27
handle error if range request transport is reset 2019-10-08 14:37:51 -04:00
Jack Robison
5cd0828dd3
force ipv4 when resolving a url
-log violating ip addresses
2019-10-08 13:31:06 -04:00
Jack Robison
077281a77a v0.42.2 2019-10-07 13:03:51 -04:00
Jack Robison
f99aacd9dc
improve store_to_peer retry, reduce error verbosity 2019-10-07 12:26:49 -04:00
Jack Robison
43b83bec83
remove dead code 2019-10-07 12:26:49 -04:00
Jack Robison
fc1b4658fc
re-use loggly connection 2019-10-07 12:26:49 -04:00
Victor Shyba
05a28ea346 handle attempts to add peers with no node id and issue a warning 2019-10-07 13:20:38 -03:00
Victor Shyba
624f986978 handle peer_is_good for unknown node id 2019-10-07 13:20:38 -03:00
Victor Shyba
91a9957918 avoid peer mutability
Mutability can be harmful here, specially on fields used for __hash__
It can also make the cache less efficient
2019-10-07 13:20:38 -03:00
Victor Shyba
8cd18e47e7 get_kad... -> make_kad.. 2019-10-07 13:20:38 -03:00
Victor Shyba
517868f73c fix unit tests 2019-10-07 13:20:38 -03:00
Victor Shyba
18d80f4ed5 1 and 65536 arent valid ports 2019-10-07 13:20:38 -03:00
Victor Shyba
2e2c751d75 check for none on tcp port 2019-10-07 13:20:38 -03:00
Victor Shyba
7aa5e2cbe1 use a dataclass experiment 2019-10-07 13:20:38 -03:00
Victor Shyba
7d6db20081 use cache for dht peer objects 2019-10-07 13:20:38 -03:00
Miroslav Kovar
911ec9444b Decrease the status refresh rate 2019-10-07 11:42:40 -04:00
Miroslav Kovar
2883c6bab3 Fix incorrect counting of total bytes sent / received 2019-10-07 11:42:40 -04:00
Lex Berezhny
56df145052 updating/abanding streams/channels works across all accounts 2019-10-07 09:57:22 -04:00
Lex Berezhny
9e873f77f9 bug fixes related to cross-account / wallet operations 2019-10-07 09:57:22 -04:00
Alex Grintsvayg
27bbd91635
include fn name and args in jsonrpc error message 2019-10-04 11:25:01 -04:00
Alex Grintsvayg
2c73c80c9f
fix formatting 2019-10-04 09:52:29 -04:00
Hugo
3a3a9b5f4e Fix spelling 2019-10-03 21:40:06 -04:00
Lex Berezhny
3f89ed4579 v0.42.1 2019-09-30 12:59:45 -04:00
Lex Berezhny
02b01b89f2 fix for wallet_remove command 2019-09-30 12:57:33 -04:00
Victor Shyba
4a6af0b938 retriable resolve 2019-09-30 12:57:18 -04:00
Alex Grintsvayg
9c5b4e3cc9 change trending window to 6 hours 2019-09-30 11:25:52 -04:00
Victor Shyba
348bbc81ca fix for new pylint in lbry/ 2019-09-24 12:53:23 -03:00
Lex Berezhny
4cbc82619d v0.42.0 2019-09-23 13:50:21 -04:00
Lex Berezhny
dc72a1e58d fix wallet_create single_key argument 2019-09-23 13:49:50 -04:00
Lex Berezhny
1d5333c737 integration test fix 2019-09-23 13:49:50 -04:00
Lex Berezhny
d289041ff3 regnerated docs 2019-09-23 13:49:50 -04:00
Lex Berezhny
f287483397 split wallet creation into wallet_add and wallet_create 2019-09-23 13:49:50 -04:00
Lex Berezhny
1ac3b6c173 wallet_list optionally takes wallet_id 2019-09-23 13:49:50 -04:00
Lex Berezhny
835d376ca6 wallet_id arg added to more commands 2019-09-23 13:49:50 -04:00
Lex Berezhny
68e9fd8541 account integration test fix 2019-09-23 13:49:50 -04:00
Lex Berezhny
e49f8f8c61 regenerated docs 2019-09-23 13:49:50 -04:00
Lex Berezhny
b396322f1e removed default_account and default_wallet on Daemon instance 2019-09-23 13:49:50 -04:00
Lex Berezhny
ea434e3469 wallet_id related test fixes 2019-09-23 13:49:50 -04:00
Lex Berezhny
84587ac232 wallet commands and wallet_id argument to other commands 2019-09-23 13:49:50 -04:00
Miroslav Kovar
9fbc83fe9d Always handle claim_name as a string 2019-09-20 14:22:01 -04:00
Victor Shyba
965972a719 match regex from app into ours 2019-09-19 17:30:22 -04:00
Miroslav Kovar
34d19c4a72 Remove superfluous test 2019-09-19 17:16:18 -04:00
Miroslav Kovar
9b0910767d Fix formatting, support null argument only 2019-09-19 17:16:18 -04:00
Miroslav Kovar
32cc077e1f enable to set max_key_fee to null via cli 2019-09-19 17:16:18 -04:00
Miroslav Kovar
1e7bec48b6 Add integration test, remove unit test 2019-09-19 15:21:01 -04:00
Miroslav Kovar
c035837a14 Fix failing key payment for null max key fee 2019-09-19 15:21:01 -04:00
Miroslav Kovar
cb5eb8983b Fix docopt for claim search 2019-09-18 19:30:58 -04:00
Thomas Zarebczan
826f584aa8 add Flac mime type 2019-09-18 19:20:09 -04:00
Victor Shyba
c5530aee5f refactor tests 2019-09-18 19:19:34 -04:00
Victor Shyba
817f01593e call the correct method on is_valid_address 2019-09-18 19:19:34 -04:00
Jack Robison
46b45d0387
gotta fetch 'em all 2019-09-17 12:09:19 -04:00
Jack Robison
e6c549c457
remove redundant query from sync_missing_blobs 2019-09-17 12:09:19 -04:00
Jack Robison
a095f89c81
remove redundant test 2019-09-17 12:09:19 -04:00