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
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
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
Lex Berezhny
fd6cbe0f6c
reorgs do not hang the wallet server
2019-06-19 02:17:08 -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
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
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
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
Jack Robison
cb6ddaf276
add blob_lru_cache_size
config setting, defaults to 32
2019-05-24 12:02:58 -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
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
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
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
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
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
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
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
Jack Robison
f506b3e6d4
tests
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
cf7bb6a391
fix tests and stream being deleted on data timeout
2019-05-02 16:41:48 -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
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
bb7649e8ad
test file_save stopped before finished writing with streaming_only on/off
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
a882f2e8c5
merge conflicts
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
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
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
fa9a4a75c6
update to an even newer protobufs
2019-04-20 02:33:41 -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
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
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
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
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
Victor Shyba
1ed086e90f
bring back test for picking oldest on dupe claims
2019-03-25 22:54:08 -04:00
Victor Shyba
56db631626
fix signed channel tests, WIP on tampering
2019-03-25 22:54:08 -04:00
Victor Shyba
aa029955ee
fix tx api tests
2019-03-25 22:54:08 -04:00
Lex Berezhny
df649341cd
json output formatting fix for Claim
2019-03-25 22:54:08 -04:00
Lex Berezhny
a3c3143868
fixed remaining references to lbrynet.extras.wallet -> lbrynet.wallet
2019-03-25 22:54:08 -04:00
Lex Berezhny
d0201fe7c7
base integration test class should default to VERBOSITY=WARN, not DEBUG
2019-03-25 22:54:08 -04:00
Lex Berezhny
8259d7c680
txo.claim_hash and other fixes related to proto3 refactor
2019-03-25 22:54:08 -04:00
Victor Shyba
6653da2973
all
2019-03-25 22:54:08 -04:00
Lex Berezhny
1d68bef6f2
client side pretty much done
2019-03-25 22:54:08 -04:00
Lex Berezhny
98d8b7d463
sync uses new apply APIs in torba
2019-03-12 20:22:41 -04:00
Lex Berezhny
a914de155a
working sync
2019-03-12 20:22:41 -04:00
Lex Berezhny
2dee0ff0bf
wip account manifest command
2019-03-12 20:22:41 -04:00
Jack Robison
993cb43e5b
fix tests
...
-fix cleanup of a failed download
2019-03-12 20:22:01 -04:00
Brannon King
8d9da61c7d
reverted temporary code for full local stack from
2019-03-05 09:32:43 -05:00
Brannon King
5bdd87c904
removed name-to-claim lookup table
...
added unit test for Greek and made it work
pylint: revert bad move
revert claim_sequence changes
fixed broken test
2019-03-05 09:32:43 -05:00
Victor Shyba
f49578cdbc
fix integration test
2019-02-21 21:14:51 -03:00
Lex Berezhny
0fdd2ae178
added tx to JSON response from get
2019-02-18 22:53:11 -05:00
Victor Shyba
8c5007fe07
assert amount transferred to correct account
2019-02-18 22:53:11 -05:00
Victor Shyba
ce2bb22929
add tests for paid downloads
2019-02-18 22:53:11 -05:00
Lex Berezhny
1ce3adb6a0
reduce integration test verbosity
2019-02-18 21:45:37 -05:00
Victor Shyba
71b66ab337
test stall unban
2019-02-18 17:16:10 -05:00
Victor Shyba
320aabbd70
delete duplicated method accident from rebase
2019-02-15 10:26:05 -05:00
Jack Robison
1734e08297
fix test
2019-02-14 16:34:37 -05:00
Victor Shyba
be5ab0f307
test get retry
2019-02-14 00:10:44 -05:00
Victor Shyba
60ba07cc17
add tests for incomplete files, update existing one
2019-02-14 00:10:44 -05:00
Victor Shyba
d91e8f5996
revert import to original one + remove print
2019-02-13 23:33:49 -05:00
Victor Shyba
3fce8e4023
tests resuming downloads with conflicting file names
2019-02-13 23:33:49 -05:00
Victor Shyba
266e777655
add integration test for different download errors
2019-02-12 20:58:31 -05:00
Lex Berezhny
396c49f7c6
passing get, file list and file delete tests
2019-02-12 11:54:00 -05:00
Lex Berezhny
5e509c9fd6
testing get
2019-02-12 11:54:00 -05:00
Lex Berezhny
e6b6a3f55e
dedicated transaction commands tests
2019-02-12 11:54:00 -05:00
Lex Berezhny
019af119d9
moved test_cli.py up one level
2019-02-12 11:54:00 -05:00
Lex Berezhny
58da2f16c2
use absolute imports instead of relative
2019-02-12 11:54:00 -05:00
Lex Berezhny
65c6c83b51
reusable command testcase
2019-02-12 11:54:00 -05:00
Lex Berezhny
f497989871
split out claim commands
2019-02-12 11:54:00 -05:00
Lex Berezhny
5366779b1b
moved all other tests out of test_chris45.py and into dedicated files
2019-02-12 11:54:00 -05:00
Lex Berezhny
a3f59f041a
dedicated integration tests for account commands
2019-02-12 11:54:00 -05:00
Lex Berezhny
d560b0c1cd
dedicated integration tests for resolve command
2019-02-12 11:54:00 -05:00
Lex Berezhny
e94229121a
explicitly set LEDGER
2019-02-12 11:54:00 -05:00
Lex Berezhny
097291a498
moved wallet integration tests up one level to simplify
2019-02-12 11:54:00 -05:00
Jack Robison
6e69d306de
tests
2019-01-31 15:39:23 -05:00
Jack Robison
778d3826ab
clean up settings and use them
2019-01-28 15:51:27 -05:00
Lex Berezhny
ed6537db79
integration test fixes
2019-01-24 00:13:15 -05:00
Lex Berezhny
2ca438c36e
passing integration tests
2019-01-24 00:13:15 -05:00
Jack Robison
69b259c285
async lbrynet.blob_exchange
2019-01-24 00:13:15 -05:00
Victor Shyba
94dc8c8520
add tests for claim_list
2019-01-23 09:36:27 -05:00
Lex Berezhny
19b0d59159
config options api_host and api_port changed to just api
2019-01-22 18:04:17 -05:00
Lex Berezhny
1ae1137005
fixing integration tests
2019-01-22 18:04:17 -05:00
Lex Berezhny
d0230b4893
command line fixes
2019-01-22 18:04:17 -05:00
Victor Shyba
6ed3207cb7
phase1: legacy claim format, ability to decode new format
2019-01-17 23:24:58 -05:00
Victor Shyba
68b56b7858
adds test for claim_show
2019-01-17 23:24:58 -05:00
Victor Shyba
d32697f611
adjust assertions for fee changes
2019-01-17 23:24:58 -05:00
Victor Shyba
0dfb5e008d
add integration test with unserializable claim
2019-01-17 23:24:58 -05:00
Victor Shyba
36aded3830
store original payload for signing and verifying
2019-01-17 23:24:58 -05:00
Victor Shyba
523c4c86a9
change default curve to SECP256k1, pass name parameter
2019-01-17 23:24:58 -05:00
Victor Shyba
70471eebfa
wallet server and resolve working, functional test
2019-01-17 23:24:58 -05:00
Lex Berezhny
31586bf588
error out when user tries --http-auth
2019-01-17 19:04:52 -05:00
Oleg Silkin
0f1ed589a5
Modifies the unit tests for the analytics manager to have async routines
...
Signed-off-by: Oleg Silkin <o.silkin98@gmail.com>
2019-01-11 14:33:45 -05:00
Lex Berezhny
712b19605e
Revert "fix breaking integration tests after fees changed due to content_type modification"
...
This reverts commit 0613cf2d59
.
2019-01-10 10:22:37 -05:00
Lex Berezhny
0613cf2d59
fix breaking integration tests after fees changed due to content_type modification
2019-01-08 17:54:40 -05:00
Lex Berezhny
c186c31bf7
simplified component setup
2019-01-07 21:56:05 -05:00
Lex Berezhny
248baf58b4
asyncio daemon
2019-01-07 21:56:05 -05:00
Lex Berezhny
e65e1fb5a2
added utxo_release command
2019-01-04 03:14:37 -05:00
Jack Robison
b8b0d8b1ac
refactor default directory setup, remove lbrynet.androidhelpers
...
fixes https://github.com/lbryio/lbry/issues/1606
2018-12-12 17:46:10 -05:00
Victor Shyba
5fad43ff69
fix test tear down and unify test_commands
2018-12-11 16:34:37 -05:00
Victor Shyba
d1b0180437
add tests for claim_list_by_channel
2018-12-11 16:34:37 -05:00
Victor Shyba
7713881e71
additional tests for resolution border cases
2018-12-08 14:40:37 -05:00
Lex Berezhny
72090b45dd
confirmations is returned as int
2018-12-06 00:49:07 -05:00
Lex Berezhny
16ff4b4e2c
confirmations fix
2018-12-06 00:49:07 -05:00
Lex Berezhny
98d83ea74f
fix for integration test
2018-12-05 12:14:43 -05:00
Jack Robison
a6128ac8a2
fix https://github.com/lbryio/lbry/compare/fix-1674
2018-12-04 17:35:40 -05:00
Victor Shyba
f7c7cb9535
fix transaction_show
2018-12-04 12:12:08 -05:00
Lex Berezhny
4af830c405
tests for transaction_list going through claim creation -> claim update -> claim abandon
2018-11-28 18:03:33 -05:00
Lex Berezhny
fe844581fd
correctly split value/fee in transaction_list
2018-11-28 18:03:33 -05:00
Victor Shyba
ea6869a63e
allow invalid sigs claims to show outside a channel
2018-11-27 15:36:53 -03:00
Victor Shyba
bc28976e12
adds test for claims on abandoned channels
2018-11-26 11:32:41 -05:00
Lex Berezhny
dd1d1be994
working claim_send_to_address
2018-11-19 20:34:38 -05:00
Jack Robison
a6b643bb34
move files
2018-11-09 16:52:42 -05:00
Jack Robison
253912b52e
fix skipping dht, peer_protocol_server, and hash_announcer components
...
-move PeerFinder and PeerManager initialization to the ComponentManager
-remove dht component requirement from all but the hash_announcer component. This allows running the file manager component without either of the server components.
2018-11-09 14:16:33 -05:00
Lex Berezhny
3d8b9e2b66
block=False for abandon during erics epic adventure tests
2018-11-07 18:28:02 -05:00
Lex Berezhny
64898d43f1
tearDown() should run before daemon shutdown
2018-11-07 18:28:02 -05:00
Lex Berezhny
b2117fddab
on_transaction -> ledger.wait
2018-11-07 18:28:02 -05:00
Lex Berezhny
934682bd0f
--blocking support in abandon command
2018-11-07 18:28:02 -05:00
Lex Berezhny
83c0baa3cb
test abandoning claim at a loss, required a fix in torba
2018-11-07 10:57:11 -05:00
Lex Berezhny
340c5addab
insufficientfundserror test
2018-11-07 10:57:11 -05:00
Lex Berezhny
0ae5f1a4c6
added fix for #1533
2018-11-07 10:57:11 -05:00
Lex Berezhny
90e06abba2
fixes for #1569
2018-11-07 10:57:11 -05:00
Lex Berezhny
264e6744e1
updated references after moving conf to lbrynet.extras.daemon.conf
2018-11-04 20:25:24 -05:00
Lex Berezhny
f4c6dc90c9
updated references lbrynet.core -> lbrynet.p2p
2018-11-04 20:25:24 -05:00
Lex Berezhny
eee964cfa0
updated references to daemon after moving it to extras
2018-11-04 20:25:24 -05:00
Lex Berezhny
8ca2b75c80
lbryumx -> lbrynet.extras.wallet.server
2018-11-04 10:50:15 -05:00
Victor Shyba
e46f0e2444
fix namespace lbryschema->lbrynet.schema
2018-11-04 10:50:15 -05:00
Lex Berezhny
699c057f2d
upgrading to new torba
2018-11-04 02:28:36 -05:00
Lex Berezhny
2ddf1a08f6
publish command supports custom account list to lookup channels
2018-10-17 19:37:54 -04:00
Lex Berezhny
8b3a457925
improve integration test reliability
2018-10-16 21:28:47 -04:00
Lex Berezhny
5eac4247e1
working integration tests
2018-10-16 17:09:21 -04:00
Lex Berezhny
21702ec43c
asyncio progress for victor
2018-10-16 17:09:21 -04:00
Lex Berezhny
d2083bc17e
for victor
2018-10-16 17:09:21 -04:00
Lex Berezhny
64e306801d
updated wallet to use asyncio
2018-10-16 17:09:21 -04:00
Lex Berezhny
64913c4288
JSON RPC output for TXOs now includes: height, confirmations and valid_signature
2018-10-12 10:41:49 -04:00
Lex Berezhny
b2c95f35c7
fixed test_transaction reliability
2018-10-09 21:32:32 -04:00
Lex Berezhny
3664c25d98
changed lbry account.get_balance() to have same confirmations default as baseaccount.get_balance()
2018-10-08 15:02:52 -04:00
Lex Berezhny
7f7961f4cc
updated integration tests after reducing required confirmations to 0
2018-10-08 15:02:52 -04:00
Lex Berezhny
9d9916548b
added channel/signature annotation to all TXOs, support for pagination
2018-10-08 15:02:52 -04:00
Lex Berezhny
2f95c3a9d1
wallet integration test fixes
2018-10-03 18:06:22 -04:00
Lex Berezhny
6039159ecc
use d2l/l2d in integration tests
2018-10-03 18:06:22 -04:00
Victor Shyba
e1130147b5
fix format of resolve on inexistent URI
2018-09-27 15:30:53 -04:00
Victor Shyba
1c2849235c
send startup event right after setup
2018-09-25 17:49:23 -04:00
Lex Berezhny
1fb7ffd759
fix integration test to pass amount as decimal string
2018-09-24 01:25:23 -04:00
Mark Beamer Jr
3fcca4bc47
adjusted test to pass string instead of number
2018-09-24 01:25:23 -04:00
Mark Beamer Jr
12c73cf50c
adjusted e2e test to use 1.0 instead of 1 per eukreign which came from lyoshenko.
2018-09-24 01:25:23 -04:00
Lex Berezhny
bcf7218b66
fix integration test
2018-09-21 23:24:50 -04:00
hackrush
ad492a09f7
Added integration tests and other review fixes
2018-09-20 19:45:06 -04:00
hackrush
e47ef741f7
Review Fixes
2018-09-09 22:00:37 -04:00
hackrush
2878716381
Tests for support and tip
2018-09-09 22:00:37 -04:00
hackrush
d99ce5f3d6
Integration test for wallet_send ( #1395 )
2018-09-03 11:41:30 -04:00
Lex Berezhny
e7634b74c8
improved test for setting account attributes
2018-09-03 09:09:28 -04:00
Lex Berezhny
26af01a5cc
test account list for specific account
2018-09-03 09:09:28 -04:00
Lex Berezhny
1d40ec34a2
account_balance returns Decimal intead of rounded float
2018-09-03 09:09:28 -04:00
Lex Berezhny
be2ef747dc
deleted commented out code
2018-09-03 09:09:28 -04:00
Lex Berezhny
8399f2ab33
account management
2018-09-03 09:09:28 -04:00
Lex Berezhny
8696cd3c27
fix for chris45 integration test
2018-09-03 09:09:28 -04:00
Lex Berezhny
1675cc4580
renamed a bunch of wallet commands and split up the big account command
2018-09-03 09:09:28 -04:00
hackrush
707ab831fd
Fake Analytics for test_cli
2018-08-24 11:42:35 -04:00
Lex Berezhny
4a8776be10
wallet integration tests fixed
2018-08-24 11:42:35 -04:00
hackrush
daae0b2836
sq return not yield, run on clear field
2018-08-24 11:42:35 -04:00
hackrush
2b5e3204c0
Refactor client, cli and test_cli, fix delayedCalls not expiring
2018-08-24 11:42:35 -04:00
hackrush
d6c04d3586
sq Fix tests
2018-08-24 11:42:08 -04:00
hackrush
8c6c442fdd
Fixed regression in unauthenticated API client w/ integration tests
2018-08-24 11:42:08 -04:00
Lex Berezhny
49c659b832
assert integration test is actually using authentication
2018-08-24 11:42:08 -04:00
hackrush
6a8963d807
Added Authenticated API Client Integration Test
2018-08-24 11:42:08 -04:00
Victor Shyba
451823f33e
test_misc and test_streamify functionals on py3
2018-08-24 11:40:43 -04:00
Lex Berezhny
8dc4e3be43
integration tests working again and daemon starts normally
2018-08-24 11:40:43 -04:00
hackrush
a7ef8889dd
Unified CLI, python 3(WIP) ( #1330 )
...
* Added new custom cli class using aiohttp
* Proper error handling in CLI based on RPC error codes(PoC)
* Auth API working
* UnitTests
2018-08-24 11:40:43 -04:00
Lex Berezhny
f41229cb5b
tx.get_claim_id() -> txo.claim_id, claim update works now
...
channel_list encodes claim name and also added claim_id
fixed BlobManager foreign key error handling
2018-08-24 11:40:43 -04:00
Lex Berezhny
8ab4e3ca49
+ channel_list command works again but test_commands.py integration test is failing
2018-08-24 11:40:43 -04:00
Victor Shyba
ff8d37443e
more checks on test_transactions
2018-08-24 11:40:43 -04:00
Victor Shyba
9ad9eb083b
fix integration test NBO encoding
2018-08-24 11:40:43 -04:00
Lex Berezhny
4669507880
Transaction.abandon() now requires list of outputs
2018-08-24 11:40:43 -04:00
Lex Berezhny
47bb634035
abandon claims and chris45 epic adventure
2018-08-24 11:40:43 -04:00
Lex Berezhny
f061ca2b15
integration tests no longer mock Blob, BlobManager and Session
2018-08-24 11:40:43 -04:00
Lex Berezhny
2d4bf73632
working on unit tests
2018-08-24 11:40:43 -04:00
Lex Berezhny
5597d45aed
got integration tests to work again with rebased branch
2018-08-24 11:37:53 -04:00
Lex Berezhny
d35d340613
fixing unit tests
...
fixing integration tests
skip running functional tests on travis until they are fixed
2018-08-24 11:37:53 -04:00
Lex Berezhny
a28c9d09c8
- fix and improvements related to the two balance command account_balance and wallet_balance
...
- working CommonWorkflowTests integration test
- pylint, unit and integration test fixes
- switch integration tests to use async/await
2018-08-24 11:37:53 -04:00