Jack Robison
36c05fc4b9
move wallet server prometheus
...
-only run wallet server metrics for the wallet server
2020-05-01 12:54:35 -04:00
Victor Shyba
7170e69b22
test fixes + leave tx plot always on estimations
2020-04-27 10:34:49 -04:00
Victor Shyba
239ee2437c
estimate only whats not downloaded
2020-04-27 10:34:49 -04:00
Victor Shyba
ced368db31
hold headers file in memory during runtime
2020-04-27 10:34:49 -04:00
Jack Robison
fbe0f886b6
non blocking blob creation
2020-04-23 00:35:08 -04:00
Lex Berezhny
9a6326b027
fix for claim_list incorrectly handling --is_spent flag
2020-04-22 10:36:09 -04:00
Lex Berezhny
f5d7570102
fix issue with --exclude_internal_transfers where it was filtering out sent payments
2020-04-16 17:55:49 -04:00
Jack Robison
e81b51a647
support claim_id
, channel_claim_id
, and outpoint
args in file_list
being lists
2020-04-13 13:19:25 -04:00
Jack Robison
3ca41be686
add reflector_progress
to file_list
results
2020-04-13 12:08:22 -04:00
Oleg Silkin
006494b1fa
hide_comments
now returns lists for both hidden
and visible
comments
2020-04-07 19:17:27 -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
Jack Robison
f4645f570c
more read only calls
2020-03-19 19:19:02 -04:00
Brannon King
bf11bcc084
fixed transcoding tests for non-async execute
...
status ordering broke path check
2020-03-18 12:43:27 -06:00
Brannon King
5ab634e375
support search path for ffmpeg
2020-03-18 12:00:52 -06:00
Victor Shyba
9561f93594
disable tracemalloc after test finishes so it doesnt slow down everything else
2020-03-16 11:29:16 -03:00
Victor Shyba
d44d5c3304
enable/disable instead of set
2020-03-16 06:40:22 -03:00
Victor Shyba
ec541e2057
lint and improve tests
2020-03-11 19:56:37 -03:00
Victor Shyba
8169bf6b97
top objects api
2020-03-11 19:56:37 -03:00
Victor Shyba
56c8ad1221
start/stop tracemalloc over api
2020-03-11 19:56:37 -03:00
Lex Berezhny
8ef2647fa9
is_received
2020-03-08 23:11:03 -04:00
Lex Berezhny
3ff9e99416
added txo_list command
2020-03-08 16:22:49 -04:00
Lex Berezhny
c3d96184b6
fix test
2020-03-06 20:35:26 -05:00
Lex Berezhny
c255c606a7
added is_spent attribute to transaction outputs
2020-03-06 20:12:38 -05:00
Brannon King
98e6a066f4
add unit test and debug output
2020-03-06 15:53:09 -05:00
Brannon King
19ce0ab246
ogg -> ogv, ignore files that aren't video
2020-03-03 21:38:30 -07:00
Lex Berezhny
05228529b0
fix tests
2020-03-03 20:26:07 -05:00
Lex Berezhny
a02b251c9b
when using --resolve with local claim list commands, update resolved result with local metadata (such as is_mine and is_mine)
2020-02-29 09:42:11 -05:00
Oleg Silkin
f0c18ccbe7
Removes testing for anonymous comments, fixes up existing asserts
2020-02-26 19:59:38 -05:00
Lex Berezhny
7de8670616
blocked original repost causes all reposts to also be blocked
2020-02-22 12:49:20 -05:00
Lex Berezhny
8c7908b200
reposts inherit the tags of the original claim
2020-02-22 12:23:11 -05:00
Lex Berezhny
039bc0208a
fix tests
2020-02-21 22:22:28 -05:00
Lex Berezhny
d57900a069
claim_search --not_channel_ids excludes the channel itself and not just claims in the channel
2020-02-21 21:59:46 -05:00
Victor Shyba
1086a3297f
check its broadcasted and use a retriable call
2020-02-21 17:51:46 -03:00
Victor Shyba
8bb6f328dc
use the stream controller tx instead of local history
2020-02-21 16:41:23 -03:00
Victor Shyba
f41cfbfb97
max wallet server payment fee defaults to 0 and component doesnt start in that case
2020-02-21 14:47:09 -03:00
Lex Berezhny
5936444f3e
more reliable wait for wallet server payment test
2020-02-21 12:18:44 -05:00
Lex Berezhny
b1318a9958
minor cleanup
2020-02-21 10:05:46 -05:00
Victor Shyba
d2560d260c
use stream controller and documented errors
2020-02-21 00:04:37 -03:00
Jack Robison
7fd0d6507f
disconnect from client sending message larger than MAX_RECEIVE
2020-02-20 16:08:21 -05:00
Victor Shyba
fc5d5faaed
use conf directly isntead of lambda
2020-02-20 14:27:39 -03:00
Victor Shyba
050b67c9d6
apply share_usage_data as its set
2020-02-20 12:12:40 -03:00
Victor Shyba
f0e1db319c
make wallet server payments a component
2020-02-18 19:18:30 -03:00
Victor Shyba
3950715237
add max_wallet_server_fee conf to limit daily wallet server payments
2020-02-18 18:10:58 -03:00
Victor Shyba
ae9ba14b59
use both donation and payment addresses separately
2020-02-18 18:10:58 -03:00
Victor Shyba
ad6c6fbe35
fixes from review and add analytics
2020-02-18 18:10:58 -03:00
Victor Shyba
ffa5c20c88
fix hanging test
2020-02-18 18:10:58 -03:00
Victor Shyba
5a6218eeca
improve tests, fix types
2020-02-18 18:10:58 -03:00
Victor Shyba
200531dd96
wait for tx instead
2020-02-18 18:10:58 -03:00
Victor Shyba
15a2f048ac
pay wallet server test and initial prototype
2020-02-18 18:10:58 -03:00
Victor Shyba
d317a4042c
change daily_fee to be lbc instead of dewies
2020-02-18 18:10:58 -03:00
Victor Shyba
c2d717aba5
old code from #2683
2020-02-18 18:10:58 -03:00
Victor Shyba
237a8965eb
fix tests
2020-02-17 18:00:23 -03:00
Jack Robison
c8c10d2bb0
fix claim apis failing with --resolve if no claims are present
...
fixes https://github.com/lbryio/lbry-sdk/issues/2802
2020-02-13 14:58:51 -05:00
Lex Berezhny
605fc8ecd8
claim_search by --claim_type=repost support
2020-02-12 11:51:35 -05:00
Lex Berezhny
6b745c53dc
make sure SQL IN works with python set
2020-02-12 11:41:32 -05:00
Lex Berezhny
dcb1b64696
SQL generation fix to handle IN operation for one value lists
2020-02-12 10:31:27 -05:00
Jack Robison
84c7f1bf58
update test
2020-02-11 16:13:55 -05:00
Victor Shyba
e65f214b3c
fix test using space in name
2020-02-09 17:55:29 -05:00
Victor Shyba
f14004e56b
update url regex to cases tom reported
2020-02-09 17:55:29 -05:00
Lex Berezhny
9a49eb06da
fix import path in test_transcoding.py
2020-02-09 16:15:20 -05:00
Lex Berezhny
3fbc012231
moved blockchain/test_transcoding.py -> other/test_transcoding.py
2020-02-09 16:15:20 -05:00
Lex Berezhny
15a2fa6199
claim_list --claim_type argument can be repeated
2020-02-08 23:34:04 -05:00
Lex Berezhny
9607d21828
censored searches/resolves include metadata of channel which did the censoring
2020-02-07 18:50:29 -05:00
Jack Robison
111871bb28
update test
2020-02-03 23:00:45 -05:00
Lex Berezhny
3a3c63956a
removed unnecessary try/finally
2020-02-03 22:06:15 -05:00
Brannon King
1780ddd329
added ffmpeg status, addressed items from code review
...
linter
2020-02-03 21:53:42 -05:00
Brannon King
47e8f74da9
changed to list append, relative claim test
2020-02-03 21:53:42 -05:00
Brannon King
fac28072ab
added unit tests, other minor fixes
...
added universe
try again
try 4
2020-02-03 21:53:42 -05:00
Lex Berezhny
dfe257af86
Revert "test to make sure next release tests pass"
...
This reverts commit ebb2a09107
.
2020-02-03 13:39:36 -05:00
Lex Berezhny
ebb2a09107
test to make sure next release tests pass
2020-02-03 13:22:33 -05:00
Lex Berezhny
448635a945
added --resolve to local *_list commands
2020-02-01 17:59:10 -05:00
Lex Berezhny
bfe711bd42
fixing tests
2020-02-01 13:29:55 -05:00
Lex Berezhny
d5eed91e7f
fix sql unit tests
2020-02-01 13:03:39 -05:00
Lex Berezhny
15abf49211
censored resolve responses return appropriate error
2020-02-01 12:53:39 -05:00
jessop
f98e3320ae
make review changes
2020-01-29 16:25:04 -05:00
jessop
73c958222b
add duration to claim search params
2020-01-29 15:46:47 -05:00
Jack Robison
3b2d635390
Revert "Revert "configurable trending algorithms""
...
This reverts commit 55e08f96a6
.
2020-01-28 15:53:57 -05:00
Jack Robison
55e08f96a6
Revert "configurable trending algorithms"
2020-01-28 15:03:09 -05:00
Lex Berezhny
01ed71b243
configurable trending
2020-01-28 11:58:27 -05:00
Lex Berezhny
2cd7ea257c
Added support to differentiate between filtering and blocking for content censoring
2020-01-22 08:39:14 -05:00
Lex Berezhny
d9c740f014
update tests to use 0.54.0 minimum version
2020-01-21 11:28:56 -05:00
Alex Grintsvayg
474c0f980e
skip randomly-failing dht test
2020-01-20 14:16:52 -05:00
Lex Berezhny
345196aa3b
add pagination for claim_search
2020-01-20 12:49:42 -05:00
Lex Berezhny
86cedfe8b2
using multiprocessing.Manager to keep blocked content synced between readers
2020-01-20 12:49:41 -05:00
Jack Robison
1bf51e855d
check minimum server version from wallet client
2020-01-15 15:55:39 -05:00
Victor Shyba
7d9d0c15d3
fix test_direct_sync flakiness
2020-01-13 21:17:10 -05:00
Victor Shyba
d34f5c2712
fix None in history, check records after wait
2020-01-13 21:17:10 -05:00
Victor Shyba
a56dd66c98
separate cases and make it deterministic
2020-01-13 21:17:10 -05:00
Victor Shyba
3946bc6662
fix and document new edge case on tests
2020-01-13 21:17:10 -05:00
Victor Shyba
6647dd8f08
fix decrypting invalid bytes with valid padding
2020-01-13 21:17:10 -05:00
Jack Robison
08f6520557
bare excepts
2020-01-10 12:27:56 -05:00
Oleg Silkin
2a7911c7d6
rename jsonrpc_comment_edit
-> jsonrpc_comment_update
2020-01-09 19:28:45 -05:00
Oleg Silkin
832020fa81
Makes claim_id
and parent_id
mutually exclusive for comment create
2020-01-09 19:28:45 -05:00
Oleg Silkin
a04ba606e6
Adds test for comment_edit
2020-01-09 19:28:45 -05:00
Oleg Silkin
ebf2e7ee70
Better validation logic;
2020-01-09 19:28:45 -05:00
Oleg Silkin
c0a6f6fd08
Adds validator methods
2020-01-09 19:28:45 -05:00
Lex Berezhny
e9992ed6b4
fix test
2020-01-06 12:17:09 -05:00
Jack Robison
4094b02ae9
update test
2020-01-03 16:00:00 -05:00
Lex Berezhny
5bf35de955
fix blockchain integration tests
2020-01-03 03:08:15 -05:00
Lex Berezhny
b3903f4ffd
fix import in unit test
2020-01-03 03:08:15 -05:00
Lex Berezhny
3d9841b61a
fix unit wallet tests
2020-01-03 03:08:15 -05:00
Lex Berezhny
b79f2b86b5
renamed Daemon.py to daemon.py per pylint
2020-01-03 03:08:15 -05:00
Lex Berezhny
386fd7a459
updated imports after renaming component files
2020-01-03 03:08:15 -05:00
Victor Shyba
10fbce056b
dht constants -> CONSTANTS (linting)
2020-01-03 03:08:15 -05:00
Lex Berezhny
fb1af9e3d2
update imports and more merging
2020-01-03 03:08:15 -05:00
Lex Berezhny
08bec02170
added __init__
2020-01-01 15:57:56 -05:00
Lex Berezhny
c9f27b83e1
split integration tests into three jobs
2020-01-01 15:57:56 -05:00
Lex Berezhny
2968f74c6c
moved lbry up one level
2020-01-01 15:57:56 -05:00
Lex Berezhny
85d7adc0b5
moved lbrynet into lbry directory
2019-06-20 22:50:39 -04:00
Lex Berezhny
36e3f1b3ec
integration test fix
2019-06-19 06:33:12 -04:00
Lex Berezhny
564d6bdc5d
more refactoring
2019-06-19 06:33:12 -04:00
Victor Shyba
5876d5c295
cover more edge cases, add tests
2019-06-19 06:33:12 -04:00
Victor Shyba
54e53932bd
fix bug: fee address defaults respect replace
2019-06-19 06:33:12 -04:00
Victor Shyba
c9b3c2e6aa
change test to use preview=True on broadcast
2019-06-19 06:33:12 -04:00
Victor Shyba
912c102d9a
fix updating fee address to claim address, fix testing for malformed claims
2019-06-19 06:33:12 -04:00
Victor Shyba
2b7cbf9759
get without fee address defaults pays to claim address
2019-06-19 06:33:12 -04:00
Oleg Silkin
1cc6b2e31e
More integration unittests and mock server fixes
2019-06-19 06:25:26 -04:00
Oleg Silkin
7fa797712a
Adds comment signature unit testing
2019-06-19 06:25:26 -04:00
Oleg Silkin
636f36ebad
Moves get_channel,get_stream out of Class into their own functions
2019-06-19 06:25:26 -04:00
Lex Berezhny
fd6cbe0f6c
reorgs do not hang the wallet server
2019-06-19 02:17:08 -04:00
Jack Robison
2ad22d7d19
paginated deterministically shuffled find_value
...
- fixes https://github.com/lbryio/lbry/issues/2244
- reduce the max DHT datagram size to 1400 bytes
- truncate `contacts` field of find_value response datagrams to the k closest (8)
- truncate peers in find_node response datagrams to the 2k closest (16)
- remove `contacts` field from find_value responses beyond `page` 0 (the first/default)
- deterministically shuffle the peers for a blob in a find_value response
- add optional `page` argument to `find_value` and `p` field to find_value responses containing the number of pages of k peers for the blob
- test one blob being announced by 150 different peers to one peer
- speed up pylint and remove some disabled checks
2019-06-18 22:52:39 -04:00
Jack Robison
adb7edd3b2
test chunked reflector server response
2019-06-07 17:26:31 -04:00
Lex Berezhny
6965971613
delete claims and re-calculate winner when claim is expired
2019-06-04 22:28:35 -04:00
Lex Berezhny
d8630a02d9
Strings setting works like Server from CLI
2019-06-04 18:44:21 -04:00
Lex Berezhny
69345b4b0e
integrationt tests fixed
2019-06-04 16:04:46 -04:00
Lex Berezhny
f23aea9951
better handling for claims in abandoned channels
2019-06-04 16:04:46 -04:00
Lex Berezhny
f96c46e84a
claim search fixes for filtering with valid_channel_signatures
2019-06-04 16:04:46 -04:00
Lex Berezhny
8d2c9e5785
claim_type/stream_type/media_type claim search integration test
2019-06-04 00:51:25 -04:00
Lex Berezhny
9dbf47916b
add public_key_id to channel integration tests
2019-06-03 21:56:17 -04:00
Lex Berezhny
9f1f2b1781
claim search with --public_key_id
2019-06-03 21:56:17 -04:00
Lex Berezhny
76df239d1a
start command accepts server lists consistent with other commands
2019-06-03 21:22:24 -04:00
Lex Berezhny
4fb6f2bb27
review fixes
2019-06-03 06:51:09 -04:00
Oleg Silkin
17164601a1
Patches comment server interface in the SDK
2019-06-03 06:51:09 -04:00
Lex Berezhny
a7fba569cd
update tests to use valid_channel_signatures argument
2019-05-29 22:47:33 -04:00
Lex Berezhny
6bfb8384e7
channel import/export working tests
2019-05-29 19:27:05 -04:00
Lex Berezhny
0156aa8b00
channel import/export wip
2019-05-29 19:27:05 -04:00
hackrush
6d462ad6d8
channel export import
2019-05-29 19:27:05 -04:00
Lex Berezhny
1b35cef77a
fix wallet.server.test_sqldb test
2019-05-28 20:51:22 -04:00
Lex Berezhny
a357208a77
cleaned up with passing tests
2019-05-28 20:51:22 -04:00
hackrush
7e1f8a56d5
Changed txo.private_key to be an object
2019-05-28 20:51:22 -04:00
hackrush
37665f2df7
Review Fixes
2019-05-28 20:51:22 -04:00
hackrush
e45c6fe42c
Only store pubkey-private key pairs
2019-05-28 20:51:22 -04:00
hackrush
d367ff6ac1
Update tests and code
2019-05-28 20:51:22 -04:00
Lex Berezhny
9004f240e6
bug fixes
2019-05-27 23:18:26 -04:00
Lex Berezhny
786efa06dd
fixed resolve to work with partial claim_ids
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
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
cb6ddaf276
add blob_lru_cache_size
config setting, defaults to 32
2019-05-24 12:02:58 -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
07dbdef3fe
dont run test_resolve_lru_cache_doesnt_persist_errors
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
342f485ddf
good stuff
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
4702bea9f0
claim_search --not_tags feature + integration tests
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
d2608bdf43
fixed wallet/server/test_sqldb.py tests
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
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
74a9e17178
.travis.yml
2019-05-18 21:43:46 -04:00
Lex Berezhny
a459ee34be
test_url unit test fix
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
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
2260608bb6
working sql claimtrie
2019-05-18 21:43:46 -04:00
Jack Robison
41a6e288aa
add test_resolve_lru_cache_doesnt_persist_errors
2019-05-17 18:56:28 -04:00
Jack Robison
6ecc22f2c7
fix refreshing peers in the datastore
2019-05-17 12:22:47 -04:00
Victor Shyba
8afe178d62
remove supports from resolve
2019-05-17 08:55:39 -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
Victor Shyba
2439743804
probe peer instead of scheduling ping for removal
2019-05-13 14:51:03 -03:00
Victor Shyba
6f79875135
fix test
2019-05-13 14:27: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
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
6e327d729b
fix test
2019-05-12 04:28:58 -03:00
Victor Shyba
20022d49c1
less verbose dht tests
2019-05-12 04:13:58 -03:00
Victor Shyba
32d1563885
fix handling of invalid token
2019-05-12 04:12:12 -03:00
Victor Shyba
f5cef14d8d
test get token on announce
2019-05-12 03:55:07 -03:00
Victor Shyba
bac7d99b8a
add ability to re-join network on disconnect + tests
2019-05-12 03:39:11 -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
ad2da24d64
improve test
2019-05-10 14:57:04 -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
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
558a02d187
correctly format lat/long and fee amounts in JSON RPC response
2019-05-09 16:19:49 -04:00
Lex Berezhny
9bb7b0571e
fix integrat tests
2019-05-09 00:00:39 -04:00
Lex Berezhny
d98162a118
stream_update --replace also clears the channel
2019-05-09 00:00:39 -04:00
Victor Shyba
77c69f661d
add locking cases scenarios
2019-05-08 23:02:38 -03:00
Jack Robison
a2a1ef34ab
fix tests
2019-05-08 14:55:09 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available
2019-05-08 14:11:39 -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
84b471d486
limit batch size on announcer test so it covers batching logic
2019-05-07 11:10:49 -03:00
Jack Robison
f506b3e6d4
tests
2019-05-06 18:46:26 -04:00
Jack Robison
9099ee2e8e
fix/refactor starting and stopping files
...
-move partial content handling into ManagedStream
-add delayed stop test
2019-05-06 18:46:26 -04:00
Victor Shyba
2247b354b3
integration test for announcing both on publish and download
2019-05-06 17:27:12 -03:00
Victor Shyba
a4d17d1705
re-enable tests for announcing on stream creation
2019-05-06 16:49:03 -03:00
Lex Berezhny
d7c2e4e9b3
fixed bug where lbrynet failed to start with single-key accounts in the wallet
2019-05-04 17:56:39 -04:00
Victor Shyba
cf7bb6a391
fix tests and stream being deleted on data timeout
2019-05-02 16:41:48 -03:00
Victor Shyba
6594b7c50c
test concurrency through races on getting a writer
2019-05-01 15:08:47 -03:00
Victor Shyba
771fe935f4
test get-delete-get respects existing files
2019-05-01 13:16:32 -03:00
Victor Shyba
3cf5c536c0
improve ban timing and downloader loop friction
2019-04-30 17:56:29 -03:00
Lex Berezhny
180cfcfb72
fix chris45 tests
2019-04-29 16:01:59 -04:00
Lex Berezhny
864c1dd901
fix test_claim_commands integration tests
2019-04-29 16:01:59 -04:00
Victor Shyba
9f83cce574
test confirmations and timestamp on file list, being updated on resolve
2019-04-29 00:26:14 -04:00
Victor Shyba
30b113d64a
depth -> confirmations
2019-04-29 00:26:14 -04:00
Victor Shyba
3127cd11cf
test for timestamp field on resolve
2019-04-29 00:26:14 -04:00
Victor Shyba
46c03c0cb2
refactor: move generate to blockchain call
2019-04-28 22:53:43 -04:00
Victor Shyba
c2ca0a9467
tests: replace sleep with the proper generate call
2019-04-28 22:53:43 -04:00
Victor Shyba
de9473f75a
test resolve updates file list
2019-04-28 22:53:43 -04:00
Lex Berezhny
6a2efa54ab
dropped block_show command from API, users should run a full node if they need access to blocks
2019-04-27 18:03:35 -04:00
Lex Berezhny
f3c8776878
fixed --preview mode on stream_create/update
2019-04-27 13:11:32 -04:00
Lex Berezhny
539ea04039
fixed signing streams using --channel_name argument
2019-04-27 11:52:29 -04:00
Lex Berezhny
8f96b07559
updating stream claim with new file now correctly updates file list removing old file
2019-04-27 10:55:20 -04:00
Lex Berezhny
0a1e97fe23
cli test fix
2019-04-26 23:37:10 -04:00
Lex Berezhny
da637b9c0e
added --replace option to stream_update and channel_update, publish defaults to --replace
2019-04-26 23:37:10 -04:00
Lex Berezhny
3618de1227
added --clear_fee ability to stream update command
2019-04-26 17:52:29 -04:00
Victor Shyba
bad99de5b3
add tests for channel_name, which should work for urls too
2019-04-26 17:30:21 -04:00
Jack Robison
1ffb99f9f9
rename streaming_only setting -> save_files
2019-04-24 12:44:12 -04:00
Jack Robison
a8e612773d
test
2019-04-24 09:48:04 -04:00
Jack Robison
67088b2ca2
test_blob_writers_concurrency
2019-04-24 09:48:04 -04:00
Jack Robison
bb7649e8ad
test file_save stopped before finished writing with streaming_only on/off
2019-04-24 09:48:04 -04:00
Jack Robison
3234d70270
add peer address/port to hash blob writer
2019-04-24 09:48:04 -04:00
Jack Robison
861c25716e
add unit tests for cache_concurrent decorator
2019-04-24 09:48:04 -04:00
Jack Robison
35479dcbd2
add file_save integration tests
2019-04-24 09:48:04 -04:00
Jack Robison
5b1398b588
rename test_streaming.py
2019-04-24 09:48:04 -04:00
Jack Robison
01a81fceed
more streaming_only + save_blobs integration testing
2019-04-24 09:48:04 -04:00
Jack Robison
a14b0aa573
tests
2019-04-24 09:48:04 -04:00
Jack Robison
a1abb7c8fb
test range requests
2019-04-24 09:48:04 -04:00
Jack Robison
46b166952b
non async blob_completed callback, tests
2019-04-24 09:48:04 -04:00
Jack Robison
40b9fa38b0
update mock dht
2019-04-24 09:48:04 -04:00
Jack Robison
a882f2e8c5
merge conflicts
2019-04-24 09:48:04 -04:00
Jack Robison
7d782d516a
track and close blob readers
2019-04-24 09:48:04 -04:00
Jack Robison
d3eac48035
tests, add __slots__ to AbstractBlob
2019-04-24 09:48:04 -04:00
Jack Robison
287b89db66
fix tests
2019-04-24 09:48:04 -04:00
Jack Robison
7a160f7335
fix tests
2019-04-24 09:48:04 -04:00
Jack Robison
04ddee7d89
blob tests
2019-04-24 09:48:04 -04:00
Jack Robison
3a916a8e8e
tests
2019-04-24 09:48:04 -04:00
Jack Robison
b230d8fbcb
rename BlobFileManager -> BlobManager
2019-04-24 09:48:04 -04:00
Lex Berezhny
3357a419ab
ability to overide the file name, hash and size when updating a stream claim
2019-04-22 18:05:49 -04:00
Lex Berezhny
bf467e06c5
added create stream image detection test
2019-04-21 22:12:02 -04:00
Lex Berezhny
26fec098e4
fix stream unit tests
2019-04-21 14:28:43 -04:00
Lex Berezhny
6ef1b1dd59
resolve command also returns protobuf
2019-04-21 14:28:43 -04:00
Lex Berezhny
68215699f7
fix chri45 test
2019-04-21 00:45:51 -04:00
Lex Berezhny
71f5061848
exposed new protobuf fields in APIs and updated tests
2019-04-21 00:45:51 -04:00
Lex Berezhny
2034104cfc
test fixes
2019-04-20 02:33:41 -04:00
Lex Berezhny
633f725634
stream manager test fix
2019-04-20 02:33:41 -04:00
Lex Berezhny
fa9a4a75c6
update to an even newer protobufs
2019-04-20 02:33:41 -04:00
Lex Berezhny
60080cbd19
updating to new protobufs
2019-04-20 02:33:41 -04:00
Victor Shyba
76dea9e89b
batch save supports
2019-04-20 01:19:40 -04:00
Oleg Silkin
74b3da79aa
Adds integration tests
2019-04-07 15:27:59 -04:00
Lex Berezhny
2cfcc3cd45
test fix
2019-04-06 17:08:15 -04:00
Lex Berezhny
9af625e627
test fixes
2019-04-06 17:08:15 -04:00
Lex Berezhny
6f76d9e24a
moved integration testcase.py into lbrynet so that it can be used from scripts
2019-04-06 17:08:15 -04:00
Victor Shyba
fd56dc68cd
fix depth on resolve, add tests
2019-04-05 09:40:26 -04:00
Victor Shyba
c1d3b5984d
fix old hash reverse confusion
2019-04-05 09:40:26 -04:00
Victor Shyba
b87316fb02
make permanent url name#id only for now
2019-04-05 09:40:26 -04:00
Victor Shyba
47bc1526f7
test invalid signature to be False, not accepting None
2019-04-05 09:40:26 -04:00
Victor Shyba
36a62d3756
port orchstr8 fix to our test case as its lbrynet specific
2019-04-03 00:51:05 -04:00
Victor Shyba
89c80cedfd
test resolve for invalid data
2019-04-03 00:51:05 -04:00
Lex Berezhny
83411acfbd
split claim_abandon into stream_abandon and channel_abandon
2019-03-29 21:48:55 -04:00
Lex Berezhny
4230812f82
added integration test to make sure publishing the same stream re-signs it with the original channel
2019-03-29 21:14:20 -04:00
Lex Berezhny
7b57ba96dd
fix docopt parsing and stream manager tests
2019-03-29 21:14:20 -04:00
Lex Berezhny
a3bd335f7f
--languages, --locations fully support all attributes, add BTC
2019-03-29 21:14:20 -04:00
Lex Berezhny
adab7bd7b1
fix file command tests
2019-03-27 21:57:22 -04:00
Lex Berezhny
750c0e4f4f
fix cli test
2019-03-27 21:57:22 -04:00
Lex Berezhny
5f8482bdb7
hash -> sd_hash, encoding fixes, update to new protobufs
2019-03-27 21:57:22 -04:00
Lex Berezhny
7860b956ff
fixes and tests for publish command
2019-03-27 21:57:22 -04:00
Lex Berezhny
ea4444edbe
fix internal transaction api test
2019-03-25 22:54:08 -04:00
Lex Berezhny
183e3ac1c7
claim search
2019-03-25 22:54:08 -04:00
Lex Berezhny
e2964f9728
test cli fix, take 2
2019-03-25 22:54:08 -04:00
Lex Berezhny
e0cea60c87
fix cli test
2019-03-25 22:54:08 -04:00
Lex Berezhny
c708c1db07
audio/video/image stream types
2019-03-25 22:54:08 -04:00
Lex Berezhny
1cb696fb5c
fix test_claim_show
2019-03-25 22:54:08 -04:00
Lex Berezhny
7cd0213eb9
fixed chris45 again
2019-03-25 22:54:08 -04:00
Lex Berezhny
2007c48af3
fixed tests for setting claim values
2019-03-25 22:54:08 -04:00
Lex Berezhny
50721786d2
skip test_claim_list for now
2019-03-25 22:54:08 -04:00
Lex Berezhny
6d7eb259cb
test normalization fixes
2019-03-25 22:54:08 -04:00
Lex Berezhny
0592cee567
claim integration test fixes
2019-03-25 22:54:08 -04:00
Lex Berezhny
814eaca524
cli tests fixed
2019-03-25 22:54:08 -04:00
Lex Berezhny
e06916f5ae
fixing unit tests
2019-03-25 22:54:08 -04:00
Victor Shyba
d61e1e9d8c
fix proto v1 integration test
2019-03-25 22:54:08 -04:00
Lex Berezhny
25436893bc
pylint and a few other fixes
2019-03-25 22:54:08 -04:00
Lex Berezhny
4b3a6ab875
big support tests passes
2019-03-25 22:54:08 -04:00
Lex Berezhny
67dcede2d8
lots of stuff deleted
2019-03-25 22:54:08 -04:00
Victor Shyba
0872a6fea3
partial test_claim_list_by_channel
2019-03-25 22:54:08 -04:00
Victor Shyba
a3aed3219f
fix test_abandoned_channel_with_signed_claims
2019-03-25 22:54:08 -04:00
Lex Berezhny
af73e1a2f5
chris45 passing again
2019-03-25 22:54:08 -04:00
Lex Berezhny
55bbf5aa74
progress on chris45
2019-03-25 22:54:08 -04:00
Lex Berezhny
d47575e8e0
progress
2019-03-25 22:54:08 -04:00
Victor Shyba
8fc4f4aa73
cleanup recent test changes
2019-03-25 22:54:08 -04:00
Victor Shyba
fe9aa666e9
fix name is not part of old sigs
2019-03-25 22:54:08 -04:00
Victor Shyba
a9e0eeba7e
add tests and fix verification of old signatures
2019-03-25 22:54:08 -04:00
Victor Shyba
0830917afb
delete unused test method
2019-03-25 22:54:08 -04:00