Commit graph

594 commits

Author SHA1 Message Date
Lex Berezhny
c25d72d911 minor error class and type checking fixes 2019-12-15 02:39:17 -05:00
Miroslav Kovar
73613d1583 Refactor exchange rate manager 2019-12-15 02:39:17 -05:00
Lex Berezhny
1e6542d12d add --blocklist_channel_ids to claim_search command 2019-12-14 19:19:33 -05:00
Lex Berezhny
3cffaa43f7 remove invalid claim_id from default channel filter list 2019-12-14 19:19:33 -05:00
Lex Berezhny
08792e794f a support create and abandon in same block no longer inserts support 2019-12-14 18:19:06 -05:00
Lex Berezhny
7fa26d59da fixes for various edge cases where claim creation, updating and abandoning is occuring in the same block 2019-12-14 18:19:06 -05:00
Lex Berezhny
74469829e5 pylint 2019-12-14 15:47:28 -05:00
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