Commit graph

1002 commits

Author SHA1 Message Date
Lex Berezhny
7a4e5dcb05 handle claims in abandoned channels 2020-07-12 12:02:58 -04:00
Lex Berezhny
915233c96c fixes 2020-07-12 08:55:25 -04:00
Lex Berezhny
aa9365f218 refactored sync 2020-07-11 18:18:33 -04:00
Lex Berezhny
15b8891fce make resolve command work from cli 2020-07-07 10:52:41 -04:00
Lex Berezhny
7d9bf03574 refactored 2020-07-05 23:03:45 -04:00
Lex Berezhny
3fe1981657 faster inputs/outputs sync 2020-07-03 15:47:25 -04:00
Lex Berezhny
4b50d1e329 vacuum before setting inputs 2020-06-30 19:37:00 -04:00
Lex Berezhny
39d8a20fd5 pgcopy COPY command 2020-06-30 17:32:51 -04:00
Lex Berezhny
b45a222f98 event subscription and publishing bug fixes 2020-06-29 18:10:26 -04:00
Lex Berezhny
434c1bc6b3 test_nulls 2020-06-27 23:23:57 -04:00
Lex Berezhny
2495df8859 null in claim description 2020-06-27 23:14:28 -04:00
Lex Berezhny
635aebfeeb fixed null claim name support for postgres 2020-06-27 23:00:12 -04:00
Lex Berezhny
81926a42f9 fix postgres db connection 2020-06-27 22:31:49 -04:00
Lex Berezhny
f2ff4410dc re-enable postgres integration tests 2020-06-27 22:24:59 -04:00
Lex Berezhny
4b19861a74 console improvements 2020-06-26 21:52:01 -04:00
Lex Berezhny
5a0a987f0c refactored and simplified the blockchain sync 2020-06-26 10:39:58 -04:00
Lex Berezhny
71e14c8e63 least 2020-06-22 20:30:05 -04:00
Lex Berezhny
b3b6361429 fix test 2020-06-22 18:47:10 -04:00
Lex Berezhny
2306edebf7 tests/integration/blockchain/test_blockchain.py 2020-06-21 19:54:59 -04:00
Lex Berezhny
db5a33dc3f blockchain/test_database.py 2020-06-21 19:54:34 -04:00
Lex Berezhny
597bebb5be tests/unit/db 2020-06-21 19:53:18 -04:00
Lex Berezhny
d1a243247d progress 2020-06-19 14:28:34 -04:00
Lex Berezhny
410212c17a update tests 2020-06-10 15:45:29 -04:00
Lex Berezhny
a39f87b3c5 more resilient test 2020-06-10 15:25:45 -04:00
Lex Berezhny
147b9d5ad1 run another integration test 2020-06-09 23:52:08 -04:00
Lex Berezhny
1f210c0b0b skip event queue test until it can be more reliable 2020-06-09 23:42:21 -04:00
Lex Berezhny
096f74d79b silence expected exception 2020-06-09 23:27:45 -04:00
Lex Berezhny
ae8bc59c65 remove duplicate dewies test 2020-06-09 23:27:19 -04:00
Lex Berezhny
01dbbb4c3a skip blockchain sync unittest 2020-06-09 23:26:59 -04:00
Lex Berezhny
97c285f22b removed redundant assert equal 2020-06-04 17:50:21 -04:00
Lex Berezhny
5efb36ffd2 windows & mac path tests 2020-06-04 17:29:34 -04:00
Lex Berezhny
596ed08395 EventQueuePublisher uses a buffer to reduce number of tasks created 2020-05-22 18:40:21 -04:00
Lex Berezhny
83f7eab0e7 tests for directory configurability 2020-05-20 18:02:05 -04:00
Lex Berezhny
4a9f9906a0 event streams can now be "closed" and thus you can listen for .last event 2020-05-20 18:01:34 -04:00
Lex Berezhny
a996e65eff integration tests updated 2020-05-18 08:29:15 -04:00
Lex Berezhny
0886a7946e unit tests updated 2020-05-18 08:28:23 -04:00
Lex Berezhny
955e44631d new API parser 2020-05-12 11:02:34 -04:00
Lex Berezhny
8dc5150dbe moved test fixture file 2020-05-12 10:35:34 -04:00
Lex Berezhny
d488bfd9d4 refactored mnemonic.py 2020-05-09 18:33:23 -04:00
Lex Berezhny
8c91777e5d refactored lbry.wallet 2020-05-06 10:53:31 -04:00
Lex Berezhny
713c665588 unittests 2020-05-01 09:34:34 -04:00
Lex Berezhny
ccd32eae70 wip lbry.blockchain 2020-05-01 09:28:51 -04:00
Lex Berezhny
1f72751a88 unit test __init__.py files 2020-04-25 08:58:18 -04:00
Lex Berezhny
362ab67186 more wallet unit test cleanup 2020-04-25 08:51:41 -04:00
Lex Berezhny
ffe7fcf124 refactored wallet unit tests, moved most things to blockchain 2020-04-25 08:44:36 -04:00
Lex Berezhny
ba154c799e increase timeout for wallet server payment service 2020-04-12 16:14:18 -04:00
Lex Berezhny
e2ffd24d51 listen for wallet pay service payment earlier in test 2020-04-12 15:51:18 -04:00
Lex Berezhny
777c6342f8 merged some old stashed code 2020-04-12 11:59:00 -04:00
Lex Berezhny
ae9d4af8c0 postgresql support added 2020-04-11 17:27:41 -04:00
Jack Robison
d615f6761a
automatically batch large resolve requests 2020-04-06 12:03:33 -04:00
Victor Shyba
b2f70c7120 return none for unconfirmed time estimation 2020-04-06 06:03:35 -03:00
Jack Robison
87cdf1e3a0
improve test_reorg_change_claim_height 2020-04-05 16:58:36 -04:00
Jack Robison
57fd47022e
test_reorg_change_claim_height 2020-04-03 13:39:44 -04:00
Jack Robison
5eafd3bf6b
feedback 2020-04-03 13:39:44 -04:00
Jack Robison
e4fb2f4680
test_reorg_dropping_claim 2020-04-03 13:39:44 -04:00
Jack Robison
a4909f54e4
test reorg count metric 2020-04-03 13:39:44 -04:00
Lex Berezhny
6474c86d32 cleaned up *_list commands 2020-04-01 20:44:34 -04:00
Lex Berezhny
769ea8cdfe added --is_spent filter to txo list/sum commands 2020-03-31 23:08:51 -04:00
Lex Berezhny
f9aa95c987 default to None for all values in wallet_status when wallet_manager not started yet 2020-03-31 17:22:13 -04:00
Lex Berezhny
a5d06fb4a4 wallet_status no longer fails if wallet component has not started 2020-03-31 16:20:13 -04:00
Lex Berezhny
558ac24f7e fix test 2020-03-31 11:29:58 -04:00
Jack Robison
267e7096cc add test for rechecking ffmpeg installation 2020-03-30 19:11:04 -04:00
Victor Shyba
1b83a1d09a test and fix verifying from middle 2020-03-30 19:42:27 -03:00
Victor Shyba
7ad3447598 repair tip on open 2020-03-30 19:42:27 -03:00
Lex Berezhny
886d1e8a19 added --include_full_tx option to txo_list 2020-03-30 18:15:13 -04:00
Lex Berezhny
48d2497eb2 added txo_spend command to support liquidating large number of txos (eg. tips) 2020-03-30 17:47:38 -04:00
Lex Berezhny
a8153627c6 move on_read.first to earlier 2020-03-30 17:02:08 -04:00
Lex Berezhny
ed38966edb add test to verify we listen to on_ready before it actually triggers 2020-03-30 15:26:04 -04:00
Lex Berezhny
85551d1e54 remove no-op test, segwit is always on now 2020-03-30 15:17:25 -04:00
Lex Berezhny
151805121c increase wallet server payment test timeout 2020-03-29 20:00:23 -04:00
Jack Robison
d46d012f8c
Revert "delete live bittrex test"
This reverts commit f70343bb
2020-03-26 20:31:39 -04:00
Jack Robison
f70343bb63
delete live bittrex test 2020-03-26 17:50:31 -04:00
Brannon King
71f8965393
re-use ffprobe info in stream_type
avoid duplicate args


handle review comment
2020-03-26 16:20:12 -04:00
Jack Robison
86242139da
update tests 2020-03-26 13:56:51 -04:00
Victor Shyba
460bdc4148
move wallet_syncing to wallet status is_syncing 2020-03-26 11:43:48 -04:00
Victor Shyba
1052126522
add wallet_syncing status 2020-03-26 11:43:48 -04:00
Jack Robison
4bff2d718e
clean up test 2020-03-26 11:41:49 -04:00
Jack Robison
ec20d9a2a8
faster wallet sync with get_transaction_and_merkle 2020-03-26 11:41:49 -04:00
Lex Berezhny
5e2ddbfd86 txo_plot returns lbc instead of dewies 2020-03-26 01:13:09 -04:00
Lex Berezhny
e5bf6a5bfc added txo_plot command to allow plotting txo sums over time 2020-03-26 00:37:13 -04:00
Victor Shyba
a08cbf412d on_ready.wait so we start after tx syncs 2020-03-23 12:26:07 -03:00
Lex Berezhny
0bd65356f9 increase timeout in usage payment test 2020-03-23 11:06:29 -04:00
Victor Shyba
342cb00625 less concurrent repeated header checks 2020-03-23 01:19:34 -03:00
Victor Shyba
19c0a81c42 fix bad usages of hash and some tests 2020-03-22 23:31:47 -03:00
Victor Shyba
9fc7f9904b fix tests, delete old code 2020-03-22 23:31:47 -03:00
Victor Shyba
b04a516063 better locking, stop corrupting headers, fix some tests 2020-03-22 23:31:47 -03:00
Victor Shyba
ec8e243323 estimate timestamps instead of using block headers 2020-03-22 23:30:11 -03:00
Victor Shyba
af0e9368d4 headers get now async 2020-03-22 23:30:11 -03:00
Lex Berezhny
73a91d5569 added --include_received_tips to claim_list/txo_list 2020-03-22 17:22:15 -04:00
Lex Berezhny
b11184de68 fix purchase_create 2020-03-22 12:23:21 -04:00
Lex Berezhny
61d02fc5d7 fix to prevent transaction cache from leaking some information about outputs between unrelated wallets 2020-03-22 11:45:40 -04:00
Lex Berezhny
b5c24d6a48 fixing unit tests 2020-03-22 01:29:26 -04:00
Lex Berezhny
bdd2ac2c25 renamed some flags 2020-03-22 01:13:26 -04:00
Lex Berezhny
9749da46ae added flags to resolve: --include_purchase_receipt, --include_is_my_output, --include_my_supports, --include_my_tips 2020-03-21 23:44:57 -04:00
Lex Berezhny
7cb530c334 added --channel_id and --order_by to txo_list 2020-03-20 23:19:26 -04:00
Lex Berezhny
5e0324cc91 added --reposted_claim_id to txo_list 2020-03-20 20:22:57 -04:00
Lex Berezhny
6293e227ea added txo_sum command 2020-03-20 19:08:47 -04:00
Lex Berezhny
d6d83a5c76 integration test fix 2020-03-20 19:08:47 -04:00
Lex Berezhny
93fc883b90 fixing unit tests 2020-03-20 19:08:47 -04:00
Lex Berezhny
dd21803598 working --is_my_input_or_output --is_my_input --is_my_output etc 2020-03-20 19:08:47 -04:00