Commit graph

400 commits

Author SHA1 Message Date
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
Alex Grintsvayg
1791d8e4ee
rebased oleg's PR. closes #2446 2019-09-17 11:04:34 -04:00
Lex Berezhny
81f16d7061 refactored address_list API to be more detailed 2019-09-17 09:08:29 -04:00
Lex Berezhny
5c151a3a09 v0.41.0 2019-09-16 13:24:11 -04:00
Lex Berezhny
063eeb34ec fix channel import test to wait for address subscription tasks to finish before looking up channel 2019-09-16 13:21:45 -04:00
Lex Berezhny
f06192601c dont fail when claim is not decodable 2019-09-16 13:21:45 -04:00
Lex Berezhny
091221ba2c added wallet/constants.py 2019-09-16 13:21:45 -04:00
Lex Berezhny
7c22111ae0 channel certificate and channel claim can be different accounts, also JSON RPC responses now include a field showing if the channel certificate is available 2019-09-16 13:21:45 -04:00
Alex Grintsvayg
32ee7feea8 download wallet snapshot on first run 2019-09-16 12:24:44 -04:00
Victor Shyba
291d14f2d4 move as_dict to json_encoder 2019-09-12 14:08:37 -03:00
Victor Shyba
4a68137cfa remove dead code 2019-09-12 14:08:37 -03:00
Jack Robison
f9880c8931
test sqlite binding error 2019-09-09 21:46:04 -04:00
Lex Berezhny
b876896628 v0.40.1 2019-09-09 13:00:12 -04:00
Lex Berezhny
5dbc749000 v0.40.0 2019-09-03 12:36:00 -04:00
Lex Berezhny
36fbd91280 generate docs 2019-09-03 12:00:29 -04:00
Lex Berezhny
d2ad3e7ff1 initial kv store 2019-09-03 12:00:29 -04:00
Victor Shyba
6c79f98d3c connect directly on test server 2019-09-03 11:29:02 -03:00
Victor Shyba
8edebbb684 fix tests for transaction show 2019-09-02 15:43:33 -03:00
Victor Shyba
96800de052 switch tests and fixes + support for multiple servers 2019-08-31 06:37:29 -03:00
Victor Shyba
9df659b647 no chdir 2019-08-31 06:37:29 -03:00
Lex Berezhny
aec0bd5d11 fix intermittent bug where claim metadata was cleared out 2019-08-30 09:44:30 -04:00
Lex Berezhny
c1c9c2c578 regenerate api.json 2019-08-28 12:55:19 -04:00
Lex Berezhny
c739fa3ca1 fixed typo in daemon API doc 2019-08-26 13:22:42 -04:00
Lex Berezhny
355dfcb6c1 v0.39.3 2019-08-26 13:06:26 -04:00
Oleg Silkin
8f7c291e33 Adds comment_hide functionality 2019-08-26 12:43:07 -04:00
Jack Robison
97c0b60a22 logging 2019-08-26 11:17:39 -03:00
Lex Berezhny
8a284d6c49 metrics reporting fix for wallet servers 2019-08-26 09:39:42 -04:00
Jack Robison
aedce256af
fix wallet status silently breaking when offline
-update wallet status to use real latency values and the full list of connected servers
2019-08-22 13:11:17 -04:00
Jack Robison
48b4b97132
fix uncaught exchange rate manager errors when going offline 2019-08-22 13:11:17 -04:00
Jack Robison
6b1f88df66
fix status breaking (and loggly) when the internet connection is lost 2019-08-22 13:11:17 -04:00
Victor Shyba
7fdd9dc293 fix annoying assertEquals warning 2019-08-21 22:03:24 -03:00
Victor Shyba
202861a900 fix unpack leftovers 2019-08-21 22:03:24 -03:00
Alex Grintsvayg
bbd4bb99b7
committing my claim search test script 2019-08-21 13:28:30 -04:00
Jack Robison
416c3c16ab v0.39.2 2019-08-20 20:37:20 -04:00
Lex Berezhny
c60b658443 v0.39.1 2019-08-19 13:02:16 -04:00
Jack Robison
deb6a07160
fix test 2019-08-19 12:51:17 -04:00
Jack Robison
0a66e1b24c
logging 2019-08-19 12:29:13 -04:00
Jack Robison
5119b71035
prevent attempting to download from oneself 2019-08-19 12:08:17 -04:00
Jack Robison
33945e14d3
use _value_producer in peer_list to match the downloader behavior 2019-08-19 12:08:17 -04:00
Jack Robison
1d9705fb17
reuse blob protocol object instead of transport 2019-08-19 12:08:17 -04:00
Jack Robison
1949937b5e
bump aioupnp requirement to 0.0.14 2019-08-19 10:51:20 -04:00
Lex Berezhny
956e21269e monitor wallet server block transitions and report if new block is excessively delayed 2019-08-19 09:52:37 -04:00
Alex Grin
ff73418fc1
Merge pull request #2371 from lbryio/basenetwork_refactor
refactor basenetwork so each session takes care of itself
2019-08-16 10:19:53 -04:00
Victor Shyba
ab6944b7b0 wallet server: dont fail to start on segwit txs 2019-08-14 10:26:02 -03:00
Victor Shyba
4d741bd200 update lbrycrd to 17, add option to disable segwit for now 2019-08-13 18:07:15 -03:00
Victor Shyba
f3a163b382 fix names and types 2019-08-12 18:16:58 -03:00
Victor Shyba
022d60ec2c both exceptions can be raised, depending on when the call happens 2019-08-12 18:16:57 -03:00
Victor Shyba
5728493abb refactor basenetwork so each session takes care of itself 2019-08-12 18:16:57 -03:00
Lex Berezhny
af1c8ec35c adding missing comma in wallet_server_monitor 2019-08-12 14:16:47 -04:00
Lex Berezhny
cb84abfb88 v0.39.0 2019-08-12 13:01:16 -04:00
Jack Robison
357ce881a6
more blob exchange tests 2019-08-12 10:47:28 -04:00
Jack Robison
aa417f5410
test max request size 2019-08-12 10:47:28 -04:00
Jack Robison
0ca29b9518
test idle timeout 2019-08-12 10:47:28 -04:00
Jack Robison
22db04068e
add server side timeouts for idle blob exchange connections and slow transfers 2019-08-12 10:47:28 -04:00
Jack Robison
65e74281e0
max request size 2019-08-12 10:47:28 -04:00
Lex Berezhny
46d89929ba fixup balance tests and other stuff 2019-08-12 10:22:14 -04:00
Lex Berezhny
1c941a355b regenerate api docs 2019-08-12 10:22:14 -04:00
Lex Berezhny
0d6248fbeb fix torba tests 2019-08-12 10:22:14 -04:00
Lex Berezhny
98d4d00f96 most commands now work across all accounts 2019-08-12 10:22:14 -04:00
Jack Robison
e2d618f472
formatting in time_to_first_byte.py
-pending claim_type being usable in claim_search, don't try downloading channel claims in time_to_first_byte.py
2019-08-12 00:49:33 -04:00
Victor Shyba
13891330d9 check blob hashes from completed_blob_hashes 2019-08-11 19:11:13 -03:00
Jack Robison
b8b42a1fd2
add error_message to ttfb analytics, update tests 2019-08-09 12:55:01 -04:00
Jack Robison
fba1b28615
add connected_servers field to wallet status
-add `wallet_server` to time to first bytes analytics event
2019-08-09 12:54:38 -04:00
Lex Berezhny
98828387e3 slow queries saved to metabase 2019-08-06 20:41:14 -04:00
Lex Berezhny
1c12247b71 updated wallet_server_monitor to update slack 2019-08-06 17:44:31 -04:00
Lex Berezhny
ee10ebd5d7 renamed lbry/scripts/wallet_server_metabase_analytics.py -> lbry/scripts/wallet_server_monitor.py 2019-08-06 16:07:45 -04:00
Lex Berezhny
9937ad6e85 v0.38.7 2019-08-05 13:40:49 -04:00
Jack Robison
60ce393531 remove comment 2019-08-05 13:39:38 -04:00
Jack Robison
bc33cad999 add test for connection failure analytics 2019-08-05 13:39:38 -04:00
Jack Robison
4261b50d9d include connection failure count in ttfb analytics 2019-08-05 13:39:38 -04:00
Jack Robison
e2b3141536 typing 2019-08-05 13:39:38 -04:00
Thomas Zarebczan
266aa1b15d update delete>abandon 2019-08-05 12:42:25 -04:00
Oleg Silkin
b57a7475c5 Fixes comment docs & adds wallet component requirement on comment funcs 2019-08-05 12:42:25 -04:00
Victor Shyba
8cf48eb5f7 move granular balances logic to account method 2019-08-05 11:08:33 -04:00
Victor Shyba
35541bbbb9 new api format, hide subtotals by default 2019-08-05 11:08:33 -04:00
Victor Shyba
59424a3e73 add query to get tips summary for granular balances 2019-08-05 11:08:33 -04:00
Victor Shyba
2056888667 implement tips_received tips_sent, wip, in python for now 2019-08-05 11:08:33 -04:00
Victor Shyba
1e54785742 add granular balances 2019-08-05 11:08:33 -04:00
Lex Berezhny
a58ed6f331 wallet server metabase analytics script 2019-08-05 09:23:47 -04:00
Lex Berezhny
e9098887fb script to check channel signature 2019-08-01 17:27:54 -04:00
Jack Robison
221585908a
re-raise unexpected resolve error during download as a ResolveError 2019-07-29 17:56:30 -04:00
Jack Robison
f4c111f04c
handle null content fee 2019-07-29 17:56:24 -04:00
Alex Grin
de12e25450 v0.38.6 2019-07-29 15:11:18 -04:00
Oleg Silkin
2545ebbece Adds unittests & fixes comment_client functions 2019-07-29 14:55:42 -04:00
Oleg Silkin
14ec6ce43b Adds unit-testing for delete comment signatures 2019-07-29 14:55:42 -04:00
Oleg Silkin
0cac1e65aa Imports comment_client and uses dot notation for rest of modules 2019-07-29 14:55:42 -04:00
Oleg Silkin
1e4d57ab83 Simplifies signing function into one to make API symmetric 2019-07-29 14:55:42 -04:00
Oleg Silkin
49b42b7e03 Simplifies 2019-07-29 14:55:42 -04:00