Lex Berezhny
c68bfbdf2e
v0.38.0
2019-06-25 16:27:01 -04:00
Jack Robison
7e8180fefc
fix attribute error if availability_response field is missing
2019-06-25 16:22:02 -04:00
Jack Robison
305226a3bd
fix database migration bugs
2019-06-25 16:09:24 -04:00
Jack Robison
c8752b03c1
travis checksums
2019-06-25 16:09:24 -04:00
Lex Berezhny
8195deebe3
updated generated docs
2019-06-25 15:34:32 -04:00
Lex Berezhny
88f2156aeb
update install to new testing tools and directory structure
2019-06-25 13:49:54 -04:00
Lex Berezhny
b1982a81dc
updated release script to add --start-tag option
2019-06-25 12:50:13 -04:00
Lex Berezhny
18e19213f4
fix fee_amount default on wallet server
2019-06-25 11:04:32 -04:00
Lex Berezhny
6fb67b86f5
added spv4-spv6
2019-06-25 10:42:59 -04:00
Lex Berezhny
a4c15769d0
v0.38.0rc10
2019-06-25 02:01:42 -04:00
Lex Berezhny
894e86d3ee
fix intermittent test_queries failure in torba due to non-unique TX generated
2019-06-25 01:33:04 -04:00
Lex Berezhny
9712ef8abf
cache Homebrew
2019-06-25 01:33:04 -04:00
Lex Berezhny
908107d24f
cache virtualenv directory on windows
2019-06-25 01:33:04 -04:00
Lex Berezhny
d667efa9de
remove docker wine based windows build process scripts
2019-06-25 01:33:04 -04:00
Lex Berezhny
e649d7219b
stage: build
2019-06-25 01:33:04 -04:00
Lex Berezhny
1f5698ec86
build using travis windows container
2019-06-25 01:33:04 -04:00
Jack Robison
15341aa80e
fix setting the external ip from upnp
2019-06-24 15:39:31 -04:00
Lex Berezhny
3f4895bd40
v0.38.0rc9
2019-06-23 23:42:29 -04:00
Jack Robison
103c93a06c
update aioupnp to 0.0.13
2019-06-23 23:39:45 -04:00
Lex Berezhny
21f02d3e6d
fix torba test_sync test reliability
2019-06-23 22:40:41 -04:00
Lex Berezhny
9ce93a1da6
added --not_channel_ids and --has_channel_signature
2019-06-23 20:24:35 -04:00
Lex Berezhny
d0e1468acd
channel migration better handles missing or invalid certificates
2019-06-23 13:46:02 -04:00
Lex Berezhny
8a5bb239c5
fix working directory in windows build
2019-06-23 11:31:46 -04:00
Lex Berezhny
816cde32a9
fix support reorg error
2019-06-23 10:56:59 -04:00
Lex Berezhny
2b514a9df7
fix github release upload
2019-06-23 00:38:02 -04:00
Lex Berezhny
ef39ba26a0
v0.38.0rc8
2019-06-23 00:08:41 -04:00
Lex Berezhny
59ca3d3d16
take_over_height fix
2019-06-22 23:24:56 -04:00
Lex Berezhny
80ff60f0aa
added take_over_height to claim search / resolve output
2019-06-22 23:24:56 -04:00
Lex Berezhny
488c2e2f17
searching by fee_amount and fee_currency
2019-06-22 23:24:56 -04:00
Lex Berezhny
9e11fc1e99
dont error when claim search gets invalid channel
2019-06-22 23:24:56 -04:00
Lex Berezhny
a8b590ecbb
add tag normalization on storage and on search
2019-06-22 23:24:56 -04:00
Lex Berezhny
8ca8591ed6
wrong test method reverted
2019-06-22 23:24:56 -04:00
Lex Berezhny
e393314423
fix for claims_in_channel not updating on abandoned claim
2019-06-22 23:24:56 -04:00
Lex Berezhny
c54373bd9c
moved enum into script to avoid weird import conflict with Python built-in enum module
2019-06-22 23:24:56 -04:00
Alex Grin
f459b6833a
Update INSTALL.md
2019-06-21 14:13:14 -04:00
Lex Berezhny
0a6eb76542
cleaned up make idea
2019-06-21 11:39:35 -04:00
Lex Berezhny
e6d42b5319
.idea directory now requires running make idea first
2019-06-21 11:26:58 -04:00
Lex Berezhny
0d2804ce55
travis windows build path fixes
2019-06-21 03:27:22 -04:00
Lex Berezhny
8efdd9d29a
popd directory before windows build
2019-06-21 03:27:22 -04:00
Lex Berezhny
27c36a4dce
fix get_spendable_utxos
2019-06-21 03:27:22 -04:00
Lex Berezhny
2f74611844
pylint
2019-06-21 03:27:22 -04:00
Lex Berezhny
d8265add2d
added coin selection strategy for both prefer_confirmed and only_confirmed
2019-06-21 03:27:22 -04:00
Lex Berezhny
01cd02e4c5
import fix
2019-06-21 03:27:22 -04:00
Lex Berezhny
2b98f85961
fix module paths in .idea/lbry-sdk.iml
2019-06-21 03:27:22 -04:00
Alex Grintsvayg
338d1bd8e7
add coin selection strategy config
2019-06-21 03:27:22 -04:00
Lex Berezhny
7dedaeeef7
remaining lbry -> lbry-sdk changes
2019-06-20 23:13:57 -04:00
Lex Berezhny
54830b8968
renamed repo to lbry-sdk
2019-06-20 23:03:48 -04:00
Lex Berezhny
41b866c1ee
fix linux/windows build
2019-06-20 22:50:39 -04:00
Lex Berezhny
fe7224e537
residual fixes after lbrynet -> lbry move
2019-06-20 22:50:39 -04:00
Lex Berezhny
f5e38f6e23
updated imports after moving lbrynet -> lbry
2019-06-20 22:50:39 -04:00
Lex Berezhny
063335377e
updated lbry.iml
2019-06-20 22:50:39 -04:00
Lex Berezhny
ee6f511126
moved lbrynet -> lbry
2019-06-20 22:50:39 -04:00
Lex Berezhny
75574486d3
simplify lbry.iml
2019-06-20 22:50:39 -04:00
Lex Berezhny
03a09f0f42
ignore changes to files in .idea
2019-06-20 22:50:39 -04:00
Lex Berezhny
075b3ec3d2
added default .idea files
2019-06-20 22:50:39 -04:00
Lex Berezhny
3d5aa6a44b
travis fixes
2019-06-20 22:50:39 -04:00
Lex Berezhny
8350b42c1b
require python 3.7
2019-06-20 22:50:39 -04:00
Lex Berezhny
7061a62e88
set correct directory in Docker build
2019-06-20 22:50:39 -04:00
Lex Berezhny
133fceeee5
fixing docker build
2019-06-20 22:50:39 -04:00
Lex Berezhny
38331b8918
travis fixups
2019-06-20 22:50:39 -04:00
Lex Berezhny
5bbba0b65a
updated windows build
2019-06-20 22:50:39 -04:00
Lex Berezhny
07a63b2a0a
moved lbry.png into lbry
2019-06-20 22:50:39 -04:00
Lex Berezhny
9ddc70fc81
deleted .github templates
2019-06-20 22:50:39 -04:00
Lex Berezhny
2b6f5fde13
moved more lbry files into lbry dir
2019-06-20 22:50:39 -04:00
Lex Berezhny
d4b006656d
torba integration test
2019-06-20 22:50:39 -04:00
Lex Berezhny
b1e70723c7
travis coverage combine fix
2019-06-20 22:50:39 -04:00
Lex Berezhny
1ec1ad19f8
pin to mypy==0.701
2019-06-20 22:50:39 -04:00
Lex Berezhny
b96b27ed91
travis ci install mypy
2019-06-20 22:50:39 -04:00
Lex Berezhny
8b145cb1d8
combined .travis.yml
2019-06-20 22:50:39 -04:00
Lex Berezhny
85d7adc0b5
moved lbrynet into lbry directory
2019-06-20 22:50:39 -04:00
Lex Berezhny
d530599b5d
Merge remote-tracking branch 'torba/move-to-lbry'
2019-06-20 14:04:30 -04:00
Lex Berezhny
16215d5b96
preparing for moving torba into lbry sdk repo
2019-06-20 13:45:46 -04:00
Jack Robison
db685e5807
bump torba requirement
2019-06-19 14:23:38 -04:00
Jack Robison
190304344c
v0.5.7
2019-06-19 10:55:57 -04:00
Alex Grintsvayg
24e8a3c62e
more accurate coin selection strategy name
2019-06-19 10:39:11 -04:00
Lex Berezhny
571b02f381
v0.38.0rc7
2019-06-19 06:44:26 -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
1e2b040f75
simplify validation, move to fee.update
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
Oleg Silkin
8e0888b846
Fixes comment functions
2019-06-19 06:25:26 -04:00
Oleg Silkin
ce5dd5022b
Adds Comment Signing and Validation
2019-06-19 06:25:26 -04:00
Lex Berezhny
4a24cc0095
pylint & mypint fixes
2019-06-19 06:12:57 -04:00
Alex Grintsvayg
f2bd0edc51
add option to only use confirmed utxos
2019-06-19 06:12:57 -04:00
Thomas Zarebczan
756d17bada
update wallet servers
...
Not sure where spv3 will be yet. We can probably repurpose lbryumx2/3/4 once we go live, so we'll make sure to add those before release.
2019-06-19 02:53:41 -04:00
Lex Berezhny
81e061af30
added missing raise SystemExit()
2019-06-19 02:53:22 -04:00
Alex Grintsvayg
a60cd1d475
separate try/except for media server
2019-06-19 02:53:22 -04:00
Lex Berezhny
f78323e0fb
update torba version
2019-06-19 02:17:08 -04:00
Lex Berezhny
fd6cbe0f6c
reorgs do not hang the wallet server
2019-06-19 02:17:08 -04:00
Lex Berezhny
c30e905e19
undo backup_txs method signature change
2019-06-19 01:49:47 -04:00
Lex Berezhny
f5650c1b13
minor refactor of reorg integration test
2019-06-19 01:49:47 -04:00
Lex Berezhny
ecebbc86c6
fixed reorg issue with headers
2019-06-19 01:49:47 -04:00
Jack Robison
bfeed40bfe
Merge pull request #2247 from lbryio/fix-unable-to-serialize-response
...
paginated deterministically shuffled find_value
2019-06-18 23:25:12 -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
Lex Berezhny
262735c219
--blocking
2019-06-18 19:32:49 -04:00
Alex Grin
3abc98acc8
Update PULL_REQUEST_TEMPLATE.md
2019-06-18 09:17:54 -04:00
Alex Grin
eaa8ba814e
Update ISSUE_TEMPLATE.md
2019-06-17 14:06:01 -04:00
Jack Robison
588568752b
Merge pull request #2217 from lbryio/chunked-reflector-response
...
fix handling chunked reflector server responses
2019-06-11 14:05:06 -04:00
Lex Berezhny
794eac0519
0.5.6
2019-06-10 23:49:04 -04:00
Victor Shyba
b75139662b
refactor pick_fastest_session
2019-06-10 23:25:38 -04:00
Victor Shyba
9e24f4ca54
fix mypy, add types
2019-06-10 23:25:38 -04:00
Victor Shyba
1b5281c23e
connect to multiple servers
2019-06-10 23:25:38 -04:00
Lex Berezhny
be15601a67
pylint
2019-06-10 01:44:07 -04:00
Lex Berezhny
35cd42bfea
ledger.wait() accept timeout argument
2019-06-10 01:44:07 -04:00
Jack Robison
a30e2daf05
handle chunked responses from reflector server
2019-06-07 17:26:31 -04:00
Jack Robison
adb7edd3b2
test chunked reflector server response
2019-06-07 17:26:31 -04:00
Jack Robison
06a9770504
Merge pull request #2216 from lbryio/fix-connection-status-startup-error
...
fix connections status raising an error during startup
2019-06-07 13:55:54 -04:00
Jack Robison
0da43d3e05
fix connections status raising an error during startup
2019-06-07 12:14:05 -04:00
Lex Berezhny
077dbb3138
better handle claims which fail to decode
2019-06-07 08:42:17 -04:00
Jack Robison
3b8fd65fa9
Merge pull request #2212 from lbryio/add-torba-version-to-version-rpc
...
update `version` docstring, add `torba_version`
2019-06-05 20:59:58 -04:00
Jack Robison
d0ddaa5518
update version docstring, add torba_version
2019-06-05 20:33:21 -04:00
Jack Robison
a60ab97552
Merge pull request #2211 from lbryio/pin-aioupnp
...
pin aioupnp requirement to 0.0.12
2019-06-05 19:41:45 -04:00
Jack Robison
078d09976c
pin aioupnp requirement
2019-06-05 18:50:36 -04:00
Jack Robison
3770558694
Merge pull request #2210 from lbryio/fix-wine-build
...
fix torba version on travis
2019-06-05 18:46:24 -04:00
Jack Robison
4409b8c4f8
fix torba version on travis
2019-06-05 18:19:56 -04:00
Lex Berezhny
03e48c0968
0.5.5
2019-06-05 17:07:36 -04:00
Lex Berezhny
f5b7aaac18
v0.38.0rc6
2019-06-04 22:32:33 -04:00
Lex Berezhny
6dbb6b9079
fix claim expiration calculation
2019-06-04 22:28:35 -04:00
Lex Berezhny
16b774a69e
add normalized to claims_in_channel index to make update claim faster
2019-06-04 22:28:35 -04:00
Lex Berezhny
72ea19532e
added index specifically for claim_in_channel computation
2019-06-04 22:28:35 -04:00
Lex Berezhny
ad24946af3
add improved profiling to validate_channel_signatures
2019-06-04 22:28:35 -04:00
Lex Berezhny
b676907fd7
added index for claim expiration_height
2019-06-04 22:28:35 -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
6651111522
pylint
2019-06-04 18:44:21 -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
Victor Shyba
3ea92c0d6e
pylint
2019-06-04 11:04:47 -04:00
Victor Shyba
8e43e40810
fix reconnect and improve test
2019-06-04 11:04:47 -04:00
Alex Grintsvayg
bae2939943
change a few instances of lbry.io to lbry.com. fixes #2135
2019-06-04 10:23:04 -04:00
Alex Grintsvayg
7063138e3c
small improvements from our cli investigation
2019-06-04 09:39:33 -04:00
Lex Berezhny
798ba9acf8
v0.38.0rc5
2019-06-04 01:20:32 -04:00
Jack Robison
c8dd1987e6
add connection status
2019-06-04 01:20:05 -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
565ef5e454
docopt doc string fix
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
Thomas Zarebczan
86ee6a78f5
add MKV to mime types
2019-06-03 19:51:48 -04:00
Victor Shyba
a14b91cdda
refactor test and make it faster
2019-06-03 16:04:15 -04:00
Victor Shyba
08609e9760
remove unnecessary call to ledger stop on client tests
2019-06-03 16:04:15 -04:00
Victor Shyba
ca0a3dbf9e
minor cleanups on test spurious exceptions
2019-06-03 16:04:15 -04:00
Victor Shyba
9d0b9f0ded
improve server picking tests
2019-06-03 16:04:15 -04:00
Victor Shyba
8911af58cf
pick fastest server on client start
2019-06-03 16:04:15 -04:00
Lex Berezhny
4fb6f2bb27
review fixes
2019-06-03 06:51:09 -04:00
Oleg Silkin
ec039825e8
Fixes non-subscribtable object error
2019-06-03 06:51:09 -04:00
Oleg Silkin
a10f09d169
Updates signature return field
2019-06-03 06:51:09 -04:00
Oleg Silkin
76409600e1
Fixes stuff up
2019-06-03 06:51:09 -04:00
Oleg Silkin
d06a0f876a
Patches comment server interface in the SDK
2019-06-03 06:51:09 -04:00
Oleg Silkin
8e857de62a
Fixes non-subscribtable object error
2019-06-03 06:51:09 -04:00
Oleg Silkin
3d37f7c735
Updates signature return field
2019-06-03 06:51:09 -04:00
Oleg Silkin
552b94bc65
Fixes stuff up
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
26dd6d2ac7
claim search test fix
2019-05-30 21:57:49 -04:00
Lex Berezhny
5d5e36a2c2
short_url and canonical_url returned from wallet server use original claim name instead of normalized
2019-05-30 21:32:35 -04:00
Lex Berezhny
77afbcded6
wallet server, skip table join for count(*) query
2019-05-30 21:07:07 -04:00
Lex Berezhny
ae11d72f66
added claim.effective_amount index on wallet server
2019-05-30 16:13:46 -04:00
Lex Berezhny
d2773f9713
v0.38.0rc4
2019-05-29 22:48:28 -04:00
Lex Berezhny
a7fba569cd
update tests to use valid_channel_signatures argument
2019-05-29 22:47:33 -04:00
Lex Berezhny
0559c64038
fixed claim search bug related to signed claims
2019-05-29 22:47:33 -04:00
Lex Berezhny
5ab2754bc6
shutdown daemon during tests teardown
2019-05-29 19:27:05 -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
Lex Berezhny
ad411cc157
trying to fix rebase
2019-05-29 19:27:05 -04:00
hackrush
6d462ad6d8
channel export import
2019-05-29 19:27:05 -04:00
Lex Berezhny
d23920cc61
added get_public_key methods
2019-05-29 01:38:53 -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
8f3b596385
Add consolidated field to migration result
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
56edf62cb9
Temporary fix for github.com/PyCQA/pylint/issues/2820
2019-05-28 20:51:22 -04:00
hackrush
d367ff6ac1
Update tests and code
2019-05-28 20:51:22 -04:00
hackrush
7a78d49e13
Store public-private mappings in wallet
2019-05-28 20:51:22 -04:00
Lex Berezhny
4dae1ae05f
regenerate docs
2019-05-27 23:18:26 -04:00
Lex Berezhny
9004f240e6
bug fixes
2019-05-27 23:18:26 -04:00
Lex Berezhny
1848462ad9
v0.38.0rc3
2019-05-26 14:04:45 -04:00
Lex Berezhny
786efa06dd
fixed resolve to work with partial claim_ids
2019-05-26 14:01:06 -04:00
Lex Berezhny
b6811d55cf
no longer log skipped claim insertions on wallet server, happens too often
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
9d97b90ff4
pylint
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
6b93705599
Merge pull request #2181 from lbryio/improve-set-build
...
improve set_build.py, pin torba version
2019-05-24 19:00:38 -04:00
Jack Robison
925e39c5a8
improve set_build.py, pin torba version
...
- adds BUILD_COMMIT to lbrynet.build_type
2019-05-24 18:02:55 -04:00
Jack Robison
1efa2c9406
Merge pull request #2180 from lbryio/fix-completed-false-negative
...
fix false negative with file `completed` field
2019-05-24 17:18:04 -04:00
Jack Robison
4f8bcfcd18
fix false negative with file completed field
2019-05-24 16:47:25 -04:00
Jack Robison
3ed72a215e
Merge pull request #2179 from lbryio/fix-range-request-start-offset
...
start returning bytes for a range request at the requested starting position
2019-05-24 16:46:21 -04:00
Jack Robison
85d94d4ca3
start returning range request bytes at the requested offset
2019-05-24 15:32:40 -04:00
Jack Robison
b922ea8e7e
Merge pull request #2178 from lbryio/lru-cached-read-blob
...
add a lru cache for decrypted blobs to minimize redownloading them, add `blob_lru_cache_size` to the config to set the cache size
2019-05-24 13:56:59 -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
1c2029cddf
fix startup error when single key account present in wallet
2019-05-22 18:31:49 -04:00
Alex Grintsvayg
d8d136f1d8
uniform spacing on docstring
2019-05-22 16:51:14 -04:00
Victor Shyba
fedc0e5bc3
add checktrie.py script
2019-05-22 12:20:33 -04:00
Lex Berezhny
ee353ca776
0.5.4
2019-05-22 09:35:23 -04:00
Alex Grintsvayg
4fbccb9336
uniform spacing on docstring
2019-05-22 09:23:31 -04:00
Lex Berezhny
ef5dd5593f
v0.38.0rc2
2019-05-20 21:39:16 -04:00
Lex Berezhny
baed974be0
several minor wallet server fixes
2019-05-20 21:35:20 -04:00
Lex Berezhny
b2b3509b61
regenerate protobufs
2019-05-20 15:19:14 -04:00
Lex Berezhny
51720d9b73
add MAX() to claimtrie GROUP BY algo to make results consistent across SQLite versions
2019-05-20 15:19:14 -04:00
Lex Berezhny
6abb569ec8
v0.38.0rc1
2019-05-19 23:03:25 -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
hackrush
c2c184b4ef
Updated to include the environment variables needed in mac
2019-05-18 21:44:49 -04:00
Lex Berezhny
07dbdef3fe
dont run test_resolve_lru_cache_doesnt_persist_errors
2019-05-18 21:43:46 -04:00
Lex Berezhny
b841fb2f0c
fix docopt parser issue
2019-05-18 21:43:46 -04:00
Lex Berezhny
2b75982446
disable trending until its fixed
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
e56b72cf04
pylint and use torba master
2019-05-18 21:43:46 -04:00
Lex Berezhny
342f485ddf
good stuff
2019-05-18 21:43:46 -04:00
Lex Berezhny
8fe16fbfc9
performance
2019-05-18 21:43:46 -04:00
Lex Berezhny
1e3035029e
timer fix
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
03a1185e0f
pylint
2019-05-18 21:43:46 -04:00
Lex Berezhny
0e1705d19e
instrumented most wallet server claim related functions with timer
2019-05-18 21:43:46 -04:00
Lex Berezhny
82c739daa6
abstract _apply_constraints_for_array_attributes for wallet server
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
75211b7e84
updated claim_search doc string
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
998ee9feba
resolve integration tests fixed
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
8dee83aac0
disable cache for integration tests while using custom torba branch
2019-05-18 21:43:46 -04:00
Lex Berezhny
879ae5cc72
.travis.yml
2019-05-18 21:43:46 -04:00
Lex Berezhny
74a9e17178
.travis.yml
2019-05-18 21:43:46 -04:00
Lex Berezhny
93d2173fad
chris45 integration test passing
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
2e6297f834
pylint
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
6946860521
added result schema types
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
e5edaed677
removed test code from wallet server daemon.py
2019-05-18 21:43:46 -04:00
Lex Berezhny
5e97215eaa
integration tests should clone sqltrie torba branch
2019-05-18 21:43:46 -04:00
Lex Berezhny
266f94bc95
pylint
2019-05-18 21:43:46 -04:00
Lex Berezhny
d26caded53
use sqltrie branch of torba
2019-05-18 21:43:46 -04:00
Lex Berezhny
2260608bb6
working sql claimtrie
2019-05-18 21:43:46 -04:00
Lex Berezhny
bba4c6e4f4
added __gte sql criteria and pass header to wallet server advance_txs
2019-05-18 00:03:23 -04:00
Lex Berezhny
1d126913e9
added __or and __and to sql query generator
2019-05-18 00:03:23 -04:00
Lex Berezhny
b3afee2f86
ignore too-many-statements pylint
2019-05-18 00:03:23 -04:00
Lex Berezhny
31983fbb8e
support in db for constraints that reference the same column by appending a # followed by some unique string
2019-05-18 00:03:23 -04:00
Lex Berezhny
ba8870823c
added network.get_transaction_height
2019-05-18 00:03:23 -04:00
Lex Berezhny
5f1bc01636
swap advance_txs arguments
2019-05-18 00:03:23 -04:00
Lex Berezhny
ffa9e508e9
block_processor passes height on to advance_txs
2019-05-18 00:03:23 -04:00
Lex Berezhny
cfb051396a
sql __in uses proper escaping instead of putting values directly in SQL
2019-05-18 00:03:23 -04:00
Lex Berezhny
bb1f42057e
v0.37.1
2019-05-17 23:01:47 -04:00
Lex Berezhny
695f6658a0
v0.37.1rc2
2019-05-17 21:43:37 -04:00
Jack Robison
eca677a720
Merge pull request #2148 from lbryio/lru-cache-concurrent
...
Fix resolve internals caching and persisting errors
2019-05-17 19:26:22 -04:00
Jack Robison
51f301785f
fix test, add lru_cache_concurrent decorator
2019-05-17 18:57:07 -04:00
Jack Robison
41a6e288aa
add test_resolve_lru_cache_doesnt_persist_errors
2019-05-17 18:56:28 -04:00
Jack Robison
97d8d0ef4c
Merge pull request #2133 from lbryio/more-wallets
...
Add missing wallet server
2019-05-17 15:50:10 -04:00
Niko Storni
5baeb5f538
fix examples
2019-05-17 15:19:11 -04:00
Niko Storni
cc49c8407c
add missing wallet server
...
switch to .com domain
2019-05-17 15:19:11 -04:00
Jack Robison
3f37963f7f
Merge pull request #2139 from lbryio/android-platform-name
...
fix system name on android
2019-05-17 14:39:20 -04:00
Jack Robison
12eb83f773
fix system name on android
2019-05-17 14:00:25 -04:00
Jack Robison
ca1d135ba4
Merge pull request #2138 from lbryio/fix-file-save-doc
...
fix save_file doc
2019-05-17 13:44:22 -04:00
Jack Robison
107e57e3ff
fix docs
2019-05-17 13:11:04 -04:00
Jack Robison
928689a10d
Merge pull request #2130 from lbryio/fix-datastore
...
Fix updating refreshed announcements in the datastore
2019-05-17 12:58:11 -04:00
Jack Robison
6ecc22f2c7
fix refreshing peers in the datastore
2019-05-17 12:22:47 -04:00
Lex Berezhny
079c81f298
v0.37.1rc1
2019-05-17 08:59:10 -04:00
Victor Shyba
8afe178d62
remove supports from resolve
2019-05-17 08:55:39 -04:00
Jack Robison
8777dcee7c
v0.37.0
2019-05-13 23:39:22 -04:00
Jack Robison
1cca4a91dd
Merge pull request #2128 from lbryio/add-streaming-server-settings
...
add `streaming_server` and `streaming_get` settings to configure the interface/port of the media server and if it supports the `/get` endpoint
2019-05-13 22:51:53 -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
Jack Robison
46ee65c8f2
Merge pull request #2127 from lbryio/add-streaming-url
...
add `streaming_url` field to `File` api response type
2019-05-13 21:05:52 -04:00
Jack Robison
fd19daad9e
add streaming_url to file api response type
2019-05-13 19:05:26 -04:00
Jack Robison
26d183cbab
Merge pull request #2125 from lbryio/dht_wip
...
Remove search junctions, make search retry, some refactoring
2019-05-13 18:02:56 -04:00
Victor Shyba
71a4be02dd
use loop to create task
2019-05-13 15:57:03 -03:00
Victor Shyba
124fdb7d31
fixes from review
2019-05-13 14:57:58 -03: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
b91d2190f4
disable infinite peer search, cleanup logging, tune scores to slow connections
2019-05-13 14:24:13 -03:00
Victor Shyba
d024433d1b
simplify accumulate task
2019-05-13 13:34: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
hackrush
397ebe8428
Added DS_Store to .gitignore
2019-05-13 09:54:19 -04:00
Victor Shyba
fb457c820a
reorganizing iterative find code
2019-05-13 04:34:39 -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
6f06026511
announcer goes idle if no peers in routing table
2019-05-12 01:10:05 -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
309cfc840c
v0.37.0rc7
2019-05-10 15:34:38 -04:00
Jack Robison
68ee31b62a
Merge pull request #2123 from lbryio/stop-timed-out-downloads
...
Stop timed out downloads
2019-05-10 15:29:33 -04: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
7d2f592bb5
Merge pull request #2107 from lbryio/fix-update-file-we-dont-have
...
fix stream_update failing on metadata only updates for files we don't have
2019-05-10 12:28:53 -04:00
Jack Robison
1a182bc9bd
bytes/str
2019-05-10 11:50:20 -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
6c0c0ee322
added logging to publish command
2019-05-10 11:43:34 -04:00
Jack Robison
1e54271d8a
Merge pull request #2105 from lbryio/fix-store-content-fee
...
fix store content fee
2019-05-09 18:47:30 -04:00
Jack Robison
54b9ed6cb2
fix store content fee
2019-05-09 18:14:54 -04:00
Lex Berezhny
2626a28e6d
0.5.3
2019-05-09 18:10:27 -04:00
Lex Berezhny
fb2d7cbe28
pylint
2019-05-09 18:05:17 -04:00
Lex Berezhny
874b3faf8c
use a cache when loading TXs in db.get_txos()
2019-05-09 18:05:17 -04:00
Lex Berezhny
558a02d187
correctly format lat/long and fee amounts in JSON RPC response
2019-05-09 16:19:49 -04:00
Jack Robison
3567b331c0
v0.37.0rc6
2019-05-09 11:52:34 -04:00
Jack Robison
9e4cf3c995
Merge pull request #2048 from lbryio/timeout_settings
...
Adjust default max_connections_per_download and peer_connect_timeout settings
2019-05-09 11:14:59 -04:00
Thomas Zarebczan
db1d547b19
adjust the default max_connections_per_download and peer_connect_timeout
2019-05-09 10:38:32 -04:00
Jack Robison
c31efd780b
docs
2019-05-09 10:32:07 -04:00
Jack Robison
7cdb7987e3
Merge pull request #2102 from lbryio/shutdown_fast
...
Set a shutdown timeout for TCPSite to avoid hanging on exit
2019-05-09 10:24:13 -04:00
Victor Shyba
ec07037e88
set shutdown_timeout on TCPSite
2019-05-09 01:01:07 -03: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
c5ae59bff7
Merge pull request #2100 from lbryio/junction_fixes
...
DHT junction fixes for cases that can lock up
2019-05-08 23:52:54 -04:00
Victor Shyba
efbf2f49a9
fix generator junction
2019-05-08 23:02:38 -03:00
Victor Shyba
77c69f661d
add locking cases scenarios
2019-05-08 23:02:38 -03:00
Victor Shyba
2e09d2adfa
close search on transport close
2019-05-08 23:02:38 -03:00
Jack Robison
8620a0e424
Merge pull request #2095 from lbryio/add-content-fee-and-saved-file-to-db
...
add saved_file and content_fee columns to file table
2019-05-08 20:37:56 -04:00
Jack Robison
e2c123456b
write decrypted blob data from run_in_executor
2019-05-08 16:07:32 -04:00
Jack Robison
c9be79f062
prevent re-migrating 10 to 11
2019-05-08 15:13:07 -04:00
Jack Robison
a2a1ef34ab
fix tests
2019-05-08 14:55:09 -04:00
Jack Robison
761a2b235c
set written_bytes, download_path, file_name, and download_directory to None if the file doesn't exist
2019-05-08 14:11:44 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available
2019-05-08 14:11:39 -04:00
Jack Robison
a480b2d25f
fix race when closing blob client protocol after getting a response
2019-05-08 12:21:11 -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
84381ff76c
Merge pull request #2093 from lbryio/fix_announce_on_storage
...
Refactor announcer + fixups for last db migrator code
2019-05-07 10:46:12 -04:00
Victor Shyba
007dd43861
re-raise cancelled errors
2019-05-07 11:10:49 -03:00
Victor Shyba
1bc4e4b702
typo on logging, announcements logging is info, not warning
2019-05-07 11:10:49 -03:00
Victor Shyba
b91f27219d
use fetchall as there is an update while iterating
2019-05-07 11:10:49 -03:00
Victor Shyba
dc4560cc9a
refactor announcer
2019-05-07 11:10:49 -03:00
Victor Shyba
84b471d486
limit batch size on announcer test so it covers batching logic
2019-05-07 11:10:49 -03:00
Victor Shyba
c6a3c05a0c
add missing migrator line
2019-05-07 11:10:49 -03:00
Jack Robison
dd665a758d
Merge pull request #2065 from lbryio/streaming-bug-fixes
...
Streaming bug fixes
2019-05-07 10:10:39 -04:00
Jack Robison
32dc1297ec
fix infinite loop
2019-05-06 18:46:26 -04:00
Jack Robison
bef244ba77
dont make duplicate files
2019-05-06 18:46:26 -04:00
Jack Robison
3c231d6215
handle get with file_name/download_directory/save_file arg for a stream that is already running
2019-05-06 18:46:26 -04:00
Jack Robison
a212cf6ba4
set content_fee attribute
2019-05-06 18:46:26 -04:00
Jack Robison
bc060f1378
pay fee after downloading the sd blob/adding to the db
2019-05-06 18:46:26 -04:00
Jack Robison
22c701fd50
fix completed field for an item in file list
2019-05-06 18:46:26 -04:00
Jack Robison
4f0e8fce6e
add optional download_directory argument to get
2019-05-06 18:46:26 -04:00
Jack Robison
f642cfe9dd
fix resuming save tasks on startup
2019-05-06 18:46:26 -04:00
Jack Robison
24e073680b
add connection id workaround
2019-05-06 18:46:26 -04:00
Jack Robison
b2f63a1545
fix tests
2019-05-06 18:46:26 -04:00
Jack Robison
f506b3e6d4
tests
2019-05-06 18:46:26 -04:00
Jack Robison
f7412514b3
fix partial content 0 padding
2019-05-06 18:46:26 -04:00
Jack Robison
bd6a609b30
fix logging
2019-05-06 18:46:26 -04:00
Jack Robison
4e32b69d1d
don't set running streams as stopped on startup
2019-05-06 18:46:26 -04:00
Jack Robison
1116c7f29e
logging
2019-05-06 18:46:26 -04:00
Jack Robison
d80c671cf2
look victor
2019-05-06 18:46:26 -04:00
Jack Robison
14b12cbea2
block /stream and /get requests on the stream manager starting
2019-05-06 18:46:26 -04:00
Jack Robison
1f7feafb67
force close open streaming requests and api calls on shutdown
2019-05-06 18:46:26 -04:00
Jack Robison
cbe689ea7f
logging
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
Jack Robison
b134e0c9c9
fix blob_get
2019-05-06 18:46:26 -04:00
Jack Robison
f8c0e80cfc
add __slots__ to BlobInfo, StreamDescriptor, and KademliaPeer
2019-05-06 18:46:26 -04:00
Jack Robison
1f266ebdad
add logging for streams we already have
2019-05-06 18:46:26 -04:00
Jack Robison
b09e1f8825
fix written_bytes never being 0
2019-05-06 18:46:26 -04:00
Jack Robison
c496278a5b
Merge pull request #2092 from lbryio/fix_announce_on_storage
...
Set should_announce=1 to head and descriptor blobs when saving a stream to database
2019-05-06 18:45:36 -04:00
Victor Shyba
cacc65d45e
fix edge case from test for single blob stream
2019-05-06 18:18:12 -03:00
Victor Shyba
2247b354b3
integration test for announcing both on publish and download
2019-05-06 17:27:12 -03:00
Victor Shyba
43111f0497
bump db revision
2019-05-06 17:19:40 -03:00
Victor Shyba
6c142b4477
add migrator for previous bugs
2019-05-06 17:12:04 -03:00
Victor Shyba
e8683a24bd
fix should_announce being set on stream creation
2019-05-06 16:49:52 -03:00
Victor Shyba
a4d17d1705
re-enable tests for announcing on stream creation
2019-05-06 16:49:03 -03:00
Baltazar Gomez
a030e13548
fix incorrect media-type of .cbr archives
2019-05-05 20:57:36 -04:00
Jack Robison
32b8601c38
Merge pull request #2083 from lbryio/fix_get_params
...
make save_file a parameter instead of a flag so it obeys conf
2019-05-05 19:44:29 -04:00
Victor Shyba
f5bd28bfdb
make save_file a parameter instead of a flag so it obeys conf
2019-05-05 19:46:42 -03:00
hackrush
a54a11dca0
Making tests work on OS X
2019-05-05 16:16:00 -04:00
Lex Berezhny
6cbbe23c7c
account_list defaults to 0 confirmations for balance
2019-05-04 18:08:33 -04: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
Jack Robison
d61ddbb950
Merge pull request #2076 from lbryio/download_improv
...
make ttfb configurable, fix race condition on writers, ban on time scales, remove idle code for getting unstuck on long downloads, fix foreign key error and improve downloader loop checks
2019-05-02 17:18:16 -04:00
Victor Shyba
cf7bb6a391
fix tests and stream being deleted on data timeout
2019-05-02 16:41:48 -03:00
Victor Shyba
68d7328918
always close the write handle
2019-05-02 12:20:49 -03:00
Victor Shyba
ff2985cc80
close protocol if transport reuse brings responses before requests
2019-05-02 12:13:33 -03:00
Victor Shyba
ac69fcbc5f
fix possible division by zero
2019-05-02 11:52:09 -03:00
Victor Shyba
609cf42868
cleanup downloader code
2019-05-01 18:04:45 -03:00
Victor Shyba
e43b29fcd1
if the current writer is closed, its fine to open a new one
2019-05-01 15:09:11 -03:00
Victor Shyba
6594b7c50c
test concurrency through races on getting a writer
2019-05-01 15:08:47 -03:00
Victor Shyba
971f2a1cef
log download speed only if downloading full streams
2019-05-01 14:31:11 -03:00
Victor Shyba
fc88261cc6
add head_blob_only to ttfb
2019-05-01 13:59:45 -03:00
Victor Shyba
895b3992c9
set type for stall download timeout
2019-05-01 13:26:51 -03:00
Victor Shyba
41951d8ec2
improve ttfb script confs
2019-05-01 13:17:13 -03:00
Victor Shyba
ae2121c5c4
fix tests and new test
2019-05-01 13:16:45 -03:00
Victor Shyba
771fe935f4
test get-delete-get respects existing files
2019-05-01 13:16:32 -03:00
Victor Shyba
60f7766cf7
small adjustment to new_peer_or_finished
2019-05-01 02:55:51 -03:00
Victor Shyba
63bd983012
pylint
2019-05-01 00:42:51 -03:00
Victor Shyba
7ffce1040c
fix foreign key error
2019-04-30 19:51:19 -03:00
Victor Shyba
ac6835fa60
dont get stuck
2019-04-30 19:51:02 -03:00
Victor Shyba
3cf5c536c0
improve ban timing and downloader loop friction
2019-04-30 17:56:29 -03:00
Lex Berezhny
85cc1a4763
v0.37.0rc5
2019-04-29 17:22:47 -04: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
Lex Berezhny
aeaa7ba986
switched from sha256 for unencrypted file hash to sha384
2019-04-29 16:01:59 -04:00
Lex Berezhny
e7beb6b1a7
fix for adding new account from private_key_string
2019-04-29 14:14:31 -04:00
Lex Berezhny
b8325c1f89
regenerated docs
2019-04-29 09:49:39 -04:00
Lex Berezhny
a36936b5ff
v0.37.0rc4
2019-04-29 00:27:53 -04:00
Victor Shyba
7cf245a0e9
encode timestamp and confirmations into file list
2019-04-29 00:26:14 -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
ccd2023d37
add timestamp field to resolve
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
6e483cba8d
tests: add confirm parameters, like the other calls
2019-04-28 22:53:43 -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
b350e74aca
fix stream update callback to update the main dict
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
bfc107fdb3
removed blockchain.block.get_block from wallet server API
2019-04-27 18:03:35 -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
72f0e1ca14
added timestamp field to transaction output results from JSON RPC calls
2019-04-27 17:10:49 -04:00
Lex Berezhny
9a1262d557
regenerate docs
2019-04-27 13:13:20 -04:00
Lex Berezhny
706a8e52dc
v0.37.0rc3
2019-04-27 13:12:27 -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
3cb8a63bf9
add channel_name parameter on claim search
2019-04-26 17:30:21 -04:00
Victor Shyba
bad99de5b3
add tests for channel_name, which should work for urls too
2019-04-26 17:30:21 -04:00
Lex Berezhny
3d1efbc9bb
v0.37.0rc2
2019-04-25 20:40:07 -04:00
Victor Shyba
7bdef3146b
fix ttfb
2019-04-25 20:38:33 -04:00
Victor Shyba
2145bfcabf
install uvloop on wallet server docker image and default to it
2019-04-25 20:07:10 -04:00
Lex Berezhny
b88832d0a9
regenerated docs/api.json
2019-04-24 23:03:30 -04:00
Lex Berezhny
db08882f20
v0.37.0rc1
2019-04-24 21:35:59 -04:00
Jack Robison
6f52d36b22
Merge pull request #2020 from lbryio/download-range-requests
...
Support HTTP 206 partial content requests for streaming downloads
2019-04-24 14:21:41 -04:00
Jack Robison
056a629e87
remove unused property
2019-04-24 13:39:06 -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
dab49e812f
set writer result or error before calling close_handle
2019-04-24 09:48:04 -04:00
Jack Robison
0f3f38d8a3
pylint
2019-04-24 09:48:04 -04:00
Jack Robison
7ba433c2e5
fix setting blob verified event and canceling blob writers
...
-raise OSError if multiple writers for one peer are opened for a blob
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
832537a5cf
set deleted downloads as streaming mode on startup
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
432fe444f8
fix cache_concurrent decorator
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
Victor Shyba
9ba6653475
raise proper error when sd is not available
2019-04-24 09:48:04 -04:00
Jack Robison
8107e97304
remove debugging /streams endpoint
2019-04-24 09:48:04 -04:00
Jack Robison
e2663f6d57
remove unnecessary except/raise
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
3a997277aa
reduce the amount of Blob objects created
2019-04-24 09:48:04 -04:00
Jack Robison
a7d94f4514
add file_save
2019-04-24 09:48:04 -04:00
Jack Robison
a0e3338177
only re-reflect streams if the sd blob is readable
2019-04-24 09:48:04 -04:00
Jack Robison
d5a353066c
missing await
2019-04-24 09:48:04 -04:00
Jack Robison
bc29fc4465
type
2019-04-24 09:48:04 -04:00
Jack Robison
987f175fcc
logging
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
873b58efc9
update example_daemon_settings.yml
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
1375153fda
fix publish updates not being saved to the db, don't query the db for the stream hash
2019-04-24 09:48:04 -04:00
Jack Robison
1a14157d37
fix unawaited task
2019-04-24 09:48:04 -04:00
Jack Robison
40b9fa38b0
update mock dht
2019-04-24 09:48:04 -04:00
Jack Robison
4d0e9e0428
relative http redirect from /get -> /stream
2019-04-24 09:48:04 -04:00
Jack Robison
3a53ef5690
catch TransportNotConnected
2019-04-24 09:48:04 -04:00
Jack Robison
33a68b5cef
handle dht is_closing
2019-04-24 09:48:04 -04:00
Jack Robison
63bf084a6a
cancel dht response future
2019-04-24 09:48:04 -04:00
Jack Robison
a882f2e8c5
merge conflicts
2019-04-24 09:48:04 -04:00
Jack Robison
119e0ec408
cancelled error
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
60c9ae64b4
endpoint to call get and redirect to the partial content stream
2019-04-24 09:48:04 -04:00
Jack Robison
2d314dce60
add save_file argument to get
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
f125468ebf
fix claim not being saved to the db
2019-04-24 09:48:04 -04:00
Jack Robison
f0e17cff9a
support streaming downloads / range requests
2019-04-24 09:48:04 -04:00
Jack Robison
93267efe0b
remove StreamAssembler, refactor ManagedStream and StreamDownloader (WIP)
2019-04-24 09:48:04 -04:00
Jack Robison
c663e5a3cf
add cache_concurrent decorator
2019-04-24 09:48:04 -04:00
Jack Robison
676f0015aa
refactor BlobFile into AbstractBlob, BlobFile, and BlobBuffer classes
2019-04-24 09:48:04 -04:00
Jack Robison
d44a79ada2
cache resolve_host, add async_timed_cache decorator
2019-04-24 09:48:04 -04:00
Jack Robison
d7ed8ffaa6
add streaming_only and save_blobs settings
2019-04-24 09:48:04 -04:00
Jack Robison
b230d8fbcb
rename BlobFileManager -> BlobManager
2019-04-24 09:48:04 -04:00
Lex Berezhny
30edd53f3e
0.5.2
2019-04-24 00:11:14 -04:00
Lex Berezhny
7d2428fd17
regenerate api.json
2019-04-23 23:49:39 -04:00
Lex Berezhny
4157045a41
block_show command example
2019-04-23 23:49:39 -04:00
Lex Berezhny
58987857cf
v0.36.0
2019-04-22 18:47:58 -04:00
Lex Berezhny
fa8858325c
add lbry:// to permanent_url response field
2019-04-22 18:41:11 -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
a782adea75
regenerate api doc
2019-04-22 14:06:42 -04:00
Lex Berezhny
e8991e6d52
improve account locking/unlocing CLI docs
2019-04-22 14:06:42 -04:00
Lex Berezhny
13bd81c2b6
v0.36.0rc4
2019-04-21 23:11:23 -04:00
Victor Shyba
21241b98a4
workaround for having new encoder fields on resolve so app can use them
2019-04-21 22:51:48 -04:00
Lex Berezhny
bf467e06c5
added create stream image detection test
2019-04-21 22:12:02 -04:00
Lex Berezhny
886ed6415a
added examples which include all metadata passed to create stream and create channel
2019-04-21 21:34:13 -04:00
Lex Berezhny
97db241109
v0.36.0rc3
2019-04-21 20:20:53 -04:00
Lex Berezhny
216379918b
renamed txo sub_type to value_type in txo json encoder output
2019-04-21 17:40:40 -04:00
Lex Berezhny
fcab4eb9bd
make sure to use python3 when running set_build.py
2019-04-21 16:31:46 -04:00
Lex Berezhny
19f300cc45
added protobuf to get and file_list commands
2019-04-21 14:28:43 -04:00
Lex Berezhny
26fec098e4
fix stream unit tests
2019-04-21 14:28:43 -04:00
Lex Berezhny
7824de655e
updated stream manager to pull protobuf instead of hex from resolve response
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
9fae8f5153
added --include_protobuf to add hexlified protobuf to RPC responses
2019-04-21 14:28:43 -04:00
Lex Berezhny
f660691e78
v0.36.0rc2
2019-04-21 00:50:27 -04:00
Lex Berezhny
bf60683ba6
update to protobuf change where ClaimList defaults to collection list type
2019-04-21 00:45:51 -04:00
Lex Berezhny
68215699f7
fix chri45 test
2019-04-21 00:45:51 -04:00
Lex Berezhny
1644ffbf22
regenerated docs
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
61cadb5cbe
v0.36.0rc1
2019-04-20 02:34:27 -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
8bf2e41c95
--contact_email -> --email and --homepage_url -> --website_url
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
90bef98bc3
use TXORef.hash instead of TXORef.id when signing claim with channel
2019-04-20 02:33:41 -04:00
Lex Berezhny
35c43647aa
use TXORef.hash instead of TXORef.id when signing claim with channel
2019-04-20 02:33:41 -04:00
Lex Berezhny
449a583286
default to claimType == 1 when it is missing for old claim protobufs
2019-04-20 02:33:41 -04:00
Lex Berezhny
b1f813782a
regenerated protobuf python code
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
665dba62c7
simplify save from resolve, deduplicate items
2019-04-20 01:19:40 -04:00
Victor Shyba
76dea9e89b
batch save supports
2019-04-20 01:19:40 -04:00
Victor Shyba
ebc9ed01c5
make lru_cache a power of two, following py docs
2019-04-20 01:19:40 -04:00
Victor Shyba
55116763e9
cache transactions
2019-04-20 01:19:40 -04:00
Victor Shyba
e1a6b4e3d6
fix dict handling mistake
2019-04-20 01:19:40 -04:00
Victor Shyba
911ca8c37e
cache and share txs fetches while validating concurrently on batches
2019-04-20 01:19:40 -04:00
Lex Berezhny
fe446862c2
txo.hash added
2019-04-19 08:42:12 -04:00
jessop
7f5deaf6c8
adds api examples to docs
2019-04-16 14:18:23 -04:00
binaryflesh
6788e09ae9
PEP-257 docstrings
...
Signed-off-by: binaryflesh <logan.campos123@gmail.com >
2019-04-16 06:24:08 -04:00
Lex Berezhny
0200756218
put generated commands in groups
2019-04-12 14:24:16 -04:00
ポール ウェッブ
a63442f843
Fixes and updated gitignore
2019-04-12 11:53:37 -04:00
Oleg Silkin
74b3da79aa
Adds integration tests
2019-04-07 15:27:59 -04:00
Oleg Silkin
b6a4589da5
Adds comment group to lbrynet with commands list and create
2019-04-07 15:27:59 -04:00
Oleg Silkin
fbbb0a9931
Adds server URL to configuration settings
2019-04-07 15:27:59 -04:00
Oleg Silkin
a94d65d522
Adds utility functions for making batch jsonrpc requests to comment server
2019-04-07 15:27:59 -04:00
Oleg Silkin
fa2ead002e
Fixes incompatible attrs issue when running pip install -e .
2019-04-06 18:43:34 -04:00
Thomas Zarebczan
8dfee4867a
Update python3 > python, add mac instructions
2019-04-06 17:10:32 -04:00
Thomas Zarebczan
6614ab8e79
updated with new venv command
2019-04-06 17:10:32 -04:00
Thomas Zarebczan
d32c1dfbb3
update install for windowz
...
Didn't need to install any build tools
Also, venv commands are a bit different.
2019-04-06 17:10:32 -04:00
Lex Berezhny
9f42b958fa
run examples fix
2019-04-06 17:08:15 -04:00
Lex Berezhny
574a912f7d
run examples as part of ci
2019-04-06 17:08:15 -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
1871c94003
new examples
2019-04-06 17:08:15 -04:00
Lex Berezhny
93220c3874
daemon json rpc return type docs
2019-04-06 17:08:15 -04:00
Lex Berezhny
362ed3f1c8
remove unused import
2019-04-06 17:08:15 -04:00
Lex Berezhny
62a182b8bb
automated example generator
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
Lex Berezhny
55e83fe05c
regenerate api.json
2019-04-06 17:08:15 -04:00
Lex Berezhny
2f0c7d6a3f
added title to examples
2019-04-06 17:08:15 -04:00
Lex Berezhny
59e1df9efa
generate api examples
2019-04-06 17:08:15 -04:00
Lex Berezhny
f0c2d16749
changed account list to use is_default instead of is_default_account and improved blockchain deamon port settings
2019-04-06 15:27:58 -04:00
Victor Shyba
fd56dc68cd
fix depth on resolve, add tests
2019-04-05 09:40:26 -04:00
Victor Shyba
a0a810edc3
make permanent url name#claim_id on torba too
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
1fb719dd61
fix valid_at_height not being shown for name resolutions, which fixes tests
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
65f3d78084
fix invalid signatures for missing certificates
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
3acabec4bb
fixes from review
2019-04-03 00:51:05 -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
2e22473ce3
pylint and smaller fixes
2019-04-03 00:51:05 -04:00
Victor Shyba
0b0fd64642
further refactor resolve.py
2019-04-03 00:51:05 -04:00
Victor Shyba
ca17d8597d
move resolve from ledger to resolve.py
2019-04-03 00:51:05 -04:00
Victor Shyba
d16e2716c8
handle invalid data
2019-04-03 00:51:05 -04:00
Victor Shyba
89c80cedfd
test resolve for invalid data
2019-04-03 00:51:05 -04:00
Thomas Zarebczan
021e30ffde
fix: extension check
...
disregard the first period, otherwise the `filename.` test fails.
2019-04-01 22:56:40 -04:00
Thomas Zarebczan
eb2cd8fec1
stream type mapping
...
Mapping extensions to stream types. I went with document / model / binary for the ones we were missing. This can be adjusted later on if not correct, but at least we'll have the main ones. Added extensions for lbry, cbz, cbr also.
2019-04-01 22:56:40 -04:00
Thomas Zarebczan
6356818557
fix: time to first byte script
...
Fix with for metadata
2019-04-01 16:14:53 -04:00
YULIUS KURNIAWAN KRISTIANTO
8bf724a78b
Update CONTRIBUTING.md
2019-04-01 16:12:49 -04:00
YULIUS KURNIAWAN KRISTIANTO
65d0a924c1
Update README.md
2019-04-01 16:12:49 -04:00
Lex Berezhny
ef7bd00f22
round USD fees to nearest penny
2019-03-31 18:14:13 -04:00
Lex Berezhny
3c1fdb5114
v0.35.0
2019-03-29 21: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
668840921f
typo fix
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
4e6bca1389
support_abandon sends new --keep support to same address as the first support being abandoned
2019-03-29 21:14:20 -04:00
Lex Berezhny
c4b15920ff
dont show supports to foreign address if the inputs are also foreign
2019-03-29 21:14:20 -04:00
Lex Berezhny
2a55e583e7
added to docstring that a channel_id is a channel claim id
2019-03-29 21:14:20 -04:00
Lex Berezhny
2c4fde06c5
--new-signing-key -> --new_signing_key
2019-03-29 21:14:20 -04:00
Lex Berezhny
eca83d7f47
--clear-tags -> --clear_tags
2019-03-29 21:14:20 -04:00
Lex Berezhny
9b21bd1a6f
0.5.1
2019-03-29 21:11:13 -04:00
Lex Berezhny
169ef00b9e
+ txo.pubkey_hash property
2019-03-29 17:59:18 -04:00
Lex Berezhny
87e818ac39
v0.35.0rc2
2019-03-27 22:20:09 -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
cd266477fb
stop regenerating v1 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
Thomas Zarebczan
148481a5ca
doh
2019-03-27 21:54:19 -04:00
Thomas Zarebczan
93faa276a5
update BIP32
2019-03-27 21:54:19 -04:00
Victor Shyba
53e67a6e81
fixes from rebase
2019-03-27 10:31:37 -04:00
Victor Shyba
3ad6808d87
remove unused claim_id_hash
2019-03-27 10:31:37 -04:00
Victor Shyba
071ab32ab7
fix hash references
2019-03-27 10:31:37 -04:00
Victor Shyba
ab87588250
use torba parsing for addresses too, erase old code
2019-03-27 10:31:37 -04:00
Victor Shyba
22db29ee1d
use torba tx parsing on wallet server
2019-03-27 10:31:37 -04:00
Lex Berezhny
66bf6c61f0
v0.35.0rc1
2019-03-25 23:57:59 -04:00
Lex Berezhny
9abf40d21f
stream_type fix
2019-03-25 23:45:10 -04:00
Lex Berezhny
ea4444edbe
fix internal transaction api test
2019-03-25 22:54:08 -04:00
Lex Berezhny
51bb8fd283
pylint
2019-03-25 22:54:08 -04:00
Lex Berezhny
183e3ac1c7
claim search
2019-03-25 22:54:08 -04:00
Lex Berezhny
8087b457c6
reorganized commands and finished support_abandon with --keep
2019-03-25 22:54:08 -04:00
Lex Berezhny
fedb7c23d0
bring back blocks_behind in wallet status
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
cc5852a9b9
update pyyaml due to security alert
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
5b9d41fd5c
regeneate script after modifying protobufs
2019-03-25 22:54:08 -04:00
Victor Shyba
b1720d1659
fix setting sd hash
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
c1fbb02bfe
dont validate inputs in json_response_encoder
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
Victor Shyba
f2236eb7a4
resolve: check if there is a cert before fetching a tx
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
664a2a324d
fix import error on stream unit test
2019-03-25 22:54:08 -04:00
Lex Berezhny
ea09aca175
pylint fixes and ClaimDict->Claim
2019-03-25 22:54:08 -04:00
Lex Berezhny
ca92fddecf
pylint
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
e74998209d
for victor
2019-03-25 22:54:08 -04:00
Lex Berezhny
2bea0f697a
pylint
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
22bacc907b
moved test_channel_signing.py from tests/unit/schema to tests/unit/wallet
2019-03-25 22:54:08 -04:00
Lex Berezhny
1e8ad900c7
renamed test_signing.py to test_channel_signing.py
2019-03-25 22:54:08 -04:00
Lex Berezhny
cd2b535afb
moved claim signing to TXO
2019-03-25 22:54:08 -04:00
Lex Berezhny
9dfe7bbcf6
imports updated after moving lbrynet.extras.wallet to lbrynet.wallet
2019-03-25 22:54:08 -04:00
Lex Berezhny
120618ffd5
updated imports due to lbrynet.extras.wallet -> lbrynet.wallet move
2019-03-25 22:54:08 -04:00
Lex Berezhny
e8abcbb06e
moved lbrynet.extras.wallet -> lbrynet.wallet
2019-03-25 22:54:08 -04:00
Lex Berezhny
1ec8f0b0b4
wip
2019-03-25 22:54:08 -04:00
Lex Berezhny
323694fb12
removed address.py
2019-03-25 22:54:08 -04:00
Lex Berezhny
d5e37acd8f
minor Fee changes
2019-03-25 22:54:08 -04:00
Lex Berezhny
129a886f2b
+ fee.amount
2019-03-25 22:54:08 -04:00
Lex Berezhny
cd15230a92
getting close to a nice model
2019-03-25 22:54:08 -04:00
Lex Berezhny
c1b7fdc68e
deleted bunch of stuff
2019-03-25 22:54:08 -04:00
Lex Berezhny
9fd67aaad6
removed legacy_schema_v1
2019-03-25 22:54:08 -04:00
Lex Berezhny
ce9dc1836e
moved schema/current_schema/claim.py into schema/claim.py
2019-03-25 22:54:08 -04:00
Lex Berezhny
2e557d3a36
converted everyting in schema/legacy/* into schema/jsonschema.py
2019-03-25 22:54:08 -04:00
Lex Berezhny
5df05cb37e
make schema.types a module
2019-03-25 22:54:08 -04:00
Lex Berezhny
326b62dc57
moved proto2/proto3 to types/v1 and types/v2 respectively
2019-03-25 22:54:08 -04:00
Lex Berezhny
25cc7ba284
updated schema to latest types: Claim uses oneof type for Channel/Stream
2019-03-25 22:54:08 -04:00
Victor Shyba
550f064302
baseschema
2019-03-25 22:54:08 -04:00
Victor Shyba
11086b93f1
migrate other fields
2019-03-25 22:54:08 -04:00
Victor Shyba
df5662136d
migrate cert + adapt to latest types repo
2019-03-25 22:54:08 -04:00
Victor Shyba
291d65070d
move common schema values to constants.py
2019-03-25 22:54:08 -04:00
Victor Shyba
9b64ee33dc
fix imports: schema.schema -> schema.legacy_schema_v1
2019-03-25 22:54:08 -04:00
Victor Shyba
5404d26f2f
schema.schema -> schema.legacy_schema_v1
2019-03-25 22:54:08 -04:00
Victor Shyba
26ade1f228
bump merged proto3
2019-03-25 22:54:08 -04:00
Victor Shyba
b49f1f1b54
fix imports
2019-03-25 22:54:08 -04:00
Victor Shyba
3bafa2ad22
regenerate protos
2019-03-25 22:54:08 -04:00
Victor Shyba
378ec44f3c
update make to generate proto2 and proto3
2019-03-25 22:54:08 -04:00
Victor Shyba
9d0d17b422
rename proto proto2
2019-03-25 22:54:08 -04:00
Lex Berezhny
aa93b94b61
fix unit tests
2019-03-25 22:27:52 -04:00
Lex Berezhny
d7dadc2f0e
+ __not_like db condition
2019-03-25 22:04:48 -04:00
Lex Berezhny
33ac9eea13
fix is_valid_address
2019-03-24 21:53:52 -04:00
Lex Berezhny
9ff41f748e
upgrades
2019-03-24 17:09:55 -04:00
Lex Berezhny
9589ac6d02
include tx in db get_txos()
2019-03-22 03:03:48 -04:00
Lex Berezhny
cfa74985e0
Revert "add hash property to txoref"
...
This reverts commit 38ae660a68 .
2019-03-20 14:17:14 -04:00
Victor Shyba
38ae660a68
add hash property to txoref
2019-03-20 14:02:14 -04:00
Lex Berezhny
ca4a07f766
ledger.is_valid_address added
2019-03-20 01:36:30 -04:00
Victor Shyba
f7c8145283
fix travis not to build wallet on PR
2019-03-19 12:22:00 -04:00
Lex Berezhny
9281bdb61b
lazy parse scripts
2019-03-18 23:25:00 -04:00
Lex Berezhny
80b65ae7e7
OP_0 can be an OP but also an empty string, figure this out contextually in parser
2019-03-18 18:13:49 -04:00
Lex Berezhny
0de17730ca
v0.34.0
2019-03-15 16:21:29 -04:00
Jack Robison
58743ba19b
Merge pull request #1987 from lbryio/more-dht-tests
...
improve dht unit tests
2019-03-15 15:38:51 -04:00
Jack Robison
f2fefbe287
add lbrynet.dht.blob_announcer unit tests
2019-03-15 14:29:02 -04:00
Jack Robison
60a24f0e6e
add lbrynet.dht.protocol.data_store unit tests
2019-03-15 12:44:55 -04:00
Jack Robison
664f91bfab
add lbrynet.dht.protocol.distance unit tests
2019-03-15 12:44:41 -04:00
Jack Robison
44f92a271f
move dht tests to reflect the real directory structure
2019-03-15 12:01:21 -04:00
Jack Robison
6565ca8558
improve lbrynet.dht.serialization unit tests
2019-03-14 18:45:56 -04:00
Jack Robison
3b0ba3e534
v0.34.0rc2
2019-03-14 16:03:39 -04:00
Jack Robison
8106eb1fa5
Merge pull request #1986 from lbryio/fix-timeout-no-peers
...
fix default download timeout not being set
2019-03-14 15:47:12 -04:00
Jack Robison
c9b2829227
fix/test fixed_peer_delay and added_fixed_peers
2019-03-14 15:08:26 -04:00
Jack Robison
4f2f8b16f3
fix pending downloads not being removed
2019-03-14 13:52:00 -04:00
Jack Robison
2ab2b846b1
fix default download timeout not being set
2019-03-14 13:07:11 -04:00
Jack Robison
2df7284c29
Merge pull request #1985 from lbryio/fix-ttfb-analytics
...
fix the time to the head blob including the time to the sd blob in analytics
2019-03-14 11:17:37 -04:00
Jack Robison
ab5d71ff61
fix the time to the head blob including the time to the sd blob in analytics
2019-03-13 16:24:23 -04:00
Lex Berezhny
99b289f135
v0.34.0rc1
2019-03-12 20:29:10 -04:00
Lex Berezhny
6db02e4362
show build type setting when building
2019-03-12 20:23:10 -04:00
Lex Berezhny
98d8b7d463
sync uses new apply APIs in torba
2019-03-12 20:22:41 -04:00
Lex Berezhny
96f1883fc4
check modified_on
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
Jack Robison
5d212a0f82
time to first bytes analytics
2019-03-12 20:22:01 -04:00
Lex Berezhny
61a254f580
0.4.0
2019-03-12 15:36:24 -04:00
Jack Robison
0cc602ca53
Merge pull request #1978 from lbryio/sigint
...
handle sigint
2019-03-12 15:06:08 -04:00
Lex Berezhny
4ba90a727b
make apply not abstract
2019-03-12 15:05:07 -04:00
Lex Berezhny
27558ffd89
implement abstract method for pylint
2019-03-12 15:05:07 -04:00
Lex Berezhny
c44de48481
+ account.apply and addressmanager.apply
2019-03-12 15:05:07 -04:00
Victor Shyba
f390ff144d
handle sigint
2019-03-12 13:43:12 -04:00
Jack Robison
b266cde511
Merge pull request #1980 from lbryio/batched-channel-name-initialization
...
use _batched_select to populate channel names when initializing files
2019-03-12 13:41:58 -04:00
Jack Robison
d0a1541d0a
fix test
2019-03-12 13:00:43 -04:00
Jack Robison
4cbde1b08f
use _batched_select to populate channel names when initializing files
2019-03-12 09:58:19 -04:00
Lex Berezhny
a021ddeffd
+ account.modified_on
2019-03-11 22:50:39 -04:00
Victor Shyba
cdd25e3b0f
pylint
2019-03-11 22:50:39 -04:00
Victor Shyba
1286417aec
apply scrypt as kdf, add tests
2019-03-11 22:50:39 -04:00
Lex Berezhny
fcac4f1488
fix encrypt
2019-03-11 22:50:39 -04:00
Lex Berezhny
f655fefe52
typing fix
2019-03-11 22:50:39 -04:00
Lex Berezhny
7979f0a683
typing fix
2019-03-11 22:50:39 -04:00
Lex Berezhny
d9df2ead84
pylint fixes
2019-03-11 22:50:39 -04:00
Lex Berezhny
b07ca20e0e
working sync
2019-03-11 22:50:39 -04:00
Lex Berezhny
c6740d8d70
v0.33.0
2019-03-08 20:00:45 -05:00
Lex Berezhny
46358142ed
v0.33.0rc1
2019-03-06 22:18:04 -05:00
Lex Berezhny
f0f651fc77
rely on torba cffi explicit version
2019-03-05 09:32:43 -05:00
Lex Berezhny
5d428138ed
try older cffi on windows build
2019-03-05 09:32:43 -05:00
Brannon King
8d9da61c7d
reverted temporary code for full local stack from
2019-03-05 09:32:43 -05:00
Brannon King
c326a9382c
changed to pull down the newer lbrycrd
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
Jack Robison
ad134fe8bb
v0.32.4
2019-03-01 17:24:55 -05:00
Jack Robison
2f3c616acd
v0.32.4rc1
2019-03-01 16:33:59 -05:00
Jack Robison
3caa2a5039
Merge pull request #1968 from lbryio/analytics
...
restore old download analytics
2019-03-01 16:08:18 -05:00
Jack Robison
e38a0f7a95
logging
2019-03-01 15:26:45 -05:00
Jack Robison
9de3f3ff09
don't block on sending download analytics events
2019-03-01 15:22:19 -05:00
Jack Robison
df8934d472
restore old download analytics and update tests
2019-03-01 14:50:06 -05:00
Jack Robison
be4a96c1b3
Merge pull request #1965 from lbryio/certifi
...
fix ssl errors, use certifi to make ssl contexts
2019-02-28 13:14:17 -05:00
Jack Robison
d97d978961
use certifi for all operating systems
2019-02-28 12:45:56 -05:00
Jack Robison
f52e44b56a
typing
2019-02-28 12:42:23 -05:00
Jack Robison
10d73fe480
use certifi
2019-02-28 12:40:11 -05:00
Jack Robison
4fd2d994f2
Merge pull request #1964 from lbryio/update-aiohttp
...
update aiohttp and pylint
2019-02-28 12:38:17 -05:00
Jack Robison
3a1cd8985c
Merge pull request #70 from lbryio/update-aiohttp
...
update aiohttp and astroid requirements
2019-02-28 12:17:08 -05:00
Jack Robison
d95903d219
update aiohttp and pylint
2019-02-28 12:04:07 -05:00
Jack Robison
a79be0513b
pylint
2019-02-28 12:00:44 -05:00
Jack Robison
569ac502ed
update aiohttp and astroid requirement
...
pylint 2.3.0 fixes aiohttp failure
2019-02-28 11:56:39 -05:00
Jack Robison
591e66bfbb
Merge pull request #1952 from lbryio/no_trap
...
stop trapping CancelledError
2019-02-27 11:06:02 -05:00
Victor Shyba
e047748961
log dropped api request instead of stack trace
2019-02-26 17:42:45 -05:00
Victor Shyba
9f071bbe36
pylint
2019-02-26 17:42:45 -05:00
Victor Shyba
2d8ebe25ed
refactor so we can stop trapping CancelledError everywhere
2019-02-26 17:42:45 -05:00
Victor Shyba
7a96e742f2
stop trapping CancelledError
2019-02-26 17:42:45 -05:00
Jack Robison
13c7026b20
Merge pull request #1961 from lbryio/pin-requirements
...
Pin requirements
2019-02-26 17:42:13 -05:00
Jack Robison
876a3c68dd
pin requirements
2019-02-26 17:20:16 -05:00
Lex Berezhny
b86d2e6e73
use older astroid for pylint
2019-02-26 15:46:47 -05:00
Lex Berezhny
f8d24d3402
older aiohttp but newer astroid
2019-02-26 15:43:20 -05:00
Lex Berezhny
589768864a
try latest mypy and aiohttp
2019-02-26 15:38:37 -05:00
Lex Berezhny
bd2512c27e
pin dependency versions
2019-02-26 15:33:14 -05:00
Jack Robison
573617d6b6
Merge pull request #1957 from lbryio/dht_memory
...
add LRU to KademliaPeer creation
2019-02-26 10:10:33 -05:00
Victor Shyba
e8c9abb944
add LRU to KademliaPeer creation
2019-02-26 09:42:32 -05:00
Jack Robison
8cee627dfa
Merge pull request #1959 from lbryio/pin-jsonschema
...
pin jsonschema version to 2.6.0
2019-02-26 09:41:20 -05:00
Jack Robison
ab4a5cee01
pin jsonschema version
2019-02-26 09:23:41 -05:00
Lex Berezhny
5bb0a07fae
pip with git does not appear to work in wine
2019-02-22 20:52:42 -05:00
Lex Berezhny
5ca594b9fd
upgrade pip in wine
2019-02-22 20:52:42 -05:00
Lex Berezhny
3910964df1
plyvel no longer installed unless platform is explicitely linux in torba/setup.py
2019-02-22 20:52:42 -05:00
Lex Berezhny
9e4c1120fa
0.3.2
2019-02-22 19:26:03 -05:00
Lex Berezhny
4eff0d2660
only install plyvel on linux
2019-02-22 19:25:27 -05:00
Jack Robison
faa1935203
Merge pull request #1946 from lbryio/file-type-fix
...
lowercase/stripped comparison for known types
2019-02-22 13:07:09 -05:00
Jack Robison
ba518e2a0e
update test
2019-02-22 11:12:31 -05:00
Thomas Zarebczan
2a82ff7cc5
Update mime_types.py
2019-02-22 11:11:10 -05:00
Jack Robison
673b958020
v0.32.3
2019-02-21 19:38:14 -05:00
Jack Robison
3f4ed0a896
Merge pull request #1951 from lbryio/fix_invalid_blob_decode_startup
...
Fix invalid blob decode startup
2019-02-21 19:36:02 -05:00
Victor Shyba
f49578cdbc
fix integration test
2019-02-21 21:14:51 -03:00
Victor Shyba
b834f29634
nullify length on blob delete
2019-02-21 21:00:28 -03:00
Victor Shyba
61132312dd
test nullify length on blob delete
2019-02-21 21:00:20 -03:00
Victor Shyba
fcdd9295b4
delete upon failing to decode JSON from sd blob
2019-02-21 20:53:21 -03:00
Victor Shyba
edb5083a5e
test that corrupted sd blobs gets delete if fails to decode
2019-02-21 20:53:04 -03:00
Victor Shyba
4e7d88311f
raise proper exception on undecode-able blobs
2019-02-21 20:42:51 -03:00
Victor Shyba
aa40337ded
test that invalid blobs raise proper exception
2019-02-21 20:42:36 -03:00
Jack Robison
690e2e7e0c
v0.32.3rc1
2019-02-21 18:37:19 -05:00
Jack Robison
0c67469321
Merge pull request #1950 from lbryio/fix-slow-ping-queue-shutdown
...
Fix slow ping queue shutdown
2019-02-21 18:12:22 -05:00
Jack Robison
fc64d8d1a8
fix slow ping queue shutdown
2019-02-21 17:44:02 -05:00
Jack Robison
7fe9513857
v0.32.2
2019-02-21 14:46:36 -05:00
Jack Robison
e76107c318
v0.32.2rc3
2019-02-21 14:28:13 -05:00
Jack Robison
3868dea819
don't join buckets if there is only one
2019-02-21 14:18:48 -05:00
Jack Robison
c52541197f
Merge pull request #1949 from lbryio/fix-join-buckets
...
fix cases where buckets could be unjoined after removing a peer
2019-02-21 14:08:34 -05:00
Jack Robison
03cd6b7200
fix cases where buckets could be unjoined after removing a peer
2019-02-21 13:53:35 -05:00
Jack Robison
6915a7a553
v0.32.2rc2
2019-02-21 13:16:32 -05:00
Jack Robison
7ad29b4bfb
Merge pull request #1948 from lbryio/duplicates-in-routing
...
Test and fix edge cases for adding peers to routing
2019-02-21 13:11:34 -05:00
Jack Robison
4294bf742d
simplify/fix ping queue
2019-02-21 13:00:23 -05:00
Jack Robison
57ad9f1c52
test_add_peer_after_handle_request
2019-02-21 11:34:25 -05:00
Jack Robison
e260de59f1
fix updating/setting contact triple
2019-02-21 10:50:11 -05:00
Jack Robison
154702e6dd
fix KBucket.add_peer
2019-02-21 10:50:11 -05:00
Jack Robison
d06d998c81
improve KBucket test_add_peer
2019-02-21 10:50:11 -05:00
Jack Robison
8aff860bfe
Merge pull request #1945 from lbryio/fix_delete_log
...
Fix delete log
2019-02-21 10:14:29 -05:00
Victor Shyba
d7ba90bbea
update ttfb script
2019-02-20 17:10:36 -03:00
Victor Shyba
59325ad8c1
fix delete log
2019-02-20 17:04:08 -03:00
Jack Robison
1f72e27272
improve time_to_first_byte.py
2019-02-20 17:04:08 -03:00
Jack Robison
aa41b8b558
Merge pull request #1944 from lbryio/fix-seed-node-startup
...
fix seed node startup
2019-02-20 15:03:47 -05:00
Jack Robison
2496e7ed44
improve time_to_first_byte.py
2019-02-20 14:43:40 -05:00
Jack Robison
ee12985135
dont ping outselves
2019-02-20 14:15:31 -05:00
Jack Robison
4c7f357441
v0.32.2rc1
2019-02-20 12:12:04 -05:00
Jack Robison
8944a36291
Merge pull request #1942 from lbryio/split_buckets_under_index
...
add split_buckets_under_index config setting for seed nodes
2019-02-20 12:00:46 -05:00
Jack Robison
cb5d428d12
add split_buckets_under_index config setting for seed nodes
2019-02-20 11:25:50 -05:00
Jack Robison
f175e8826c
Merge pull request #1939 from lbryio/missing_await
...
refactor file_name and full_path as it can be None, fix missing await, stop using blob_manager.storage on stream_manager and use your own
2019-02-20 10:44:35 -05:00
Victor Shyba
38ed212c01
refactor, dont call storage from blob_manager + missing await
2019-02-19 21:45:14 -03:00
Victor Shyba
d035c13883
file_path can be None, add helper to check if stream output file exists instead
2019-02-19 21:45:14 -03:00
Jack Robison
82ce2ccee6
update docs
2019-02-19 17:27:31 -05:00
Jack Robison
2cf9b2dd9e
Merge pull request #1938 from lbryio/fix-kbucket-indexing
...
fix KBucket.key_in_range
2019-02-19 15:03:16 -05:00
Jack Robison
fcbdaa336f
fix KBucket.key_in_range
...
The range_min and range_max of a KBucket where mistakenly bounding the node id of a peer to be added rather than the distance from the local node id to the peer node id
2019-02-19 13:57:11 -05:00
Lex Berezhny
3ae6137edb
v0.32.1
2019-02-18 22:56:35 -05: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
d2150cf142
fix balance check
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
Lex Berezhny
c2dc1f3c1d
v0.32.1rc1
2019-02-18 17:17:20 -05:00
Victor Shyba
b36c22e2f4
unban after 10 seconds, give up after 60
2019-02-18 17:16:10 -05:00
Victor Shyba
71b66ab337
test stall unban
2019-02-18 17:16:10 -05:00
Lex Berezhny
461c3c8408
downloading header from S3 correctly tracks progress
2019-02-18 17:15:40 -05:00
Thomas Zarebczan
03396c1993
remove invalid reflector_component test config
2019-02-18 17:10:42 -05:00
Jack Robison
fa7e9923f4
Merge pull request #1932 from lbryio/fix-1930
...
Fix blob_list for sd_hash including stream terminator
2019-02-18 14:41:00 -05:00
Jack Robison
3f7e466c97
return failure message for invalid blob hash in blob_delete
2019-02-18 12:18:56 -05:00
Jack Robison
4483380352
fix terminator blob hash (None) being included when running blob_list for an sd hash
2019-02-18 12:12:14 -05:00
Lex Berezhny
4a0a6b0243
v0.32.0
2019-02-16 20:17:41 -05:00
Thomas Zarebczan
a003e794ba
listen on internal port instead of upnp redirect
2019-02-16 18:55:58 -05:00
Lex Berezhny
051fabc180
v0.32.0rc3
2019-02-16 15:07:07 -05:00
Jack Robison
ca686041e7
Merge pull request #1925 from lbryio/fix-extension
...
fix application/x-ext mime types
2019-02-15 21:11:05 -05:00
Jack Robison
fc450eb164
add TestMimeTypes, pylint
2019-02-15 20:42:55 -05:00
Thomas Zarebczan
652d7cbd24
consider . extension
2019-02-15 20:40:55 -05:00
Thomas Zarebczan
43b372c0fe
fix extension - remove dot
...
The rest of our extensions don't have a dot. Also, strip off any characters and lowercase it to be safe.
2019-02-15 20:40:55 -05:00
Jack Robison
eaacf7e034
Merge pull request #1926 from lbryio/fix_unfair_ban
...
Fix p2p ignoring good peers
2019-02-15 20:39:49 -05:00
Victor Shyba
576da1bc30
do not keep trying when blob is being written
2019-02-15 21:20:06 -03:00
Victor Shyba
5c217f1544
resovle reflector IP before adding it
2019-02-15 21:20:06 -03:00
Jack Robison
cfbf0dbe0f
Merge pull request #1919 from lbryio/sync-blobs-on-startup
...
Sync blobs on startup
2019-02-15 18:40:33 -05:00
Jack Robison
fd081496c0
fix blocking on data being written for resumed streams
2019-02-15 17:35:46 -05:00
Jack Robison
32b4405a4c
logging
...
fix https://github.com/lbryio/lbry/issues/1881
2019-02-15 17:26:28 -05:00
Jack Robison
0d558bd552
fix default file list sorting
2019-02-15 17:26:24 -05:00
Jack Robison
ca835f3f80
fix 1883
2019-02-15 16:26:13 -05:00
Jack Robison
dbb6ba6241
recover streams with missing sd blobs, handle previous sd blob bugs
...
-test download and recover stream with old key sorting
2019-02-15 15:21:29 -05:00
Jack Robison
a228d20137
move store_stream and store_file to standalone functions
2019-02-15 15:21:07 -05:00
Jack Robison
f1b60e3ef2
fix get_blobs_for_stream
2019-02-15 15:21:07 -05:00
Jack Robison
39737c790f
sync blob files in database with those in directory on startup
2019-02-15 15:21:07 -05:00
Jack Robison
dba4a09d38
Merge pull request #1922 from lbryio/supress_invalid_token_error_to_debug
...
supress invalid token error to debug
2019-02-15 15:19:58 -05:00
Victor Shyba
918122e7cf
supress invalid token error to debug
2019-02-15 16:31:47 -03:00
Victor Shyba
a49f479a5f
move wait to where its needed on assembler
2019-02-15 10:26:05 -05:00
Victor Shyba
320aabbd70
delete duplicated method accident from rebase
2019-02-15 10:26:05 -05:00
Jack Robison
19fdcad5af
Merge pull request #1905 from lbryio/faster-file-delete
...
Faster file delete
2019-02-14 17:23:55 -05:00
Jack Robison
1734e08297
fix test
2019-02-14 16:34:37 -05:00
Jack Robison
9d89f9b834
use executemany instead of batched_operation
2019-02-14 15:57:24 -05:00
Jack Robison
56c41b2fea
fix integration test
...
-cancel running reflector uploads from publishes upon shutdown
-refactor blob.delete to be non-async
-delete blobs synchronously
2019-02-14 15:43:26 -05:00
Jack Robison
9c8593d88e
fix file_delete being slow
2019-02-14 12:33:48 -05:00
Jack Robison
85f41887fd
don't create BlobFile object when deleting if it doesn't already exist
2019-02-14 12:28:42 -05:00
Mark Michon
8eede6dfc7
Update LICENSE
...
Updating license to 2019
2019-02-14 08:47:26 -05:00
Victor Shyba
0d8c37a63b
resolve uri->url on ttfb
2019-02-14 00:30:24 -05:00
Lex Berezhny
d2ba3fdcfb
v0.32.0rc2
2019-02-14 00:18:21 -05:00
Victor Shyba
be5ab0f307
test get retry
2019-02-14 00:10:44 -05:00
Victor Shyba
04f70d1f31
stop when data timeout
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
dbc8cfe5ae
delete incomplete files on assembler stop
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
b6df2b9d28
missing None for optional field + pylint
2019-02-13 23:33:49 -05:00
Victor Shyba
5c1ab42277
resume should put the stream into wait as done usually on get calls
2019-02-13 23:33:49 -05:00
Victor Shyba
bbdc96e762
file_name as a property of managed stream, to reflect internal changes
2019-02-13 23:33:49 -05:00
Victor Shyba
fc0c949187
properly update file name on downloader/assembler
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
37bb765a2e
resume downloads if DHT disabled
2019-02-13 23:33:49 -05:00
Jack Robison
09726876ad
pylint
2019-02-13 22:50:43 -05:00
Jack Robison
45c6ad3f6d
remove commits after pragma
2019-02-13 22:50:43 -05:00
Jack Robison
97e4d51c29
tests and feedback
2019-02-13 22:50:43 -05:00
Jack Robison
f134bc264b
add run_nofk to AIOSQLite to run without foreign keys
2019-02-13 22:50:43 -05:00
hackrush
21ca4f60f7
Stop the daemon on calling lbrynet stop
2019-02-13 14:22:23 -05:00
Victor Shyba
119d498bce
apply a timeout on test wait so if it hangs it fails fast
2019-02-13 13:10:27 -05:00
Victor Shyba
8108aa39c1
verify all blobs got transferred
2019-02-13 13:10:27 -05:00
Victor Shyba
0a068011d8
fix chunked response parsing
2019-02-13 13:10:27 -05:00
Victor Shyba
1193d2cea4
adds tests for chunked responses
2019-02-13 13:10:27 -05:00
Lex Berezhny
76ecb5d50d
renamed resolve argument url to urls
2019-02-13 11:55:12 -05:00
Lex Berezhny
dbc1164562
v0.32.0rc1
2019-02-12 21:35:41 -05:00
Victor Shyba
57eb56b92d
timeout earlier on connect
2019-02-12 21:02:25 -05:00
Victor Shyba
6c68ba1d22
add timeout->retry tests]
2019-02-12 21:02:25 -05:00
Victor Shyba
e2170ec83d
fix download timeout types
2019-02-12 20:58:31 -05:00
Victor Shyba
266e777655
add integration test for different download errors
2019-02-12 20:58:31 -05:00
Lex Berezhny
68905d82b9
pass conf instead of data_dir to migrate_db, fixes #1898
2019-02-12 18:10:34 -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
8aa50aa14f
cleaned up resolve command
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
afdc44ca13
Merge pull request #1894 from lbryio/fix-max-key-fee
...
fix max_key_fee not being followed
2019-02-11 16:27:29 -05:00
Brannon King
cabc58feb4
fix decoding error in torba log
2019-02-11 16:11:01 -05:00
Jack Robison
6732b302bb
logging
2019-02-11 15:31:31 -05:00
Jack Robison
c9d54bb049
fix max_key_fee
2019-02-11 15:26:13 -05:00
Alex Grintsvayg
f65e70df2f
better resolve description
2019-02-11 12:34:57 -05:00
Lex Berezhny
364f95612a
0.3.0
2019-02-10 23:11:53 -05:00
Jack Robison
4541e754dd
Merge pull request #1892 from lbryio/batch-query-files
...
Improve startup time
2019-02-08 20:43:52 -05:00
Jack Robison
9f89c62e8a
download full streams in time_to_first_byte.py
2019-02-08 20:14:10 -05:00
Jack Robison
6386815a29
fix reflect_streams not being followed
2019-02-08 20:13:26 -05:00
Jack Robison
0c93090d2c
faster is_valid_hashcharacter
2019-02-08 19:57:26 -05:00
Jack Robison
45404b6ad4
faster is_valid_blobhash
2019-02-08 19:54:59 -05:00
Jack Robison
aeb2891baa
faster population of channel names
2019-02-08 19:51:13 -05:00
Jack Robison
8abfdc82b2
faster blob manager startup
2019-02-08 17:37:35 -05:00
Jack Robison
da9b4e317a
limit blobs to announce
2019-02-08 16:29:55 -05:00
Jack Robison
e414cc5c48
whitespace
2019-02-08 16:11:56 -05:00
Jack Robison
939edb2f18
logging
...
-call loop.set_debug when using --verbose
2019-02-08 16:06:38 -05:00
Jack Robison
868110a6f2
populate stream manager with a single batch query
2019-02-08 16:06:35 -05:00
Jack Robison
869a8b712b
Merge pull request #1889 from lbryio/download_stuc
...
Refactor peer scoring and maintain connections to fix stuck downloads, remove locking from ping queue
2019-02-08 15:10:13 -05:00
Victor Shyba
9ecec52412
check lock acquired to prevent races
2019-02-08 04:39:28 -03:00
Victor Shyba
8b25acff6e
do not wait blob to be written, log errors from races
2019-02-08 04:32:53 -03:00
Victor Shyba
e2b06677b5
defer db insert during downloads
2019-02-08 03:45:23 -03:00
Victor Shyba
af1619ebfb
disable race limiting for now
2019-02-08 03:32:38 -03:00
Victor Shyba
3352e0e4f4
score peers by speed
2019-02-08 03:08:08 -03:00
Victor Shyba
141d68a2cd
fix write race condition
2019-02-08 02:39:29 -03:00
Victor Shyba
c06ec6cd69
manage connections, reusing them when possible
2019-02-08 02:27:58 -03:00
Victor Shyba
1be5dce30e
stop racing during long streams
2019-02-08 01:28:03 -03:00
Victor Shyba
73da223ae1
conf: give up first contact earlier, but let the transfer go longer
2019-02-08 01:05:58 -03:00
Victor Shyba
2d7eb83518
change score calculation, wait for active peers too, simplify peer sorting/keeping
2019-02-08 01:04:38 -03:00
Victor Shyba
ad03f91d24
let cancelled errors flow
2019-02-08 01:03:13 -03:00
Victor Shyba
5586a226c2
bypass parser during download
2019-02-07 21:19:31 -03:00
Victor Shyba
a616582733
wait on connection tasks
2019-02-07 20:11:57 -03:00
Victor Shyba
43ac928f0b
remove dht locks
2019-02-07 20:11:57 -03:00
Lex Berezhny
a121110743
v0.31.0
2019-02-06 14:28:40 -05:00
Jack Robison
8bc5bb4e14
Merge pull request #1873 from lbryio/fix_incomplete_downloads_assembly
...
test incomplete streams, respect real length, delete on incomplete as…
2019-02-06 14:26:40 -05:00
Victor Shyba
3a15ff4bcd
test incomplete streams, respect real length, delete on incomplete assembly
2019-02-06 15:56:06 -03:00
Jack Robison
3508da4993
Merge pull request #1866 from lbryio/non-async-close-blob
...
refactor blob.close to be non-async, speed up deleting blobs and streams
2019-02-06 13:52:37 -05:00
Jack Robison
dfdc8eda00
improve test, fix stream_finished_event
2019-02-06 13:32:50 -05:00
Jack Robison
58f6cb71c6
test stream manager
2019-02-06 13:08:57 -05:00
Jack Robison
ae11c5bb4b
fix setting finished event
2019-02-06 12:18:24 -05:00
Jack Robison
f22b5da170
fix raised error for a peer address mismatch
2019-02-06 12:11:22 -05:00
Jack Robison
c1c6d5bc99
fix deleting partial downloads when stopped and previous streams when updating a publish
2019-02-06 11:43:05 -05:00
Jack Robison
0e972ec2ae
refactor BlobFile.close to be non async
2019-02-06 11:00:57 -05:00
Jack Robison
f8dc0f298e
Merge pull request #1868 from lbryio/fix_error_response
...
format error dict on get
2019-02-06 10:37:31 -05:00
Victor Shyba
8b5803c945
format error dict on get
2019-02-06 11:55:12 -03:00
Lex Berezhny
1314f75219
release script shows PRs that did not get included in changelog
2019-02-06 09:51:09 -05:00
Jack Robison
be90ec51e4
release-text
2019-02-06 09:00:59 -05:00
Jack Robison
e06c903731
Merge pull request #1867 from lbryio/stream-descriptor-validation
...
Add stream descriptor tests
2019-02-05 21:43:45 -05:00
Jack Robison
76c8447a56
add stream descriptor tests
2019-02-05 21:25:31 -05:00
Jack Robison
82b53e108c
Merge pull request #1865 from lbryio/fix-delete-previous-stream
...
Fix deleting incomplete downloads when they are stopped
2019-02-05 15:43:55 -05:00
Jack Robison
7c8ad0fe30
fix deleting incomplete downloads upon stop
...
fix deleting previous streams (not assembled/published files) for a claim being updated
2019-02-05 15:33:08 -05:00
Jack Robison
073ffdd049
proto and type args
2019-02-05 13:36:25 -05:00
Jack Robison
7fe211d134
fix resolve_host
2019-02-05 13:31:57 -05:00
Jack Robison
43d424978d
Merge pull request #1862 from lbryio/fix_announce
...
adds announce tests on stream creation/assemble, refactor calls to set announce
2019-02-05 12:58:56 -05:00
Victor Shyba
a4ced4dbd2
set verified after callback
2019-02-05 13:17:00 -03:00
Victor Shyba
c6b910a5f3
use time_getter on storage
2019-02-05 13:14:59 -03:00
Victor Shyba
63d1ec3c28
fixes from jack comments
2019-02-05 13:01:12 -03:00
Victor Shyba
c31e61586d
tests: fix value, compare to blobs len
2019-02-05 13:01:12 -03:00
Victor Shyba
7b8f42e6d0
remove dead set_should_announce code
2019-02-05 13:01:12 -03:00
Victor Shyba
2c275efa48
remove redundant calls to should announce
2019-02-05 13:01:12 -03:00
Victor Shyba
30846f932b
test that creating a stream marks sd and head to announce
2019-02-05 13:01:12 -03:00
Victor Shyba
6ead932ccb
announces naturally, removes redundant calls
2019-02-05 13:01:12 -03:00
Victor Shyba
e9b58577dd
tests: verify completed and to announce after assembling streams
2019-02-05 13:01:12 -03:00
Victor Shyba
f766dbefe0
announce and set completed after inserts
2019-02-05 13:01:12 -03:00
Jack Robison
f8a7d2ebe2
add release_texts to release.py
2019-02-05 09:58:42 -05:00
Jack Robison
af43b21ef6
Merge pull request #1860 from lbryio/fix-announce
...
Fix setting blob completed and next announce time
2019-02-04 18:39:10 -05:00
Jack Robison
0685bc5689
include torba in log file
2019-02-04 18:25:47 -05:00
Jack Robison
8cda3143f2
fix setting should_announce and blob status
2019-02-04 18:22:44 -05:00
Jack Robison
5af351a234
reflector logging
2019-02-04 17:33:25 -05:00
Jack Robison
b9934a7eb7
Merge pull request #1859 from lbryio/fix_invalid_data_client
...
handle and log if downloading from bad sendfile implementations
2019-02-04 17:19:57 -05:00
Victor Shyba
b82d2c3120
handle and log if downloading from bad sendfile implementations
2019-02-04 19:13:31 -03:00
Jack Robison
8e607fcc2a
Merge pull request #1858 from lbryio/fix-blob-sendfile
...
Fix blob sendfile
2019-02-04 17:12:50 -05:00
Jack Robison
2bce7cecfa
fix sendfile on windows
2019-02-04 16:48:48 -05:00
Jack Robison
e141cc9e22
Merge pull request #1857 from lbryio/handle-invalid-data-and-fix-cancel-blob-request
...
Handle invalid data and fix cancel blob request
2019-02-04 16:47:35 -05:00
Jack Robison
8883587cc7
logging
2019-02-04 16:19:27 -05:00
Jack Robison
c85991704d
catch invalid data error
2019-02-04 16:19:27 -05:00
Jack Robison
377442d9f0
fix request_blob cancellation
2019-02-04 16:19:24 -05:00
Jack Robison
ad30b7df6d
Merge pull request #1855 from lbryio/findvalue-always-include-close-contacts
...
Always return close peers from findValue
2019-02-04 15:30:17 -05:00
Jack Robison
f0b49fc153
always return close peers from findValue
2019-02-04 15:07:42 -05:00
Jack Robison
6033399f05
Merge pull request #1854 from lbryio/no-self-queries
...
fix trying downloading from oneself, prune querying peer from findValue results
2019-02-04 15:00:13 -05:00
Jack Robison
ae1162f5b0
don't try downloading from oneself
...
-don't return the querying peer in results for findValue
2019-02-04 14:50:53 -05:00
Jack Robison
7d7d4c35c3
Merge pull request #1852 from lbryio/close_protocol_reflector
...
refactor reflect to close protocol
2019-02-04 14:42:18 -05:00
Victor Shyba
ad71a9a89d
refactor reflect to close protocol
2019-02-04 13:34:18 -03:00
Jack Robison
13b3e4ba8e
v0.31.0rc5
2019-02-04 10:22:43 -05:00
Jack Robison
43799168ba
Merge pull request #1850 from lbryio/resume
...
Properly resume streams and fixup with statement
2019-02-04 10:18:31 -05:00
Victor Shyba
736a949cb5
resume streams on startup
2019-02-03 20:49:09 -03:00
Victor Shyba
11bb1cc7ee
use with clause to avoid leaking fds
2019-02-03 20:41:47 -03:00
Jack Robison
dbce49e567
Merge pull request #1849 from lbryio/fix-connection-status
...
Fix connection status
2019-02-03 17:00:14 -05:00
Jack Robison
dcd78bd86e
always delete file from downloads if download was not complete
2019-02-03 16:43:40 -05:00
Jack Robison
e5af041627
fix connection status message
2019-02-03 16:20:52 -05:00
Jack Robison
73f4e954e5
Merge pull request #1848 from lbryio/fix-announce-time
...
Fix setting blob announce time
2019-02-03 16:18:33 -05:00
Jack Robison
0a027cf2de
logging
2019-02-03 15:47:19 -05:00
Jack Robison
3f98b16800
fix blob announce time, use time.time instead of loop.time
2019-02-03 15:47:15 -05:00
Jack Robison
bbadece75d
remove unused packages from extension-pkg-whitelist in pylintrc
2019-02-03 15:02:43 -05:00
Jack Robison
8f5a8ab8ba
fix peer_ping
2019-02-02 02:02:19 -05:00
Jack Robison
91e581422c
v0.31.0rc4
2019-02-02 00:30:57 -05:00
Jack Robison
b54d7185a1
Merge pull request #1847 from lbryio/re-reflect
...
add re-reflect task to stream manager, add concurrent_reflector_uploads to config
2019-02-01 23:11:06 -05:00
Jack Robison
f2968aab22
add re-reflect task to stream manager, add concurrent_reflector_uploads to config
2019-02-01 22:59:41 -05:00
Jack Robison
4e27eaf8e6
Merge pull request #1846 from lbryio/create-directories-if-dont-exist
...
create data. download, and wallet directories if they don't exist on startup
2019-02-01 22:57:27 -05:00
Jack Robison
ccbe8aa0eb
create data. download, and wallet directories if they don't exist on startup
2019-02-01 22:45:28 -05:00
Jack Robison
478f79353a
fix bytes error
2019-02-01 22:20:11 -05:00
Jack Robison
c3b0151943
fix dht status error during startup
2019-02-01 22:12:07 -05:00
Jack Robison
ba818354af
Merge pull request #1844 from lbryio/reassemble-when-deleted-from-downloads
...
Reassemble when deleted from downloads
2019-02-01 21:59:36 -05:00
Jack Robison
e96b75a0d0
fix file/download paths
...
move download-from-uri logic into stream manager
2019-02-01 21:40:35 -05:00
Jack Robison
efe4afd09e
fix blob announce time
2019-02-01 21:28:59 -05:00
Jack Robison
c7cb6822cc
logging
2019-02-01 21:28:59 -05:00
Jack Robison
c75665d3f0
update file_list docs, add blobs_remaining to file list args and to file dict result
2019-02-01 21:28:59 -05:00
Jack Robison
744375b2c0
re-assemble file / resume downloads
2019-02-01 21:28:59 -05:00
Jack Robison
c1b4a012ec
Merge pull request #1845 from lbryio/stuck_peers_fixup
...
fix active peers not being removed after closing + parsing of data stream
2019-02-01 21:28:20 -05:00
Victor Shyba
40da5b6cb6
rework data parser
2019-02-01 20:09:14 -03:00
Victor Shyba
b36cf3e36c
remove closing peers from active connections
2019-02-01 20:09:14 -03:00
Jack Robison
4e3b529aec
Merge pull request #1840 from lbryio/close-transport-on-sendfile-fail
...
close blob server transport on sendfile failing
2019-02-01 15:13:07 -05:00
Jack Robison
0a08f445a4
close blob server transport on sendfile failing
2019-02-01 15:11:37 -05:00
Jack Robison
3eac99c509
Merge pull request #1841 from lbryio/general_fixes_downloader
...
General fixes downloader
2019-02-01 15:10:36 -05:00
Victor Shyba
f5bf1463af
fixes from review
2019-02-01 17:09:37 -03:00
Victor Shyba
ca4a55ef28
set verified event earlier and remove stop awaits
2019-02-01 16:05:14 -03:00
Victor Shyba
832be0758b
let cancel propagate
2019-02-01 16:05:14 -03:00
Victor Shyba
25050fdeeb
fixes for writers (check inside lock and dont hold verified bytes)
2019-02-01 16:05:14 -03:00
Jack Robison
df0635103e
Merge pull request #1839 from lbryio/faster-stream-manager-startup
...
faster stream manager startup
2019-02-01 14:00:19 -05:00
Jack Robison
dabd9cbe1e
faster stream manager startup
2019-02-01 13:53:03 -05:00
Jack Robison
42d7fbdbb3
Merge pull request #1838 from lbryio/fix-update-claim-missing-stream
...
Fix publishing an update where we don't have the previous stream
2019-02-01 13:52:34 -05:00
Jack Robison
2336015f9a
fix publish
...
fixes https://github.com/lbryio/lbry/issues/1826
- remove `sources` argument from `publish`
- only add/update files we have
- delete existing stream if updating with a new one
2019-02-01 13:35:18 -05:00
Jack Robison
5a28128b69
Merge pull request #1835 from lbryio/remove-peer-manager-lock
...
Remove peer manager lock
2019-01-31 21:04:21 -05:00
Jack Robison
31445c7797
remove lock from PeerManager
2019-01-31 20:57:48 -05:00
Jack Robison
16d0ff8376
Merge pull request #1833 from lbryio/fix-publish-update
...
Fix publish when making an update with an existing stream
2019-01-31 20:56:34 -05:00
Jack Robison
87f5d1bd4a
fix updating claim with existing stream
2019-01-31 20:49:19 -05:00
Jack Robison
be6e8744b0
Merge pull request #1834 from lbryio/remove-blob-request-lock
...
remove blob request asyncio.Lock
2019-01-31 20:46:01 -05:00
Jack Robison
2e9acd1baa
remove blob request asyncio.Lock
2019-01-31 20:19:50 -05:00
Jack Robison
607ccefe90
Merge pull request #1831 from lbryio/cleanup-downloader
...
Download and publish fixes
2019-01-31 18:17:26 -05:00
Jack Robison
df86937f4e
fix deleting a file mid download
2019-01-31 17:59:42 -05:00
Jack Robison
957d0290df
add torba logging
2019-01-31 16:53:54 -05:00
Jack Robison
40b90ce79b
fix hanging download
2019-01-31 16:53:27 -05:00
Jack Robison
aa7f0845cc
catch sendfile errors
2019-01-31 16:10:27 -05:00
Jack Robison
6e69d306de
tests
2019-01-31 15:39:23 -05:00
Jack Robison
d85d3dfaa4
increase default max_connections_per_download
2019-01-31 15:39:20 -05:00
Jack Robison
2b035009ef
handle both urls and ip addresses for fixed nodes and reflector servers
2019-01-31 15:39:20 -05:00
Jack Robison
f9fd62c214
add fixed peers immediately if the dht has no peers
2019-01-31 15:39:20 -05:00
Jack Robison
e8a1953815
add fixed peers immediately if dht is skipped
2019-01-31 15:39:20 -05:00
Jack Robison
34776e7eb9
fix test
2019-01-31 15:39:20 -05:00
Jack Robison
a4419f562f
pylint
2019-01-31 15:39:20 -05:00
Jack Robison
c0160ab4e9
update time_to_first_byte.py
2019-01-31 15:39:20 -05:00
Jack Robison
e60e5b3919
fix updating content claim for a file
...
-fix file name and download dir not being hex encoded during publish, add repair script
2019-01-31 15:39:20 -05:00
Jack Robison
3589cc9977
call update_reflected_stream upon reflector finishing
2019-01-31 15:39:20 -05:00
Jack Robison
2e978c00b2
prioritize peers to download from
2019-01-31 15:39:20 -05:00
Jack Robison
2335243de9
pylint
2019-01-31 15:39:20 -05:00
Jack Robison
6ad68eabd9
tests
2019-01-31 15:39:20 -05:00
Jack Robison
ca5c638124
tests
2019-01-31 15:39:20 -05:00
Jack Robison
262b9a624b
update file_reflect
2019-01-31 15:39:20 -05:00
Jack Robison
05915c540a
set fully reflected if the server indicates it had all of the stream
2019-01-31 15:39:20 -05:00
Jack Robison
6aef6a80b7
refactor downloader
...
split peer accumulation out, use Queues instead of locks
2019-01-31 15:39:20 -05:00
Jack Robison
16efe9ba95
add fixed_peer_delay setting
2019-01-31 15:39:20 -05:00
Jack Robison
fcda9500fe
add accumulate_peers to Node
...
simplifies collecting peers during a download by giving a queue of hashes to search for and a queue or peers as they are found
2019-01-31 15:39:20 -05:00
Alex Grin
64dec821b7
Update README.md
2019-01-31 14:24:44 -05:00
Jack Robison
d5f6e58aad
Update README.md
2019-01-31 14:15:38 -05:00
Jack Robison
087b65522e
Merge pull request #1830 from lbryio/dht_fixes
...
Dht fixes
2019-01-31 13:52:00 -05:00
Victor Shyba
5ee4b2173a
fix probes bugs, partial DHT refactor
2019-01-31 01:49:52 -03:00
Victor Shyba
3e1c3d1e4b
use node_id parameter instead of your own
2019-01-31 01:11:09 -03:00
Victor Shyba
21f2b2dcd7
cast timestamp to integer before querying
2019-01-31 01:09:57 -03:00
Jack Robison
ffc7fc0793
fix uncaught exception in BlobServerProtocol when client disconnects during a blob transfer
2019-01-30 12:03:05 -05:00
Jack Robison
15dbe5e54e
Merge pull request #1828 from lbryio/fix_chunked
...
fix chunked requests for server
2019-01-30 10:25:30 -05:00
Victor Shyba
2e633c0ee6
fix chunked requests for server
2019-01-30 12:11:05 -03:00
Jack Robison
933d58d49b
logging
2019-01-29 20:47:02 -05:00
Victor Shyba
45669dad33
simplify add_keys
2019-01-29 13:17:35 -05:00
Victor Shyba
19e326c140
simplify generate_keys
2019-01-29 13:17:35 -05:00
Victor Shyba
e1c0caa357
add executemany and translate batches to it
2019-01-29 13:17:35 -05:00
Jack Robison
8f7cf0b38f
verbose logging
2019-01-29 13:08:11 -05:00
Jack Robison
adf378b6e9
Merge pull request #1825 from lbryio/fix-hanging-download
...
Fix hanging download
2019-01-28 23:44:42 -05:00
Jack Robison
1a4f083e76
skip test
2019-01-28 22:50:06 -05:00
Jack Robison
7bde09dcf8
add download_blob_from_peer.py
2019-01-28 22:41:16 -05:00
Jack Robison
4630fd38aa
fix async generator junction tests
2019-01-28 22:39:36 -05:00
Jack Robison
418def56ac
fix log
2019-01-28 22:38:17 -05:00
Jack Robison
cefe3eb520
fix file_delete
2019-01-28 22:01:43 -05:00
Jack Robison
64dffa306f
logging, cleanup
2019-01-28 22:01:43 -05:00
Jack Robison
7d33b4f1f3
fix unawaited task
2019-01-28 22:01:43 -05:00
Jack Robison
f507d95198
always add fixed peers if configured after 2s
2019-01-28 22:01:43 -05:00
Jack Robison
2a7d80f8b4
logging
2019-01-28 22:01:43 -05:00
Jack Robison
305034ffb2
Merge pull request #1824 from lbryio/fix-ping-timeout
...
fix timeout error
2019-01-28 21:53:32 -05:00
Jack Robison
bfaebf0085
fix timeout error
2019-01-28 17:20:14 -05:00
Jack Robison
a94cf04e87
Merge pull request #1822 from lbryio/update-settings
...
Update settings
2019-01-28 17:17:56 -05:00
Jack Robison
71f9f8ae9c
fix race condition in reflector server
2019-01-28 16:51:11 -05:00
Jack Robison
330862e487
fix https://github.com/lbryio/lbry/issues/1297
2019-01-28 16:00:37 -05:00
Jack Robison
778d3826ab
clean up settings and use them
2019-01-28 15:51:27 -05:00
Jack Robison
4a11cf007f
remove unused settings and constants
2019-01-27 19:51:44 -05:00
Jack Robison
f6e7700c4c
Merge pull request #1818 from lbryio/fix-find-value
...
fix error encoding find value response
2019-01-26 17:26:23 -05:00
Jack Robison
573285a5bb
fix error encoding find value response
2019-01-26 17:04:11 -05:00
Victor Shyba
9d3e1af69b
[wallet server] stop executor after stopping server and wait for shutdown event
2019-01-25 17:02:09 -05:00
Victor Shyba
662f2bff4c
[wallet server] take control of executor
2019-01-25 11:32:08 -05:00
Victor Shyba
9a9d37cc50
[wallet server] improved/stabler signal handlers
2019-01-25 11:32:08 -05:00
Victor Shyba
3e4c9f25a8
signal handlers cant call async functions
2019-01-25 11:32:08 -05:00
Lex Berezhny
2cb9d5c636
orchstr service transfer command works without wallet availability
2019-01-16 13:28:12 -05:00
Lex Berezhny
a53b60fca4
use correct env variable for setting SPV hostname
2019-01-16 13:05:23 -05:00
Lex Berezhny
09b77972d9
convert localhost to 127.0.0.1 bypassing /etc/hosts which resolves to ::1 and fails on default docker setup
2019-01-15 15:24:08 -05:00
Lex Berezhny
7a8c2fc98b
removed hard coded ipv4 and replaced it with being able to provide hostname to --spv
2019-01-15 00:22:55 -05:00
Lex Berezhny
355989d6d1
test_sync.py fixes
2019-01-13 22:59:57 -05:00
Lex Berezhny
08814ad811
test_sync.py fixes
2019-01-13 22:52:49 -05:00
Lex Berezhny
6a00cf9942
mypy fixes
2019-01-13 22:44:46 -05:00
Lex Berezhny
e79202de3c
support for linking between nodes
2019-01-13 22:38:36 -05:00
Lex Berezhny
527e288568
explicitely specify ipv4
2019-01-13 14:50:24 -05:00
Lex Berezhny
ed32d17936
use guarded stop methods in orchstr8/node.py
2019-01-13 11:44:32 -05:00
Lex Berezhny
3a8e1cd4a5
initial push of workbench
2019-01-13 02:59:54 -05:00
Lex Berezhny
186de045b3
pylint
2019-01-10 17:17:12 -05:00
Lex Berezhny
feee534829
silence sql transaction errors
2019-01-10 17:03:09 -05:00
Jack Robison
f4bf260cdb
fix improperly handled CancelledError on shutdown
2019-01-09 12:15:14 -05:00
Lex Berezhny
442138ef36
added AdvanceTimeTestCase
2019-01-07 03:02:15 -05:00
Lex Berezhny
b9b411ec30
instal older aiohttp to make pylint happy
2019-01-06 16:05:52 -05:00
Lex Berezhny
d72a152195
run transaction interactions now return a result
2018-12-15 15:53:39 -05:00
Lex Berezhny
390226d2ef
pylint
2018-12-15 15:53:39 -05:00
Lex Berezhny
a16495d06f
await self.server.stop()
2018-12-15 15:53:39 -05:00
Lex Berezhny
7092f40701
improved shutdown for torba.server and related test setup code
2018-12-15 15:53:39 -05:00
Victor Shyba
458189366f
typo on session.py
2018-12-12 20:13:34 -03:00
Victor Shyba
9d772a45d5
wait the shutdown event instead of running forever
2018-12-12 20:13:08 -03:00
Victor Shyba
1c860e8578
set logging to info
2018-12-12 20:12:35 -03:00
Lex Berezhny
50fc027289
initial version of torba/server/cli.py
2018-12-12 12:54:38 -05:00
Victor Shyba
e310601266
keep connection alive for idling peers
2018-12-11 16:07:48 -05:00
Lex Berezhny
78fd434686
asyncio.sleep() -> sleep() and asyncio.Event() to Event() in order to reduce overall diff after dropping curio.py
2018-12-11 15:59:15 -05:00
Lex Berezhny
a6de3a9642
completely dropped curio.py
2018-12-11 15:59:15 -05:00
Lex Berezhny
5ed478ed11
dropped everything in curio.py except TaskGroup so far, TaskGroup is next
2018-12-11 15:59:15 -05:00
Lex Berezhny
b93f9d4c94
removing dependence on curio abstraction
2018-12-11 15:59:15 -05:00
Victor Shyba
f4ec20a2e2
tentatively enable test_reorg for travis
2018-12-10 13:48:23 -05:00
Victor Shyba
8bc07fad32
fast and furious
2018-12-07 08:47:30 -05:00
Lex Berezhny
612066165a
improved integration test for tx synchronization
2018-12-06 13:38:56 -05:00
Lex Berezhny
b273d58a80
0.2.5
2018-12-06 00:19:35 -05:00
Lex Berezhny
b2544139e6
stress test
2018-12-05 23:45:35 -05:00
Lex Berezhny
367ffdea1f
may be the sync fix
2018-12-05 23:42:16 -05:00
Lex Berezhny
4c854dd5a7
0.2.4
2018-12-05 11:50:11 -05:00
Lex Berezhny
e96b2f702d
0.2.3
2018-12-05 11:49:22 -05:00
Lex Berezhny
cff22a8951
pylint line too long
2018-12-05 11:48:19 -05:00
Lex Berezhny
1b7c5a1373
update_history serially handles unique addresses
2018-12-05 11:48:19 -05:00
Lex Berezhny
2bd60021aa
pylint
2018-12-05 11:48:19 -05:00
Lex Berezhny
2b8c06bda7
wip sync fixing
2018-12-05 11:48:19 -05:00
Lex Berezhny
c36b4626a9
added missing imports
2018-12-05 01:11:55 -05:00
Lex Berezhny
b5f245d9b6
made pylint and mypy happy
2018-12-05 01:11:55 -05:00
Lex Berezhny
899a6f0d4a
merged aiorpcx into torba.rpc
2018-12-05 01:11:55 -05:00
Lex Berezhny
ba5fc2a627
allow 3.6 for now
2018-11-30 10:40:03 -05:00
Lex Berezhny
9525bd6ca0
do not run 3.6 tests anymore
2018-11-29 16:39:59 -05:00
Lex Berezhny
6c4f6dd59a
do not install plyvel on windows
2018-11-29 16:28:38 -05:00
Jack Robison
997b573aa4
Merge pull request #42 from lbryio/catch-decrypt-errors
...
catch decryption errors and verify seed is valid upon decrypt
2018-11-26 14:53:33 -05:00
Jack Robison
ca67c56222
catch decryption errors and verify seed is valid upon decrypt
2018-11-26 14:40:59 -05:00
Victor Shyba
56fc003a96
log errors from wallet servers
2018-11-26 00:32:20 -05:00
Lex Berezhny
8cb811ca1d
force older astroid
2018-11-25 20:54:59 -05:00
Lex Berezhny
9e5246c619
drop old style classes in torba.server
2018-11-25 20:51:41 -05:00
Lex Berezhny
b2bcf39872
0.2.2
2018-11-25 11:08:49 -05:00
Lex Berezhny
0fc864c2d5
update ignore path for bitcoin_headers
2018-11-25 11:08:13 -05:00
Lex Berezhny
4b39aad07e
drop [test,server] extras from travis and tox.ini
2018-11-20 22:59:58 -05:00
Lex Berezhny
10c1f8e1cf
drop requirements: mock, requests. merge [server] into the main requirement section
2018-11-20 22:57:59 -05:00
Lex Berezhny
ed880be3e5
0.2.1
2018-11-19 19:27:07 -05:00
Lex Berezhny
e5714dc1fc
test sync integration test and other fixes
2018-11-19 18:14:57 -05:00
Lex Berezhny
1732167af1
use assertBalance in reconnect tests
2018-11-19 18:14:57 -05:00
Lex Berezhny
ee28bbc19b
pylint and mypy fixes
2018-11-19 18:14:57 -05:00
Lex Berezhny
345d4f8ab1
refactored tx sync
2018-11-19 18:14:57 -05:00
Jack Robison
e745b6c16e
fix wallet encryption
...
fixes https://github.com/lbryio/lbry/issues/1623
2018-11-19 17:15:09 -05:00
Victor Shyba
ee57af8e99
restore skips for Travis
2018-11-07 16:46:47 -05:00
Victor Shyba
700f73e8e9
make tox run it all together
2018-11-07 16:46:47 -05:00
Victor Shyba
fb6a7442a6
fix wallet server shutdown for tests
2018-11-07 16:46:47 -05:00
Lex Berezhny
b8a3b62f0f
moved import to make pylint happy, take 2
2018-11-07 15:10:27 -05:00
Lex Berezhny
78b84ba698
moved import to make pylint happy
2018-11-07 15:07:36 -05:00
Lex Berezhny
fdf479241a
added ledger.wait(tx) to support reliably waiting for TX to be in ledger
2018-11-07 14:42:17 -05:00
Lex Berezhny
8fcbf48bdf
attempt UTXO check 5 times when UTXOs are less than the fee
2018-11-06 19:27:48 -05:00
Lex Berezhny
268e599423
handle creating transactions where input is consumed by fees and there is no output by creating an additional input which will require some change output
2018-11-06 19:16:27 -05:00
Lex Berezhny
ae8fece9bb
python3.6 tests pass again
2018-11-04 01:42:27 -05:00
Lex Berezhny
c91c69540b
orchstr8 command for orchestration
2018-11-04 01:09:16 -05:00
Lex Berezhny
c497385bc7
setup.py fixes
2018-11-04 01:04:14 -05:00
Lex Berezhny
37468cad59
fix pylint
2018-11-04 01:01:03 -05:00
Lex Berezhny
5f70ae9923
reorganization
2018-11-04 01:55:50 -04:00
Lex Berezhny
c1b96a36a7
skip running 3.6 tests
2018-11-03 20:52:26 -04:00
Lex Berezhny
5cdda0f3a8
fix AsyncTestCase imports
2018-11-03 20:52:26 -04:00
Lex Berezhny
f0e1fc1a49
more pylint and mypy fixes
2018-11-03 20:52:26 -04:00
Lex Berezhny
77d8c68b13
pylint disable workbench check for now
2018-11-03 20:52:26 -04:00
Lex Berezhny
48d7bfd225
pylint and mypy fixes
2018-11-03 20:52:26 -04:00
Lex Berezhny
f60435c878
moving and refactoring electrumx into torba
2018-11-03 20:52:26 -04:00
Victor Shyba
41332f22c3
bump aiorpcx + adapt basenetwork
2018-11-03 11:00:23 -04:00
Lex Berezhny
a6ff18c872
pin aiorpcx to 0.8.2 until we can upgrade to latest
2018-10-26 16:20:07 -04:00
Lex Berezhny
b90378d739
0.1.6
2018-10-25 17:49:17 -04:00
Victor Shyba
a5a0089daa
fix subscribe
2018-10-25 17:47:45 -04:00
Lex Berezhny
82c71e4255
v0.1.5
2018-10-21 11:53:13 -04:00
Victor Shyba
dce5541c3a
revert insert many due to lbrynet
2018-10-20 16:48:02 -04:00
Victor Shyba
8bbda75865
save_transaction_io back to a transaction
2018-10-20 16:48:02 -04:00
Nikita Titov
e650562758
Use README as long description on PyPI
2018-10-20 10:17:02 -04:00
Lex Berezhny
d3d60071ae
v0.1.4
2018-10-19 11:01:35 -04:00
Victor Shyba
85503cf92b
retry with a delay increasing from 0 up to 10 seconds
2018-10-19 10:59:27 -04:00
Lex Berezhny
f67b872bd1
0.1.3
2018-10-18 18:21:39 -04:00
Victor Shyba
c497e9884a
pylint
2018-10-18 18:20:09 -04:00
Victor Shyba
3b021af1bd
adds a simple sqlite asyncio wrapper
2018-10-18 18:20:09 -04:00
Lex Berezhny
6fe648b9a9
v0.1.2
2018-10-17 21:21:21 -04:00
Lex Berezhny
03594dab6a
exception message correction
2018-10-17 21:20:21 -04:00
Victor Shyba
b830f4c3ca
fixes from code review
2018-10-17 19:43:26 -04:00
Victor Shyba
28b638f0aa
prefetch and remove manual update calls
2018-10-17 19:43:26 -04:00
Victor Shyba
4d0ecd1fb4
fix history hash
2018-10-17 19:43:26 -04:00
Victor Shyba
b62c5c57af
re-enable test_reconnect on tox
2018-10-17 14:12:08 -04:00
Victor Shyba
c7b647b1eb
fix test_reconnect
2018-10-17 14:12:08 -04:00
Victor Shyba
63563c412c
cancel pending requests and close connection on server switch
2018-10-17 14:12:08 -04:00
Victor Shyba
9fed3fce3e
unlock networking limits
2018-10-17 14:01:54 -04:00
Lex Berezhny
a8f8ff30a2
account list --show_seed fix
2018-10-17 10:57:24 -04:00
Lex Berezhny
d270e84810
v0.1.1.
2018-10-17 10:39:21 -04:00
Lex Berezhny
0b8c67f2f0
move db.commit()
2018-10-16 21:56:50 -04:00
Lex Berezhny
2b73d3d109
pylint fixes
2018-10-16 21:53:23 -04:00
Lex Berezhny
a7838b80c3
removed extraneous db.commit()
2018-10-16 21:49:49 -04:00
Lex Berezhny
f2f2a12ea1
added commit() after insert/update operations
2018-10-16 21:45:59 -04:00
Lex Berezhny
382ebb55b9
log formatting fix
2018-10-16 11:56:53 -04:00
Lex Berezhny
c6b32fa946
basedatabase.py test coverage
2018-10-15 17:15:05 -04:00
Lex Berezhny
ae0e1bfaef
support python 3.6
2018-10-15 17:15:05 -04:00
Lex Berezhny
aa73cb9bbf
elctrumx is needed by orchstr8 even in unittests
2018-10-15 17:15:05 -04:00
Lex Berezhny
d60b98236b
orchstr8 is needed by unittests now as well
2018-10-15 17:15:05 -04:00
Lex Berezhny
2cd1947ef5
fixing tests
2018-10-15 17:15:05 -04:00
Lex Berezhny
e10f1df321
pylint and mypy fixes
2018-10-15 17:15:05 -04:00
Lex Berezhny
2c5fd4aade
twisted -> asyncio
2018-10-15 17:15:05 -04:00
Victor Shyba
0ce4b9a7de
tentatively refactor prefetch
2018-10-11 17:48:55 -04:00
Victor Shyba
44b1178cfe
fix prefetch proofs for unconfirmed and separate prefetch logic
2018-10-11 17:48:55 -04:00
Victor Shyba
7bdcaa6737
sync: fetch proofs and txs in batches
2018-10-11 17:48:55 -04:00
Victor Shyba
cab8981716
avoid reconstructing the history during loop
2018-10-11 17:48:55 -04:00
Victor Shyba
36ad834d43
add reconnection test
2018-10-11 17:45:54 -04:00
Victor Shyba
b999abb9ea
improve request cancelling and timeouts during switches
2018-10-11 17:45:54 -04:00
Victor Shyba
55f5c7491c
fixes from review for readability
2018-10-11 17:41:26 -04:00
Victor Shyba
52b7bb0fce
add test for checking db records when generating keys above the batch threshold
2018-10-11 17:41:26 -04:00
Victor Shyba
b19fd8ed85
lower batch size so it works on restricted platforms
...
Windows and maybe some other platforms have a lower limit on sqlite variables.
2018-10-11 17:41:26 -04:00
Victor Shyba
6bdd9c9d78
optimize insert key loop
2018-10-11 17:41:26 -04:00
Victor Shyba
87c210952b
enable WAL
2018-10-11 17:41:26 -04:00
Victor Shyba
4b9c3e8409
generate keys in batches of 2000s
2018-10-11 17:41:26 -04:00
Lex Berezhny
c6f2d8b6fc
fix pylint
2018-10-10 21:39:36 -04:00
Lex Berezhny
b23481bd21
add height to TXRef
2018-10-10 21:29:29 -04:00
Lex Berezhny
64a626cbb5
v0.1.0
2018-10-09 23:59:57 -04:00
Lex Berezhny
d4f964ef8e
short circuit adding annotations when get_transaction does not return anything
2018-10-09 23:57:41 -04:00
Lex Berezhny
7f09405335
txi (txoid) index added
2018-10-09 23:39:00 -04:00
Lex Berezhny
e37da81dc6
added database indexes
2018-10-09 22:52:43 -04:00
Lex Berezhny
febadc5dd6
fix get_addresses where it was returned all addresses instead of for specific account
2018-10-09 20:36:58 -04:00
Lex Berezhny
4aea68ecd1
+ account.get_*_count() methods
2018-10-09 19:29:20 -04:00
Lex Berezhny
6a97f96745
fixed database unit test
2018-10-09 16:49:37 -04:00
Lex Berezhny
3ed03c267a
v0.0.9
2018-10-09 14:44:49 -04:00
Lex Berezhny
c60e17b341
fix LIMIT OFFSET syntax error
2018-10-09 14:44:26 -04:00
Lex Berezhny
689c578081
get_or_create_usable_address returns a random choice when returning an existing unused address
2018-10-09 13:13:46 -04:00
Lex Berezhny
2723a55766
start() should not return until ledger has finished starting, which means self.join_network() needs to be yielded on the first connection
2018-10-08 23:27:32 -04:00
Lex Berezhny
d02da2f3a5
fix test method name to make sure it gets run
2018-10-08 23:26:45 -04:00
Lex Berezhny
462fd8bad1
get_address test fixes
2018-10-08 23:26:11 -04:00
Lex Berezhny
75dd93436c
more get_address fixes
2018-10-08 22:49:50 -04:00
Lex Berezhny
eebfe2be08
get_address fix
2018-10-08 22:44:30 -04:00
Lex Berezhny
3a264c1eec
drop ledger.get_transaction() in favor of just using ledger.db.get_transaction() directly
2018-10-08 18:50:45 -04:00
Victor Shyba
9c4dfa7f84
attach subscriptions to on_connected and stop service before discarding the object
2018-10-08 17:11:50 -04:00
Lex Berezhny
d9c21ce37b
v0.0.8
2018-10-08 14:53:57 -04:00
Lex Berezhny
1d84440b74
select_txos needs a join on tx table
2018-10-08 10:53:53 -04:00
Lex Berezhny
9aa22e1071
sql: pop offset/limit/order_by when doing simple count(*) query
2018-10-08 10:37:52 -04:00
Lex Berezhny
9cea8d2725
db.get_utxos_count -> db.get_utxo_count
2018-10-07 20:14:27 -04:00
Lex Berezhny
944238d542
removed unused method and minor pylint fix
2018-10-07 14:59:27 -04:00
Lex Berezhny
95cbdcb131
refactored sql queries, added full pagination support: limit, offset and count
2018-10-07 14:53:44 -04:00
Lex Berezhny
38b1fb5fba
fix get_transaction unit test
2018-10-04 19:42:29 -04:00
Lex Berezhny
fe59ed0105
remove unused import
2018-10-04 19:33:14 -04:00
Lex Berezhny
356ab9666f
refactored get_transactions and get_txos
2018-10-04 19:27:39 -04:00
Lex Berezhny
0960762694
sql constraints support table.column dot delimited column names
2018-10-03 11:51:42 -04:00
Lex Berezhny
1f4a9cff26
ignore too-many-branches pylint issue
2018-10-03 09:41:52 -04:00
Lex Berezhny
a6f97dfbde
refactored queries
2018-10-03 09:41:52 -04:00
Lex Berezhny
04aa559037
simplified .gitignore
2018-10-02 09:53:23 -04:00
Lex Berezhny
a55feee960
0.0.5
2018-10-01 22:03:48 -04:00
Lex Berezhny
29c0e3f15f
fix for get_transaction
2018-09-25 23:28:06 -04:00
Victor Shyba
b0bc06ae00
improve reorgs
2018-09-25 23:07:32 -04:00
Lex Berezhny
cdbb34e976
pylint fix
2018-09-25 22:54:18 -04:00
Lex Berezhny
5c5b0ace53
mypy related fix
2018-09-25 22:46:22 -04:00
Lex Berezhny
a879c822c2
check if txi.txo_ref.txo is not None before using it
2018-09-25 22:39:20 -04:00
Lex Berezhny
841d49554c
fix unit tests
2018-09-25 18:21:42 -04:00
Lex Berezhny
0d22b8c23c
typing and pylint fixes
2018-09-25 18:14:28 -04:00
Lex Berezhny
c29b4c476d
+ tx.position, + tx.net_account_balance, + txo.is_my_account
2018-09-25 18:02:50 -04:00
Lex Berezhny
5977f42a7e
remove unused import
2018-09-24 23:20:14 -04:00
Lex Berezhny
58d2c04b9f
simplified and cleaned up typing for encryp / decrypt
2018-09-24 23:20:14 -04:00
Jack Robison
c45c792657
add account encryption tests, update aes tests
2018-09-24 23:20:14 -04:00
Jack Robison
c0e0b4b745
review feedback and pylint
2018-09-24 23:20:14 -04:00
Jack Robison
aa47f10602
add encrypted_on_disk to BaseAccount
...
-encrypt the seed and private key upon to_dict() if encrypted_on_disk is true
2018-09-24 23:20:14 -04:00
Jack Robison
9268b6ca13
fix double-double sha
2018-09-24 23:20:14 -04:00
Jack Robison
4832526477
fix aes_encrypt not prepending the iv
...
-allow random iv to be overridden
2018-09-24 23:20:14 -04:00
Lex Berezhny
53e0fe9a69
pylint fix
2018-09-21 22:26:07 -04:00
Lex Berezhny
8ed0791b26
improved db.get_transactions()
2018-09-21 22:18:30 -04:00
Victor Shyba
8a87195f55
ecdsa -> coincurve
2018-09-21 20:05:59 -04:00
Lex Berezhny
0b75bb4052
+ added get_transactions
2018-09-21 09:47:31 -04:00
Lex Berezhny
543f533a68
update bitcoin to 0.16.3 as 0.16.0 is no longer downloadable
2018-09-20 13:52:00 -04:00
Lex Berezhny
89f4ec12e9
pylint cleanup
2018-09-20 13:52:00 -04:00
Thomas Zarebczan
d76758bd1d
am I doing this right?
...
Copied from https://github.com/lbryio/lbry/commit/f1e36823025199461836733e2a1b2e22db35596e , looks like it could work, but didn't test locally.
2018-09-20 13:52:00 -04:00
Lex Berezhny
18629c93a2
defer.returnValue -> plain return per twisted support for Py3 plain return
2018-09-20 13:00:38 -04:00
Lex Berezhny
b3f3fdeb1d
explicit import of english words
2018-09-18 23:06:56 -04:00
Lex Berezhny
71d99046d1
dont perform pylint check in words directory
2018-09-17 22:59:24 -04:00
Lex Berezhny
eedc9bf9ed
store mnemonic words in python files instead of txt, this avoids packaging issues
2018-09-17 22:59:24 -04:00
Victor Shyba
94b920ab2a
fix reconnect
2018-09-17 14:34:23 -04:00
Victor Shyba
873437e6a9
check for None on height to allow for genesis
2018-08-31 10:46:03 -04:00
Lex Berezhny
57abad2181
removed unnecessary address subscribe call in integration tests
2018-08-30 15:06:10 -04:00
Lex Berezhny
91d95bd42e
have to explicitly subscribe accounts
2018-08-30 14:40:44 -04:00
Lex Berezhny
b102afd68a
- extraneous constants import
2018-08-30 12:46:51 -04:00
Lex Berezhny
9e55694512
+ get_detailed_accounts
2018-08-30 11:50:11 -04:00
Lex Berezhny
00cf8131ec
removed excessive white space around logo
2018-08-24 17:02:15 -04:00
Lex Berezhny
026bcd4d4d
pylint fix
2018-08-23 02:56:25 -04:00
Lex Berezhny
a27f89157e
fixed bug where txis were duplicated in the database
2018-08-23 02:53:14 -04:00
Lex Berezhny
9a2e9d68e7
+ PUSH_INTEGER
2018-08-20 22:04:22 -04:00
Lex Berezhny
c961dd609a
pylint fixes
2018-08-16 21:46:02 -04:00
Lex Berezhny
dabedc17d0
improvements to reorg support
2018-08-16 21:41:22 -04:00
Lex Berezhny
e7dcd9216b
fixing tests
2018-08-16 01:21:45 -04:00
Lex Berezhny
95a22831aa
unit test fixes
2018-08-16 01:11:03 -04:00
Lex Berezhny
ac2fe3476a
fixed unit tests in test_transaction.py
2018-08-16 01:03:18 -04:00
Lex Berezhny
df251def26
pylint and mypy fixes
2018-08-16 00:56:46 -04:00
Lex Berezhny
133a86cd89
blockchain reorg handling and overall header refactor
2018-08-16 00:43:38 -04:00
Lex Berezhny
1a5654d50b
Seed version
2018-08-15 17:26:09 -04:00
Lex Berezhny
5b28e77ab5
name conflict
2018-08-07 21:47:30 -04:00
Lex Berezhny
f8c1790558
pylint and added type info
2018-08-07 21:36:44 -04:00
Lex Berezhny
e2537e43b5
gave accounts reference to wallet so that they can save themselves after being modified
2018-08-07 21:31:29 -04:00
Lex Berezhny
d4107600a5
from_dict() now also handles from_seed()
2018-08-06 02:52:52 -04:00
Lex Berezhny
e996717b60
oops, basemanager shouldnt create default accounts, moved that into lbrynet manager
2018-08-06 00:26:46 -04:00
Lex Berezhny
75ddf209e2
create default account when missing and new new account.fund() to support transfer of funds between accounts
2018-08-06 00:15:19 -04:00
Lex Berezhny
f5515e5e77
general purpose constraints builder
2018-08-03 21:26:53 -04:00
Lex Berezhny
1eb375ba80
add tx.fee property back
2018-08-03 12:29:02 -04:00
Lex Berezhny
d3a171e638
+ closest_match step between branch_and_bound and random_draw coin selections, + Transaction.create() single method instead of .pay()/.liquidate() also its more powerful
2018-08-03 10:41:40 -04:00
Lex Berezhny
e154c83ffe
pylint and mypy fixes
2018-07-29 14:34:56 -04:00
Lex Berezhny
69ad8e384a
customizable address generator support
2018-07-29 13:13:40 -04:00
Lex Berezhny
cfeb7b249b
enable caching
2018-07-28 23:49:51 -04:00
Lex Berezhny
3a35951b46
travis yaml w/ anchors
2018-07-28 23:43:17 -04:00
Lex Berezhny
420ba43d5a
travis yaml parse error fix
2018-07-28 23:02:12 -04:00
Lex Berezhny
2a42bda0a0
.travis.yml
2018-07-28 22:49:16 -04:00
Lex Berezhny
6be95dceab
split unit tests and integration tests
2018-07-28 21:08:04 -04:00
Lex Berezhny
a20c060931
install pylint from git
2018-07-28 20:57:50 -04:00
Lex Berezhny
b0bd0b1fc0
+ reserving outpoints should no longer have race conditions
...
+ converted all comment type annotations to python 3 style syntax annotations
+ pylint & mypy
2018-07-28 20:52:54 -04:00
Lex Berezhny
746aef474a
hash.py dropping py2 backwards compat
2018-07-26 14:35:44 -04:00
Lex Berezhny
5a2a3727b2
+ Account.get_max_gap()
2018-07-25 23:29:41 -04:00
Lex Berezhny
40651322d0
add account id to account balance listing
2018-07-25 12:05:25 -04:00
Lex Berezhny
c2a9027c19
python 3.6 is also supported
2018-07-24 04:02:53 -04:00
Lex Berezhny
25046124c0
fix balance with confirmations and header event reporting
2018-07-22 22:52:21 -04:00
Lex Berezhny
2f83ebb3b5
tox fix
2018-07-21 16:12:25 -04:00
Lex Berezhny
a03069bf89
travis-ci sudo:true
2018-07-21 16:02:38 -04:00
Lex Berezhny
93555cad3c
ask travis to use xenial
2018-07-21 15:57:26 -04:00
Lex Berezhny
0a2d916931
py37
2018-07-21 15:06:20 -04:00
Lex Berezhny
a4519d3add
0.0.4
2018-07-21 14:43:47 -04:00
Lex Berezhny
67dc297c97
use floats() instead of Decimal() when we need to serialized to JSON (while providing satoshis for accuracy)
2018-07-21 14:39:53 -04:00
Lex Berezhny
7c39e55089
callLater breaks determinism
2018-07-17 00:09:02 -04:00
Lex Berezhny
3f17dd336b
0.0.3
2018-07-17 00:01:22 -04:00
Lex Berezhny
10fd654edc
improved account balance support
2018-07-16 23:58:29 -04:00
Victor Shyba
686eb7b1f0
fix a failure for channels where we catch the wrong error
2018-07-15 17:41:52 -03:00
Lex Berezhny
97532fb300
don't delete lock if it's not in locks dict and other fun things
2018-07-15 16:04:11 -04:00
Lex Berezhny
e36e4c6354
pubkey should stay as blob
2018-07-15 00:40:46 -04:00
Lex Berezhny
fcc7177a9a
unit tests for bcd_data_stream
2018-07-14 22:38:18 -04:00
Lex Berezhny
0f786a8c43
removed unused methods
2018-07-14 22:16:39 -04:00
Lex Berezhny
184d3a5910
switched from blob to text for most columns, added a new TXRef/TXORef referencing scheme
2018-07-14 21:34:07 -04:00
Lex Berezhny
9370b1d2fa
switching most columns from blob to text
2018-07-14 17:47:51 -04:00
Lex Berezhny
f46550262f
added SingleKey account support
2018-07-14 17:47:18 -04:00
Lex Berezhny
adec715010
+ ledger.get_transaction()
2018-07-12 12:14:04 -04:00
Lex Berezhny
1ce5da80d6
unit test fixes take 2
2018-07-11 22:49:54 -04:00
Lex Berezhny
0ffec82e35
unit test fixes
2018-07-11 22:47:44 -04:00
Lex Berezhny
32ba594e55
ledger API cleanup
2018-07-11 22:37:15 -04:00
Lex Berezhny
feac754925
reduce verbosity for integration test
2018-07-10 21:23:13 -04:00
Lex Berezhny
565b095a8d
have to keep using old electrumx until we upgrade everywhere
2018-07-10 21:17:07 -04:00
Lex Berezhny
5db792e99c
.travis.yml: electrumx master now contains the extensibility feature
2018-07-10 21:09:49 -04:00
Lex Berezhny
c9c3585e1e
test for Transaction.liquidate
2018-07-09 22:02:18 -04:00
Lex Berezhny
4a0d461446
use extensible branch of electrumx
2018-07-09 20:57:09 -04:00
Lex Berezhny
630a805c49
improved test coverage for bip32
2018-07-09 20:22:18 -04:00
Lex Berezhny
5eb276655d
+ Transaction.liquidate, balance/get_utxos support constraints
2018-07-09 20:22:04 -04:00
Lex Berezhny
2006ad68ee
get_balance supports custom constraints
2018-07-09 09:55:59 -04:00
Lex Berezhny
ae56b81a08
test manager.get_balance()
2018-07-04 21:30:38 -04:00
Lex Berezhny
e2296d4491
improving code coverage
2018-07-04 21:17:45 -04:00
Lex Berezhny
dd40d2e6ce
explicit env for tox
2018-07-04 20:51:18 -04:00
Lex Berezhny
c3cb297205
unit test fixes and reducing support for py2
2018-07-04 20:43:25 -04:00
Lex Berezhny
6bb81e4d6f
wip4victor
2018-07-01 17:20:17 -04:00
Lex Berezhny
c58a1c9ead
BaseLedger.stop() should also close the db
2018-06-26 20:41:03 -04:00
Lex Berezhny
da265198f1
cleanup integration test
2018-06-26 20:22:35 -04:00
Lex Berezhny
1dfc18683d
fixing unit tests
2018-06-26 18:31:42 -04:00
Lex Berezhny
9a467f8840
* on_transaction now produces TransactionEvents with useful info and lots of other changes
2018-06-26 17:22:05 -04:00
Lex Berezhny
aba3ed7ca0
SPV support
2018-06-25 09:54:35 -04:00
Lex Berezhny
22b897db2e
unit test fix
2018-06-17 23:29:23 -04:00
Lex Berezhny
833ef98ff5
refactoring and added basic test for reading/writing wallet file
2018-06-17 23:22:15 -04:00
Lex Berezhny
43cd9c4100
removed unused msqr module
2018-06-14 16:27:17 -04:00
Lex Berezhny
4dee59a49d
better customization during testing
2018-06-14 15:17:59 -04:00
Lex Berezhny
52846a3b24
switch to master branch of orchstr8
2018-06-14 00:03:52 -04:00
Lex Berezhny
ac0c88768d
moved orchstr8 download into tox.ini instead of .travis.yml
2018-06-13 23:00:53 -05:00
Lex Berezhny
9977a398af
orchstr8 download needs electrumx installed
2018-06-13 23:00:53 -05:00
Lex Berezhny
643998332e
orchstr8 download needs torba installed
2018-06-13 23:00:53 -05:00
Lex Berezhny
13444ae6c3
try downloading blockchain binary before tests run to prevent timeout during testing
2018-06-13 23:00:53 -05:00
Lex Berezhny
05ec13394c
only run py36 and bitcoinsegwit integration tests until we work out the kinks
2018-06-13 23:00:53 -05:00
Lex Berezhny
b7cbe16159
spelling fix and cleaned up tox.ini
2018-06-13 23:00:53 -05:00
Lex Berezhny
f0ecf58752
use wip branch of orchstr8
2018-06-13 23:00:53 -05:00
Lex Berezhny
e9fbc875e0
passing tests
2018-06-13 23:00:53 -05:00
Lex Berezhny
99ae39012f
tests/__init__.py
2018-06-13 23:00:53 -05:00
Lex Berezhny
fbd1b2ec30
monday progress
2018-06-13 23:00:53 -05:00
Lex Berezhny
eb6781481a
progress since thursday
2018-06-13 23:00:53 -05:00
Lex Berezhny
78e4135159
wip
2018-06-13 23:00:53 -05:00
Lex Berezhny
54350bcbc4
BaseOutputAmountEstimator
2018-06-03 20:13:30 -04:00
Lex Berezhny
09a32174c8
handle tuples in network RPC request data
2018-06-03 20:07:40 -04:00
Lex Berezhny
740af0465e
send_amount_to_address
2018-06-03 20:06:55 -04:00
Lex Berezhny
08f3ecbf25
initial readme
2018-06-01 01:52:51 -04:00
Lex Berezhny
02768a8181
shorter icon
2018-06-01 01:34:30 -04:00
Lex Berezhny
c86113b288
torba icon
2018-06-01 01:32:12 -04:00
Lex Berezhny
246cc234c4
test fixes to get it running on travis
2018-05-25 13:19:54 -04:00
Lex Berezhny
4e4c4b5f96
fixing travis
2018-05-25 11:11:28 -04:00
Lex Berezhny
ca6d5937ba
stream.where and stream.async_where
2018-05-25 09:54:01 -04:00
Lex Berezhny
ece2db08da
initial import
2018-05-25 02:03:25 -04:00