Commit graph

4093 commits

Author SHA1 Message Date
Victor Shyba 78c8c8e64d
more porting, plus some functional tests working 2018-08-24 11:37:53 -04:00
Lex Berezhny 7335d012ef
replace miniupnpc with upnpclient
docker build with wine
2018-08-24 11:37:53 -04:00
Victor Shyba 99be38604a
attempt to fix tests isolation 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 f05ca137be
adding build stages to .travis.yml 2018-08-24 11:37:53 -04:00
Lex Berezhny e718caca77
final pylint fixes (hopefuly) 2018-08-24 11:37:53 -04:00
Lex Berezhny 693a3346d2
pylint fixes 2018-08-24 11:37:53 -04:00
Lex Berezhny 1f75b6a49e
pylint skips assignment-from-no-return, useless-return 2018-08-24 11:37:53 -04:00
Lex Berezhny 4ece422f48
No longer inheriting from object and added proper use of super(). 2018-08-24 11:37:53 -04:00
Lex Berezhny 607677f98f
iterkeys() -> keys() 2018-08-24 11:37:53 -04:00
Victor Shyba e1e7be63b8
more fixes on dht functionals 2018-08-24 11:37:53 -04:00
Victor Shyba e1314a9d1e
working functional test_contact_rpc + more string bans 2018-08-24 11:37:53 -04:00
Victor Shyba 1ee682f06f
make bencoding right for both py3+py2 2018-08-24 11:37:53 -04:00
Lex Berezhny ba80c0e594
py2(iteritems, itervalues) -> py3(items, values) 2018-08-24 11:37:53 -04:00
Lex Berezhny fbdbcc8070
assertEquals() -> assertEqual() 2018-08-24 11:37:53 -04:00
Lex Berezhny 24a872885a
xrange() -> range() 2018-08-24 11:37:53 -04:00
Lex Berezhny 005a131440
require python 3.7 2018-08-24 11:37:53 -04:00
Lex Berezhny 0b1cb16353
windows related fixes, in py3 everything is unicode, no need to convert paths to bytes 2018-08-24 11:37:53 -04:00
Lex Berezhny 1a3eaf7e6a
unhexlify/hexlify some values in database/storage.py 2018-08-24 11:37:53 -04:00
Lex Berezhny 971252d5d1
undo simplejson commit 2018-08-24 11:37:53 -04:00
Lex Berezhny c5ba9b263e
use twisted[tls] instead of specifying twisted dependencies in our own setup.py 2018-08-24 11:37:53 -04:00
hackrush c01716a6c0
Using simplejson and fixed some encodes and decodes 2018-08-24 11:37:53 -04:00
hackrush 0fbf131df3
default certificates is a dict now 2018-08-24 11:37:53 -04:00
hackrush 4bd0806e58
Fix metaclass not registering objects 2018-08-24 11:37:53 -04:00
hackrush 4cbb71705e
Added pyopenssl and service-identity dependency to setup.py 2018-08-24 11:37:53 -04:00
Lex Berezhny 8ab4dd6b2c
build py37, using ubuntu xenail on traivs 2018-08-24 11:37:53 -04:00
Lex Berezhny 318c369752
made tests into a package again and moved mocks.py back to root tests dir 2018-08-24 11:37:53 -04:00
Victor Shyba cea3b7630c
partial dht functional tests porting to py3 2018-08-24 11:37:53 -04:00
Victor Shyba 19211d4417
make sure bencoding works for bytes, not strings 2018-08-24 11:37:53 -04:00
Victor Shyba c312d1b3a6
all unit/dht green on py3 2018-08-24 11:37:53 -04:00
Victor Shyba e4ea1ccbfb
test_node green on py3 2018-08-24 11:37:53 -04:00
Victor Shyba 5b35c4e8f0
port dht.distance ~> py3 2018-08-24 11:37:53 -04:00
Victor Shyba 9967857a57
port dht.encoding ~> py3 2018-08-24 11:37:53 -04:00
Victor Shyba 78c560a3be
general incomplete porting of daemon booting ~> py3 2018-08-24 11:37:53 -04:00
Victor Shyba 07a12b66e8
port dht.contacts ~> py3 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
Victor Shyba b2ab13187f
fix get_certificates 2018-08-24 11:37:53 -04:00
Victor Shyba 5ec696fbfd
fix lookup helper by not calling hexlify twice 2018-08-24 11:37:53 -04:00
Victor Shyba 44bd0ae847
fix another forgotten claim id nbo conversion 2018-08-24 11:37:53 -04:00
Victor Shyba 5809ba093d
convert amount on channel_new 2018-08-24 11:37:53 -04:00
Lex Berezhny 17aee92dc9
wallet_balance --include-unconfirmed works now 2018-08-24 11:37:53 -04:00
Victor Shyba 6f1d2e7690
fix RPC publish claim serialization 2018-08-24 11:37:53 -04:00
Victor Shyba 75f57fc517
fix claim id handling during publish from the latest changes 2018-08-24 11:37:53 -04:00
Lex Berezhny f589410496
tests 2018-08-24 11:37:53 -04:00
Lex Berezhny aecc7c6643
resolve works in py3!!!!!11111oneoneone 2018-08-24 11:37:53 -04:00
Victor Shyba c5c1b62939
fix resolve from tx.id rename 2018-08-24 11:37:53 -04:00
Lex Berezhny adc92a2b52
fix for daemon.get_est_cost 2018-08-24 11:37:53 -04:00
Lex Berezhny 9636ca22e7
fixing unit tests 2018-08-24 11:37:53 -04:00
Lex Berezhny 0442770c9d
pylint fixes 2018-08-24 11:37:53 -04:00
Lex Berezhny 3b6a879fc9
add is_hd=true for default migrated wallet 2018-08-24 11:37:53 -04:00