Commit graph

3972 commits

Author SHA1 Message Date
Lex Berezhny
786efa06dd fixed resolve to work with partial claim_ids 2019-05-26 14:01:06 -04:00
Lex Berezhny
b6811d55cf no longer log skipped claim insertions on wallet server, happens too often 2019-05-26 14:01:06 -04:00
Lex Berezhny
42dc0eccd6 wallet server channel key change error 2019-05-26 14:01:06 -04:00
Lex Berezhny
29bd936181 wallet server tracks claim signature 2019-05-26 14:01:06 -04:00
Lex Berezhny
9d97b90ff4 pylint 2019-05-26 14:01:06 -04:00
Lex Berezhny
370b34f860 canonical_url takes into account whether channel signature is valid 2019-05-26 14:01:06 -04:00
Lex Berezhny
affa46e0f6 initial import of canonical url via the new sql wallet server 2019-05-26 14:01:06 -04:00
Jack Robison
925e39c5a8
improve set_build.py, pin torba version
- adds BUILD_COMMIT to lbrynet.build_type
2019-05-24 18:02:55 -04:00
Jack Robison
4f8bcfcd18
fix false negative with file completed field 2019-05-24 16:47:25 -04:00
Jack Robison
85d94d4ca3
start returning range request bytes at the requested offset 2019-05-24 15:32:40 -04:00
Jack Robison
cb6ddaf276
add blob_lru_cache_size config setting, defaults to 32 2019-05-24 12:02:58 -04:00
Lex Berezhny
1c2029cddf fix startup error when single key account present in wallet 2019-05-22 18:31:49 -04:00
Alex Grintsvayg
4fbccb9336
uniform spacing on docstring 2019-05-22 09:23:31 -04:00
Lex Berezhny
ef5dd5593f v0.38.0rc2 2019-05-20 21:39:16 -04:00
Lex Berezhny
baed974be0 several minor wallet server fixes 2019-05-20 21:35:20 -04:00
Lex Berezhny
b2b3509b61 regenerate protobufs 2019-05-20 15:19:14 -04:00
Lex Berezhny
51720d9b73 add MAX() to claimtrie GROUP BY algo to make results consistent across SQLite versions 2019-05-20 15:19:14 -04:00
Lex Berezhny
6abb569ec8 v0.38.0rc1 2019-05-19 23:03:25 -04:00
Lex Berezhny
c2fbbadc69 start trending calculation as wallet server sync nears best height 2019-05-19 21:16:19 -04:00
Lex Berezhny
b8897223ec added zscore trending in wallet server 2019-05-19 21:16:19 -04:00
Lex Berezhny
b841fb2f0c fix docopt parser issue 2019-05-18 21:43:46 -04:00
Lex Berezhny
2b75982446 disable trending until its fixed 2019-05-18 21:43:46 -04:00
Lex Berezhny
021ca3efd2 updated doc strings and fixed wallet server claimtrie implementation 2019-05-18 21:43:46 -04:00
Lex Berezhny
e56b72cf04 pylint and use torba master 2019-05-18 21:43:46 -04:00
Lex Berezhny
342f485ddf good stuff 2019-05-18 21:43:46 -04:00
Lex Berezhny
8fe16fbfc9 performance 2019-05-18 21:43:46 -04:00
Lex Berezhny
1e3035029e timer fix 2019-05-18 21:43:46 -04:00
Lex Berezhny
5f4c02f836 wallet server sync performance improvements 2019-05-18 21:43:46 -04:00
Lex Berezhny
03a1185e0f pylint 2019-05-18 21:43:46 -04:00
Lex Berezhny
0e1705d19e instrumented most wallet server claim related functions with timer 2019-05-18 21:43:46 -04:00
Lex Berezhny
82c739daa6 abstract _apply_constraints_for_array_attributes for wallet server 2019-05-18 21:43:46 -04:00
Lex Berezhny
4702bea9f0 claim_search --not_tags feature + integration tests 2019-05-18 21:43:46 -04:00
Lex Berezhny
75211b7e84 updated claim_search doc string 2019-05-18 21:43:46 -04:00
Lex Berezhny
9f9273bd82 working claim_search with tags 2019-05-18 21:43:46 -04:00
Lex Berezhny
091bef1ead sequence/amount_order resolve 2019-05-18 21:43:46 -04:00
Lex Berezhny
998ee9feba resolve integration tests fixed 2019-05-18 21:43:46 -04:00
Lex Berezhny
587f0b2ea8 integration tests for jsonrpc_transaction_show fixed 2019-05-18 21:43:46 -04:00
Lex Berezhny
048aa07e80 test_file_commands integration tests fixed 2019-05-18 21:43:46 -04:00
Lex Berezhny
7ca01511f4 fixing integration tests 2019-05-18 21:43:46 -04:00
Lex Berezhny
93d2173fad chris45 integration test passing 2019-05-18 21:43:46 -04:00
Lex Berezhny
2e6297f834 pylint 2019-05-18 21:43:46 -04:00
Lex Berezhny
9accbfcf8b move exception handling into is_signed_by 2019-05-18 21:43:46 -04:00
Lex Berezhny
6946860521 added result schema types 2019-05-18 21:43:46 -04:00
Lex Berezhny
9b8be8682c massive progress 2019-05-18 21:43:46 -04:00
Lex Berezhny
03455310ae rewrote URL parser 2019-05-18 21:43:46 -04:00
Lex Berezhny
e5edaed677 removed test code from wallet server daemon.py 2019-05-18 21:43:46 -04:00
Lex Berezhny
266f94bc95 pylint 2019-05-18 21:43:46 -04:00
Lex Berezhny
2260608bb6 working sql claimtrie 2019-05-18 21:43:46 -04:00
Lex Berezhny
bb1f42057e v0.37.1 2019-05-17 23:01:47 -04:00
Lex Berezhny
695f6658a0 v0.37.1rc2 2019-05-17 21:43:37 -04:00
Jack Robison
51f301785f
fix test, add lru_cache_concurrent decorator 2019-05-17 18:57:07 -04:00
Niko Storni
cc49c8407c
add missing wallet server
switch to .com domain
2019-05-17 15:19:11 -04:00
Jack Robison
12eb83f773
fix system name on android 2019-05-17 14:00:25 -04:00
Jack Robison
107e57e3ff
fix docs 2019-05-17 13:11:04 -04:00
Jack Robison
6ecc22f2c7
fix refreshing peers in the datastore 2019-05-17 12:22:47 -04:00
Lex Berezhny
079c81f298 v0.37.1rc1 2019-05-17 08:59:10 -04:00
Victor Shyba
8afe178d62 remove supports from resolve 2019-05-17 08:55:39 -04:00
Jack Robison
8777dcee7c v0.37.0 2019-05-13 23:39:22 -04:00
Jack Robison
41abfbdd9b
add streaming_server and streaming_get settings
-split rpc runner from range request runner
2019-05-13 22:27:48 -04:00
Jack Robison
fd19daad9e
add streaming_url to file api response type 2019-05-13 19:05:26 -04:00
Victor Shyba
71a4be02dd use loop to create task 2019-05-13 15:57:03 -03:00
Victor Shyba
124fdb7d31 fixes from review 2019-05-13 14:57:58 -03:00
Victor Shyba
2439743804 probe peer instead of scheduling ping for removal 2019-05-13 14:51:03 -03:00
Victor Shyba
b91d2190f4 disable infinite peer search, cleanup logging, tune scores to slow connections 2019-05-13 14:24:13 -03:00
Victor Shyba
d024433d1b simplify accumulate task 2019-05-13 13:34:49 -03:00
Victor Shyba
7c4eb416d6 dont clearbanned if there are working peers, dont remove node immediately during search 2019-05-13 13:14:08 -03:00
Victor Shyba
fb457c820a reorganizing iterative find code 2019-05-13 04:34:39 -03:00
Victor Shyba
18af2dcd4e remove peer immediately instead of probing when its bad during search 2019-05-13 02:52:24 -03:00
Victor Shyba
0075dcc2c0 iterative find probes bad peers + test case for edge scenario Tom found 2019-05-13 02:40:04 -03:00
Victor Shyba
32d1563885 fix handling of invalid token 2019-05-12 04:12:12 -03:00
Victor Shyba
bac7d99b8a add ability to re-join network on disconnect + tests 2019-05-12 03:39:11 -03:00
Victor Shyba
6f06026511 announcer goes idle if no peers in routing table 2019-05-12 01:10:05 -03:00
Victor Shyba
f02df86709 fix announce loop when there are no peers to announce 2019-05-12 00:42:19 -03:00
Victor Shyba
b7d76fd09f add integration tests, fix bug that made refresh not exclude bad peers 2019-05-11 23:30:05 -03:00
Victor Shyba
e675f1387c remove peer junction and some refactoring 2019-05-11 04:58:56 -03:00
Victor Shyba
0da2827c78 fix dht deadlock 2019-05-10 19:54:59 -03:00
Jack Robison
309cfc840c v0.37.0rc7 2019-05-10 15:34:38 -04:00
Jack Robison
648dbcc36b
add timeout to blob downloads after the head blob, stop timed out streams 2019-05-10 14:50:01 -04:00
Victor Shyba
e59e96190e
fix peer search using inexistent variable, fix test to cover it 2019-05-10 13:49:35 -04:00
Jack Robison
1a182bc9bd
bytes/str 2019-05-10 11:50:20 -04:00
Jack Robison
324cbdcdb2
only save the content claim if stream_hash isn't None
-stream_hash being none means we don't have the file in the database
2019-05-10 11:50:20 -04:00
Lex Berezhny
6c0c0ee322 added logging to publish command 2019-05-10 11:43:34 -04:00
Jack Robison
54b9ed6cb2
fix store content fee 2019-05-09 18:14:54 -04:00
Lex Berezhny
558a02d187 correctly format lat/long and fee amounts in JSON RPC response 2019-05-09 16:19:49 -04:00
Jack Robison
3567b331c0 v0.37.0rc6 2019-05-09 11:52:34 -04:00
Thomas Zarebczan
db1d547b19
adjust the default max_connections_per_download and peer_connect_timeout 2019-05-09 10:38:32 -04:00
Victor Shyba
ec07037e88 set shutdown_timeout on TCPSite 2019-05-09 01:01:07 -03:00
Lex Berezhny
d98162a118 stream_update --replace also clears the channel 2019-05-09 00:00:39 -04:00
Victor Shyba
efbf2f49a9 fix generator junction 2019-05-08 23:02:38 -03:00
Victor Shyba
2e09d2adfa close search on transport close 2019-05-08 23:02:38 -03:00
Jack Robison
e2c123456b
write decrypted blob data from run_in_executor 2019-05-08 16:07:32 -04:00
Jack Robison
c9be79f062
prevent re-migrating 10 to 11 2019-05-08 15:13:07 -04:00
Jack Robison
a2a1ef34ab
fix tests 2019-05-08 14:55:09 -04:00
Jack Robison
761a2b235c
set written_bytes, download_path, file_name, and download_directory to None if the file doesn't exist 2019-05-08 14:11:44 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available 2019-05-08 14:11:39 -04:00
Jack Robison
a480b2d25f
fix race when closing blob client protocol after getting a response 2019-05-08 12:21:11 -04:00
Jack Robison
d7032b12d7
add saved_file and content_fee columns to file table
-drop not null constraints for file_name and download_directory

-add migrator
2019-05-08 10:26:06 -04:00
Victor Shyba
007dd43861 re-raise cancelled errors 2019-05-07 11:10:49 -03:00
Victor Shyba
1bc4e4b702 typo on logging, announcements logging is info, not warning 2019-05-07 11:10:49 -03:00
Victor Shyba
b91f27219d use fetchall as there is an update while iterating 2019-05-07 11:10:49 -03:00