Victor Shyba
b25d592d99
more dht fixes and most of functional tests
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
hackrush
3f7091cbf2
Make curl work in py3 again
2018-08-24 11:37:53 -04:00
hackrush
a95f791215
Make daemon work in py3 again
2018-08-24 11:37:53 -04:00
Lex Berezhny
a937aff80f
pylint fixes
2018-08-24 11:37:53 -04:00
Lex Berezhny
5597d45aed
got integration tests to work again with rebased branch
2018-08-24 11:37:53 -04:00
hackrush
473d2eabfa
curl works with python3 now
2018-08-24 11:37:53 -04:00
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
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
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
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
24a872885a
xrange() -> range()
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
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
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
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
Lex Berezhny
a1b4c9acd6
claim_id is hexlified before saving to sqlite
2018-08-24 11:37:53 -04:00
Lex Berezhny
159e84468c
py3 support in resolve
2018-08-24 11:37:53 -04:00
Lex Berezhny
59e4ac30c2
fixing py2 stuff that broke during py3 fixes
2018-08-24 11:37:53 -04:00
Lex Berezhny
b5ce948bc1
convert buffer to string
2018-08-24 11:37:53 -04:00
Lex Berezhny
076af7ef43
py3 compatibility updates
2018-08-24 11:37:53 -04:00
Lex Berezhny
43bef9447c
progress on publish command: py3 porting and integration tests
2018-08-24 11:37:53 -04:00
Victor Shyba
b1c5fe0b4d
cryptblob write needs bytes on py3
2018-08-24 11:37:53 -04:00
Lex Berezhny
315661208d
integration test publishes actual file instead of just sources
2018-08-24 11:37:53 -04:00
Lex Berezhny
e175e43082
.decode() string for sqlite
2018-08-24 11:37:53 -04:00
Lex Berezhny
cb9b320ed7
dropped make_claim in favor of wallet.claim_name
2018-08-24 11:37:53 -04:00
Lex Berezhny
1d906fb0c7
create_and_publish_stream fix
2018-08-24 11:37:53 -04:00
Lex Berezhny
c544e26206
publish integration test works
2018-08-24 11:37:53 -04:00
Lex Berezhny
1eaac35a3e
claim_name does not take change_address anymore
2018-08-24 11:37:53 -04:00
Lex Berezhny
cc7962fc2e
stringify address from sqlite
2018-08-24 11:37:53 -04:00
Lex Berezhny
3638984d67
fixed getting unused address
2018-08-24 11:37:53 -04:00
Lex Berezhny
774d813576
fixed encoding issue on saving wallet
2018-08-24 11:37:53 -04:00
Lex Berezhny
688caf4453
+ save wallet after creating a channel
2018-08-24 11:37:53 -04:00
Lex Berezhny
eeb5b3c139
publishing
2018-08-24 11:37:53 -04:00
Lex Berezhny
b5e6dd1060
+ maybe_migrate_certificates
2018-08-24 11:37:53 -04:00
Lex Berezhny
272d818050
saving txo bug fix
2018-08-24 11:37:53 -04:00
Lex Berezhny
0fc1bd7a8c
store claim_id
2018-08-24 11:37:53 -04:00
Lex Berezhny
2b234e0713
fix syntax error
2018-08-24 11:37:53 -04:00
Victor Shyba
9e8cb17ecb
insane working version of paged resolve, to be refactored
2018-08-24 11:37:53 -04:00
Victor Shyba
e0230864ce
creates a Resolve class for moving resolve methods out of ledger
2018-08-24 11:37:53 -04:00
Victor Shyba
9e89b3e40e
start a new module for isolating resolve related code before we can refactor it
2018-08-24 11:37:53 -04:00
Victor Shyba
036663ae62
adds get_claims_by_ids and fix a test name
2018-08-24 11:37:53 -04:00
Victor Shyba
bdd271e78f
adds resolve
2018-08-24 11:37:53 -04:00
Lex Berezhny
4a56d38782
certificate.py
2018-08-24 11:37:53 -04:00
Lex Berezhny
70a7ca95fe
wip
2018-08-24 11:37:53 -04:00
Lex Berezhny
d81502e191
unit test fixes, balance/utxos filters out claims, abandoning claims
2018-08-24 11:37:53 -04:00
Lex Berezhny
8c35d355e5
added is_claim,is_support,is_update and claim_name attributes to txo able
2018-08-24 11:37:53 -04:00
Lex Berezhny
72b004664f
config fix
2018-08-24 11:37:53 -04:00
Lex Berezhny
17738ad248
import fixes due to tests directory moving
2018-08-24 11:37:53 -04:00
Lex Berezhny
edfc2c6124
fix to make sd_hash more deterministic
2018-08-24 11:37:53 -04:00
Lex Berezhny
545451a829
moved ./lbry/tests to ./tests
2018-08-24 11:37:53 -04:00
Lex Berezhny
12ff7015cd
wallet tests and py3 compatibility
2018-08-24 11:37:53 -04:00
Lex Berezhny
f2f212edba
switch component wallet to use the new wallet
2018-08-24 11:37:53 -04:00
Lex Berezhny
69446491b8
pylint and unit test fixes
2018-08-24 11:37:50 -04:00
Lex Berezhny
d5beaa0937
jsonrpc_channel_new uses new wallet
2018-08-24 11:37:25 -04:00
Lex Berezhny
cc970c499b
daemon/auth py3 conversion, this breaks the client for now
2018-08-24 11:37:25 -04:00
Lex Berezhny
0087b16912
deleted old broken test
2018-08-24 11:37:25 -04:00
Lex Berezhny
5520d518b5
DHT py3 compatibility, mostly commenting out implements() and fixing imports
...
cryptstream py3 support, mostly commenting out implements()
lbry_file py3 support, mostly commenting out implements()
file_manager py3 support, mostly commenting out implements()
core py3 support, mostly commenting out implements() and fixing imports
2018-08-24 11:37:25 -04:00
Lex Berezhny
b3e9240aa8
wip, valuesforuris
2018-08-24 11:37:25 -04:00
Lex Berezhny
137a270488
* channel certificate creation and taking advantage of is_reserved feature on txos to exclude output from being used in new transactions
2018-08-24 11:37:25 -04:00
Lex Berezhny
e36610d63c
fix resolve
2018-08-24 11:37:25 -04:00
Lex Berezhny
c4273fbef0
claim test
2018-08-24 11:37:25 -04:00
Lex Berezhny
a4e9f3100f
updating wallet tests
2018-08-24 11:37:25 -04:00
Lex Berezhny
2668ceac0e
updated to newer torba
2018-08-24 11:37:25 -04:00
Lex Berezhny
fb2fb5c38c
recovered an old stash
2018-08-24 11:37:25 -04:00
Lex Berezhny
56175df121
wip
2018-08-24 11:37:25 -04:00
Lex Berezhny
7d3daa9fe6
set the lbryschema BLOCKCHAIN_NAME global variable
2018-08-24 11:37:25 -04:00
Lex Berezhny
1d2de27536
import fix
2018-08-24 11:37:25 -04:00
Lex Berezhny
aab42e56bd
removing lbryum
2018-08-24 11:37:25 -04:00
Lex Berezhny
1368a6e074
wallet manager refactoring
...
test uses manager.send_amount_to_address instead of manually creating tx
2018-08-24 11:37:25 -04:00
Lex Berezhny
80990b959c
moved files around
2018-08-24 11:37:25 -04:00
Lex Berezhny
053b6d1c80
removing lbryum from requirements
2018-08-24 11:37:25 -04:00
Lex Berezhny
692d8e8e1a
new wallet becoming drop-in replacement for old lbryum wallet
2018-08-24 11:37:25 -04:00
Lex Berezhny
5e71dcbaf0
wip: implementation is now generic and supports multiple currencies
2018-08-24 11:37:25 -04:00
Lex Berezhny
83958604d5
finally generating fully signed tx submittable to lbrycrd
2018-08-24 11:37:25 -04:00
Lex Berezhny
dcd8a6bb0e
branch and bound based coin selection with random draw fallback
2018-08-24 11:37:25 -04:00
Lex Berezhny
7161a0edb9
new bitcoin script parser
2018-08-24 11:37:25 -04:00
Lex Berezhny
0fd160e6e6
a lot more stuff
2018-08-24 11:37:25 -04:00
Lex Berezhny
ca8b2dd83e
wip: initial import of twisted based wallet
2018-08-24 11:37:25 -04:00
Jack Robison
79d1da5ff8
Bump version 0.21.2rc3 --> 0.21.2
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 23:43:35 -04:00
Jack Robison
d73252b11a
Bump version 0.21.2rc2 --> 0.21.2rc3
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 22:40:16 -04:00
Jack Robison
a7a53f9381
fix mirror downloader looping call
2018-08-23 22:36:30 -04:00
Jack Robison
f4b2a05fff
fix a typo
2018-08-23 18:35:47 -04:00
Jack Robison
cdd2b6bfc1
Bump version 0.21.2rc1 --> 0.21.2rc2
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 11:57:49 -04:00
Jack Robison
26bd27cd32
Bump version 0.21.1 --> 0.21.2rc1
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-23 11:45:07 -04:00
Jack Robison
37ddaeca12
fix ping queue bug
2018-08-23 11:18:28 -04:00
Jack Robison
2c546b2cde
retry mirror downloads
2018-08-23 11:18:28 -04:00
Alex Grintsvayg
149fa625e0
back to reflector 1
2018-08-15 16:11:34 -04:00
Jack Robison
16cda60f31
fix test
2018-08-13 17:16:48 -04:00
Jack Robison
0d54f6215f
Bump version 0.21.1rc2 --> 0.21.1
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-13 16:20:16 -04:00
Jack Robison
a9774a293f
docs
2018-08-13 16:18:31 -04:00
Jack Robison
ee8cf08c0e
Bump version 0.21.1rc1 --> 0.21.1rc2
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-13 14:04:39 -04:00
Jack Robison
ea481e6c5a
fix download_progress in blockchain_headers status
...
-use a 0-100 range for percentage regardless of how much we have to download (if we're resuming or starting fresh)
-prevent negative blocks or blocks_behind counts
2018-08-13 14:03:15 -04:00
Jack Robison
36df9e8283
Bump version 0.21.0 --> 0.21.1rc1
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-12 22:16:00 -04:00
Jack Robison
68f1dda7b0
initialize headers download progress
2018-08-12 22:05:07 -04:00
Jack Robison
5b7f7c87bf
fix stop_lbry_files
2018-08-12 22:04:55 -04:00
Jack Robison
153022a1a7
add is_locked to status
2018-08-12 22:04:48 -04:00
Lex Berezhny
1098ca0494
+ convert float to decimal for wallet_send
2018-08-09 19:14:56 -04:00
Jack Robison
d4a7dbf805
Bump version 0.21.0rc13 --> 0.21.0
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 13:44:28 -04:00
Jack Robison
56ee815eec
Bump version 0.21.0rc12 --> 0.21.0rc13
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 13:20:15 -04:00
Jack Robison
fe43764bcb
fix announcement of blobs downloaded from a http mirror
2018-08-09 13:19:59 -04:00
Jack Robison
2448d51ed5
Bump version 0.21.0rc11 --> 0.21.0rc12
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 12:07:35 -04:00
Jack Robison
2804fa4448
fix disabling the hash announcer
2018-08-09 12:04:14 -04:00
Jack Robison
69ae60b4bb
Bump version 0.21.0rc10 --> 0.21.0rc11
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 11:29:49 -04:00
Jack Robison
dca4af942f
also try/except around upnp.discover
...
-catches edge case where miniupnpc fallback is used and a device is found but selectigd fails
2018-08-09 11:28:07 -04:00
Jack Robison
2b7e135839
fix error in blob_delete
2018-08-09 11:26:57 -04:00
Jack Robison
d565aa0b3f
Bump version 0.21.0rc9 --> 0.21.0rc10
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 09:24:39 -04:00
Jack Robison
8b53140581
set downloading_headers to False after the download finishes or fails
2018-08-09 09:24:04 -04:00
Jack Robison
917bae568d
fix disabling blob announcement by setting concurrent announcers to 0
2018-08-09 09:22:55 -04:00
Jack Robison
efb6af4d51
Bump version 0.21.0rc8 --> 0.21.0rc9
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 09:01:57 -04:00
Jack Robison
5fe8022b15
don't attempt to announce blobs until we we have contacts in routing
2018-08-09 09:00:36 -04:00
Jack Robison
7931397595
Bump version 0.21.0rc7 --> 0.21.0rc8
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-09 08:44:23 -04:00
Jack Robison
0501f52805
fix upnp edge case
...
-fixes https://github.com/lbryio/lbry/issues/1352
2018-08-09 08:42:51 -04:00
Jack Robison
108d2a033b
fix attribute error when reflector component is disabled
2018-08-09 08:32:43 -04:00
Jack Robison
17a9cfd65c
Bump version 0.21.0rc6 --> 0.21.0rc7
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-08 14:12:01 -04:00
Jack Robison
8eb740cf67
Bump version 0.21.0rc5 --> 0.21.0rc6
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-08 13:58:17 -04:00
Jack Robison
b73e50e64b
Bump version 0.21.0rc4 --> 0.21.0rc5
...
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-08-07 19:27:50 -04:00
Jack Robison
c73148a1fb
Merge remote-tracking branch 'origin/fix_1346'
2018-08-07 19:27:28 -04:00