Commit graph

4250 commits

Author SHA1 Message Date
Lex Berezhny
310fe4a42c
updated Headers component to use lbrynet.wallet 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
Lex Berezhny
fcd46629c4
refactored how transactions are created, fixed list addresses command 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
9348f4f366
add missing new line at end of file 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
10b34d6b33
unnecessary list() added during py3 port
instead of recursive bytes2unicode use a proper JSONEncoder to conver bytes->unicode for json.dumps()
removing excessive isinstance(data, bytes) checks
py3: / -> // and list() around .items() that gets modified in loop
moved lbrynet.undecorated to where its actually used and hopefully we can delete it eventually
removed build/upload_assets.py, travis can do all this now
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
bc24dbea29
refactoring of DHT tests and fixed encoding bug when dealing with bytearray 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
c21d8cc8dc
update wallet migration 2018-08-24 11:40:43 -04:00
Lex Berezhny
cc6a91a477
windows travis build is lagnuage generic 2018-08-24 11:40:43 -04:00
Lex Berezhny
21a2725215
travis 2018-08-24 11:40:43 -04:00
Lex Berezhny
411b8c74cc
travis yaml conslidation via anchors 2018-08-24 11:40:43 -04:00
Lex Berezhny
91bf312e4d
fix for file open during publish 2018-08-24 11:40:43 -04:00
Lex Berezhny
277b8b122c
run integration tests with 3.7 2018-08-24 11:40:43 -04:00
Lex Berezhny
59c49d2d31
dont run DHT tests, until we can make them run faster 2018-08-24 11:40:43 -04:00
Lex Berezhny
16024c95aa
py2->py3 unhexlify() 2018-08-24 11:40:43 -04:00
Lex Berezhny
923ed80fcf
run DHT tests as their own job 2018-08-24 11:40:43 -04:00
Lex Berezhny
2ee2916f78
run functional DHT tests on travis 2018-08-24 11:40:43 -04:00
Lex Berezhny
79bf1b427f
work around for a bug in travis artifact uploader 2018-08-24 11:40:43 -04:00
Lex Berezhny
c21c329aa0
debug artifact uploading 2018-08-24 11:40:43 -04:00
Lex Berezhny
6b3af4bc21
fix for travis buid to put build binary in right place 2018-08-24 11:40:43 -04:00
Lex Berezhny
ffbdf03847
switched from testing on 3.7 to 3.6 2018-08-24 11:40:43 -04:00
Lex Berezhny
8d08bfb3f9
moved build/icons up one level and deleted build directory 2018-08-24 11:40:43 -04:00
hackrush
1af6326b97
Fix account_balance's doc strings 2018-08-24 11:40:43 -04:00
Victor Shyba
31630a84be
reduce entropy on DHT test suite 2018-08-24 11:40:43 -04:00
hackrush
0601bf3197
sq Learning better coding practices with Lex 2 2018-08-24 11:40:43 -04:00
hackrush
826d2866fa
sq Learning better coding practices with Lex 2018-08-24 11:40:43 -04:00
hackrush
ba00498d83
Make commands work from terminal 2018-08-24 11:40:43 -04:00
Lex Berezhny
4da40e8d52
renamed build binary to lbrynet and other cleanup 2018-08-24 11:40:41 -04:00
Lex Berezhny
d54d989c40
change stop command from daemon_stop to just stop lbrynet 2018-08-24 11:38:20 -04:00
Lex Berezhny
18ecbba87c
fix cli formatting 2018-08-24 11:38:20 -04:00
Lex Berezhny
9b417486a9
altogether now! 2018-08-24 11:38:20 -04:00
Lex Berezhny
6d208ac496
trying pip3 on mac 2018-08-24 11:38:20 -04:00
Lex Berezhny
8990c145fb
python already installed on mac 2018-08-24 11:38:20 -04:00
Lex Berezhny
e5b1c3c829
dont manually install python on mac 2018-08-24 11:38:20 -04:00
Lex Berezhny
6c7128c0f6
trying mac build 2018-08-24 11:38:20 -04:00
Lex Berezhny
f31f1fa40b
switching down to python 3.6 until pyinstaller and wine support 3.7 2018-08-24 11:38:20 -04:00
Lex Berezhny
2ceba79b9f
linux build added and uploading to S3 2018-08-24 11:38:19 -04:00
Lex Berezhny
1c8a59c1a9
upgrade upload assets script to py3 2018-08-24 11:37:53 -04:00
Lex Berezhny
298bf91293
moved build/upload_assets.py -> scripts/upload_assets.py 2018-08-24 11:37:53 -04:00
Victor Shyba
b25d592d99
more dht fixes and most of functional tests 2018-08-24 11:37:53 -04:00
Lex Berezhny
875edb5f76
+ aiohttp dependency added 2018-08-24 11:37:53 -04:00
Lex Berezhny
84d97ab323
+ account_max_gap command 2018-08-24 11:37:53 -04:00
Lex Berezhny
aeaffd620e
simple cli implementation 2018-08-24 11:37:53 -04:00