Brannon King
5ab634e375
support search path for ffmpeg
2020-03-18 12:00:52 -06:00
Brannon King
bb1978d976
ffmpeg now invoked via stream update
2020-03-18 12:00:52 -06:00
Victor Shyba
d44d5c3304
enable/disable instead of set
2020-03-16 06:40:22 -03:00
Victor Shyba
ec541e2057
lint and improve tests
2020-03-11 19:56:37 -03:00
Victor Shyba
8169bf6b97
top objects api
2020-03-11 19:56:37 -03:00
Victor Shyba
56c8ad1221
start/stop tracemalloc over api
2020-03-11 19:56:37 -03:00
Brendon J. Brewer
5f043b9a78
variable decay
2020-03-12 10:33:15 +13:00
Lex Berezhny
c9092cd1c7
v0.64.0
2020-03-09 13:32:19 -04:00
Lex Berezhny
8ef2647fa9
is_received
2020-03-08 23:11:03 -04:00
Lex Berezhny
3ff9e99416
added txo_list command
2020-03-08 16:22:49 -04:00
Lex Berezhny
c255c606a7
added is_spent attribute to transaction outputs
2020-03-06 20:12:38 -05:00
Jack Robison
cc69faa1fd
v0.63.0
2020-03-06 15:58:34 -05:00
Brannon King
212c8f188d
only change LD vars if running from bundle
...
missed a word
moved is_running_from_bundle
2020-03-06 15:53:09 -05:00
Brannon King
dec248adec
repair env modified by pyinstaller
...
see https://pyinstaller.readthedocs.io/en/stable/runtime-information.html#ld-library-path-libpath-considerations
2020-03-06 15:53:09 -05:00
Brannon King
98e6a066f4
add unit test and debug output
2020-03-06 15:53:09 -05:00
Jack Robison
c90db54a3d
Revert "v0.63.0"
...
This reverts commit 927d1569
2020-03-06 15:51:42 -05:00
Jack Robison
927d156933
v0.63.0
2020-03-06 14:49:53 -05:00
Jack Robison
ab28387692
remove ProactorEventLoop and disable ffmpeg on windows temporarily
2020-03-06 13:45:34 -05:00
Brannon King
ee39880fb5
fix items from review
2020-03-03 21:38:30 -07:00
Brannon King
926b3e56b9
take a hint, lint
2020-03-03 21:38:30 -07:00
Brannon King
e060df5367
hide ValueError
2020-03-03 21:38:30 -07:00
Brannon King
a3294d4a0d
make bit_rate check support maximum
2020-03-03 21:38:30 -07:00
Brannon King
19ce0ab246
ogg -> ogv, ignore files that aren't video
2020-03-03 21:38:30 -07:00
Lex Berezhny
05228529b0
fix tests
2020-03-03 20:26:07 -05:00
Lex Berezhny
3cbeadfbc3
lbrynet status command returns features available of currenty connected wallet server, including thetrending algorithm used
2020-03-03 20:04:57 -05:00
Lex Berezhny
1b850b8a2b
dont prepend path when doing which ffmpeg
2020-03-02 21:11:11 -05:00
Lex Berezhny
ebd33f1869
use os.path.join instead of string addition when searching for file analysis binaries
2020-03-02 20:34:54 -05:00
Jack Robison
ac846b4df3
v0.62.0
2020-03-01 20:29:32 -05:00
Jack Robison
dc6194f862
perf counter
2020-03-01 15:17:21 -05:00
Jack Robison
de50214e1f
block lru cache
2020-03-01 15:17:21 -05:00
Jack Robison
5ec4a88c35
block hash lru cache
2020-03-01 15:17:05 -05:00
Jack Robison
9d5760d899
fix test
2020-03-01 14:41:14 -05:00
Jack Robison
7945e1ea3c
mempool threadpool
2020-03-01 12:40:13 -05:00
Jack Robison
d94c40e371
leveldb threadpool
2020-03-01 12:40:13 -05:00
Jack Robison
31f22122e8
block processor threadpool
2020-03-01 12:40:13 -05:00
Lex Berezhny
a02b251c9b
when using --resolve with local claim list commands, update resolved result with local metadata (such as is_mine and is_mine)
2020-02-29 09:42:11 -05:00
Lex Berezhny
34cbb6fa79
Merge pull request #2831 from lbryio/claim_type_index_improvement
...
update `claim_type_*` db indexes to be more performant
2020-02-27 14:27:24 -05:00
Lex Berezhny
33679b56fd
update claim_type_* indexes to be more peformant
2020-02-27 12:07:38 -05:00
Oleg Silkin
e560d83c51
drops support for commenting without a channel
2020-02-26 19:58:03 -05:00
Lex Berezhny
eca7addc67
v0.61.0
2020-02-24 10:01:03 -05:00
Lex Berezhny
f514123ef0
update lbrycrd
2020-02-22 13:42:28 -05:00
Lex Berezhny
7de8670616
blocked original repost causes all reposts to also be blocked
2020-02-22 12:49:20 -05:00
Lex Berezhny
8c7908b200
reposts inherit the tags of the original claim
2020-02-22 12:23:11 -05:00
Lex Berezhny
d57900a069
claim_search --not_channel_ids excludes the channel itself and not just claims in the channel
2020-02-21 21:59:46 -05:00
Jack Robison
c1153302aa
v0.60.1
2020-02-21 16:13:30 -05:00
Victor Shyba
1086a3297f
check its broadcasted and use a retriable call
2020-02-21 17:51:46 -03:00
Jack Robison
5c613934ca
Revert "v0.60.1"
...
This reverts commit 7f03b13579
.
2020-02-21 15:05:33 -05:00
Jack Robison
7f03b13579
v0.60.1
2020-02-21 14:14:15 -05:00
Jack Robison
ee234212e6
Merge branch 'master' into skip_wallet_server_payment
2020-02-21 13:26:38 -05:00
Jack Robison
0973ac753f
add is_fully_reflected to file_list response
2020-02-21 12:49:19 -05:00
Victor Shyba
f41cfbfb97
max wallet server payment fee defaults to 0 and component doesnt start in that case
2020-02-21 14:47:09 -03:00
Lex Berezhny
a70980c81a
reverting v0.60.1 release
2020-02-21 12:43:43 -05:00
Lex Berezhny
c7d42f00c6
shorten error message for ServerPaymentFeeAboveMaxAllowed
2020-02-21 10:16:56 -05:00
Lex Berezhny
b1318a9958
minor cleanup
2020-02-21 10:05:46 -05:00
Victor Shyba
d2560d260c
use stream controller and documented errors
2020-02-21 00:04:37 -03:00
Jack Robison
f40a61cf9a
v0.60.1
2020-02-20 17:56:54 -05:00
Jack Robison
ead8daaa14
doc
2020-02-20 17:27:18 -05:00
Jack Robison
23b4b9e230
add ffmpeg_find
api, don't recheck for it in status
2020-02-20 16:43:41 -05:00
Jack Robison
7fd0d6507f
disconnect from client sending message larger than MAX_RECEIVE
2020-02-20 16:08:21 -05:00
Jack Robison
2f1d08e417
add MAX_RECEIVE wallet server setting
2020-02-20 14:11:16 -05:00
Victor Shyba
7c160ff65e
remove unused parameters
2020-02-20 14:38:13 -03:00
Victor Shyba
fc5d5faaed
use conf directly isntead of lambda
2020-02-20 14:27:39 -03:00
Victor Shyba
5394f1763c
simplify external ip logic
2020-02-20 12:12:40 -03:00
Victor Shyba
050b67c9d6
apply share_usage_data as its set
2020-02-20 12:12:40 -03:00
Victor Shyba
f0e1db319c
make wallet server payments a component
2020-02-18 19:18:30 -03:00
Victor Shyba
3950715237
add max_wallet_server_fee conf to limit daily wallet server payments
2020-02-18 18:10:58 -03:00
Victor Shyba
ae9ba14b59
use both donation and payment addresses separately
2020-02-18 18:10:58 -03:00
Victor Shyba
ad6c6fbe35
fixes from review and add analytics
2020-02-18 18:10:58 -03:00
Victor Shyba
ffa5c20c88
fix hanging test
2020-02-18 18:10:58 -03:00
Victor Shyba
5a6218eeca
improve tests, fix types
2020-02-18 18:10:58 -03:00
Victor Shyba
200531dd96
wait for tx instead
2020-02-18 18:10:58 -03:00
Victor Shyba
15a2f048ac
pay wallet server test and initial prototype
2020-02-18 18:10:58 -03:00
Victor Shyba
d317a4042c
change daily_fee to be lbc instead of dewies
2020-02-18 18:10:58 -03:00
Victor Shyba
c2d717aba5
old code from #2683
2020-02-18 18:10:58 -03:00
Lex Berezhny
ef74777df1
v0.60.0
2020-02-17 17:52:11 -05:00
Lex Berezhny
0b2d9e15b4
added order bys for fee_amount
2020-02-17 17:24:48 -05:00
Lex Berezhny
d14e5e75e8
all three order bys for duration filter
2020-02-17 17:24:48 -05:00
Lex Berezhny
df11ef34d2
index cleanup
2020-02-17 17:24:48 -05:00
Lex Berezhny
4fc619262c
replacing indexes on trending_global, trending_mixed to be trending_group, trending_mixed
2020-02-17 17:24:48 -05:00
Lex Berezhny
71cb03345b
removed default order_by for claim_search
2020-02-17 16:26:29 -05:00
jessop
7d872c7863
change default privacy setting
2020-02-13 18:56:11 -05:00
Jack Robison
0d08858dfb
v0.59.2
2020-02-13 17:22:21 -05:00
Jack Robison
c8c10d2bb0
fix claim apis failing with --resolve if no claims are present
...
fixes https://github.com/lbryio/lbry-sdk/issues/2802
2020-02-13 14:58:51 -05:00
Jack Robison
9b46d03c91
fix race between setting items in and clearing the resolve/claim_search cache
2020-02-13 11:17:21 -05:00
Jack Robison
205b0c4263
call get_platform only once
2020-02-13 10:04:50 -05:00
Jack Robison
78eef25f1a
add reposted_claim_hash index
...
fixes https://github.com/lbryio/lbry-sdk/issues/2782
2020-02-12 17:39:57 -05:00
Lex Berezhny
605fc8ecd8
claim_search by --claim_type=repost support
2020-02-12 11:51:35 -05:00
Lex Berezhny
6b745c53dc
make sure SQL IN works with python set
2020-02-12 11:41:32 -05:00
Lex Berezhny
be4515ec9a
use sets for __in constraint values
2020-02-12 10:39:25 -05:00
Lex Berezhny
dcb1b64696
SQL generation fix to handle IN operation for one value lists
2020-02-12 10:31:27 -05:00
Jack Robison
1190a60c7a
v0.59.1
2020-02-11 16:56:37 -05:00
Jack Robison
5ac453fe07
update default wallet servers
2020-02-11 13:51:15 -05:00
Lex Berezhny
ffbef69dc7
manually incremented version and added support to release script to release current version
2020-02-09 20:26:15 -05:00
Victor Shyba
f14004e56b
update url regex to cases tom reported
2020-02-09 17:55:29 -05:00
Brendon J. Brewer
3697d9e1f0
Tweaked some parameters, back to 134
2020-02-09 17:38:34 -05:00
Brendon J. Brewer
94524f7330
lint
2020-02-09 17:38:34 -05:00
Brendon J. Brewer
17d8a3e5d6
Use claim_hash not claim_id
2020-02-09 17:38:24 -05:00
Brendon J. Brewer
39996d7612
Only create file during install if logging is turned on
2020-02-09 17:37:55 -05:00
Brannon King
e53209e5ae
handle early lbrycrd exit in tests
2020-02-09 17:02:16 -05:00
Brannon King
501fbd3114
handle strange file metadata
2020-02-09 17:02:16 -05:00
Lex Berezhny
15a2fa6199
claim_list --claim_type argument can be repeated
2020-02-08 23:34:04 -05:00
Lex Berezhny
9607d21828
censored searches/resolves include metadata of channel which did the censoring
2020-02-07 18:50:29 -05:00
Lex Berezhny
6fbbf36143
pylint
2020-02-07 18:44:30 -05:00
Lex Berezhny
db25f3282e
lbry.error: save arguments on self and support for functions around arguments
2020-02-07 18:25:06 -05:00
Jack Robison
ceb92838e7
v0.58.2
2020-02-06 11:37:09 -05:00
Jack Robison
ed785fb087
add save_resolved_claims
config setting to disable saving claims upon resolving them
2020-02-06 11:27:26 -05:00
Jack Robison
3921180d77
v0.58.1
2020-02-04 15:12:55 -05:00
Jack Robison
bf4cbe1204
add version to session count metric
2020-02-04 12:18:32 -05:00
Jack Robison
28eee4da25
add version metrics to prometheus
2020-02-04 10:52:08 -05:00
Jack Robison
933ccf6deb
add block updates to prometheus
2020-02-04 10:26:22 -05:00
Jack Robison
9ac41322e5
add cpu count to prometheus
2020-02-04 10:25:40 -05:00
Jack Robison
111871bb28
update test
2020-02-03 23:00:45 -05:00
Jack Robison
bf5b5f43e3
non blocking analytics
2020-02-03 23:00:45 -05:00
Jack Robison
2ed8ebff09
handle ConnectionError and ValueError in blob sendfile
2020-02-03 23:00:45 -05:00
Jack Robison
34eb856d09
cancel reflector uploads upon file delete
...
-remove unnecessary db call in stream_update
2020-02-03 23:00:45 -05:00
Lex Berezhny
2d644bdfb0
v0.58.0
2020-02-03 22:33:03 -05:00
Lex Berezhny
6525ee6510
moved __init__ to top of class
2020-02-03 22:05:23 -05:00
Brannon King
1780ddd329
added ffmpeg status, addressed items from code review
...
linter
2020-02-03 21:53:42 -05:00
Brannon King
85ad972ca8
return string instead of path object for compatibility with hachoir
2020-02-03 21:53:42 -05:00
Brannon King
a90b60799a
Fixed check_video.py on Windows
...
using a cross-platform workaround
fixed proactor use in the SDK
fixed linter
2020-02-03 21:53:42 -05:00
Brannon King
47e8f74da9
changed to list append, relative claim test
2020-02-03 21:53:42 -05:00
Brannon King
fac28072ab
added unit tests, other minor fixes
...
added universe
try again
try 4
2020-02-03 21:53:42 -05:00
Brannon King
ab77541f36
in progress on video transcoding
...
works
Fixing lint tests
remove eval
2020-02-03 21:53:42 -05:00
Lex Berezhny
1e81d6f848
added database index for various channel_hash based queries
2020-02-03 20:28:39 -05:00
Jack Robison
dd1de530c3
catch TimeoutError when attempting to send notifications
2020-02-03 18:46:17 -05:00
Lex Berezhny
74cd887249
v0.57.0
2020-02-03 13:41:33 -05:00
Lex Berezhny
b40bb35652
change MINIMUM_REQUIRED on client for servers it connects to
2020-02-03 13:41:05 -05:00
Lex Berezhny
dfe257af86
Revert "test to make sure next release tests pass"
...
This reverts commit ebb2a09107
.
2020-02-03 13:39:36 -05:00
Lex Berezhny
ebb2a09107
test to make sure next release tests pass
2020-02-03 13:22:33 -05:00
Lex Berezhny
448635a945
added --resolve to local *_list commands
2020-02-01 17:59:10 -05:00
Lex Berezhny
bfe711bd42
fixing tests
2020-02-01 13:29:55 -05:00
Lex Berezhny
15abf49211
censored resolve responses return appropriate error
2020-02-01 12:53:39 -05:00
Lex Berezhny
b7eec0586c
added ResolveCensoredError
2020-02-01 12:49:01 -05:00
Brendon J. Brewer
22bca7a16e
Length zero could also just mean there aren't any claims
2020-01-31 07:34:43 +13:00
jessop
73c958222b
add duration to claim search params
2020-01-29 15:46:47 -05:00
Lex Berezhny
e43230e46a
v0.56.0
2020-01-28 19:58:28 -05:00
Lex Berezhny
790bbfcc99
integrate ar trending algorithm into configurable trending system
2020-01-28 18:11:32 -05:00
Brendon J. Brewer
994e70d43a
ar trending algorithm
2020-01-28 18:11:32 -05:00
Jack Robison
11530c675d
initialize_request_handlers, remove local rpc handlers
2020-01-28 15:54:22 -05:00
Jack Robison
1c474352fe
add wallet server prometheus metrics
...
-sessions gauge
-requests counter
-response times histogram
-notification counter
-request errors counter
-interrupt counter
-operational error counter
-internal error counter
-reader executor times histogram
-pending queries gauge
-lbrycrd request counter
-client versions counter
2020-01-28 15:54:22 -05:00
Jack Robison
3b2d635390
Revert "Revert "configurable trending algorithms""
...
This reverts commit 55e08f96a6
.
2020-01-28 15:53:57 -05:00
Jack Robison
55e08f96a6
Revert "configurable trending algorithms"
2020-01-28 15:03:09 -05:00
Lex Berezhny
01ed71b243
configurable trending
2020-01-28 11:58:27 -05:00
Lex Berezhny
595c058517
moved trending.py to trending/zscore.py
2020-01-28 11:58:27 -05:00
Alex Grintsvayg
e04b0a6995
add docker tag to prometheus version info
2020-01-27 14:16:18 -05:00
Jack Robison
6fb1c72b7d
cached wallet id
2020-01-27 13:57:21 -05:00
Lex Berezhny
ce6018f387
v0.55.0
2020-01-27 12:20:41 -05:00
Alex Grintsvayg
0732ab6ad5
add min_version and method name to metrics
2020-01-23 13:13:20 -05:00
Alex Grintsvayg
fb568768c5
include docker tag in build info
2020-01-23 13:13:19 -05:00
Alex Grintsvayg
7fd56e0add
build_type.py -> build_info.py
2020-01-23 13:13:19 -05:00
Lex Berezhny
8d8a5b36b6
Merge pull request #2737 from lbryio/fix_repost_resolve_bug
...
fix bug where repost claims were not being fully resolved
2020-01-22 23:32:55 -05:00
Lex Berezhny
a70cc7beb1
fix bug where repost claims were not being fully resolved
2020-01-22 22:59:05 -05:00
Alex Grintsvayg
d9f809864f
include version and build info in prometheus output
2020-01-22 19:13:58 -05:00
Lex Berezhny
bb23f509d7
rename BLOCKING_CHANNELS_IDS/FILTERING_CHANNELS_IDS to remove double S
2020-01-22 11:02:01 -05:00
Alex Grintsvayg
6c07141abd
Add prometheus metrics collection to client and server
2020-01-22 10:28:17 -05:00
Lex Berezhny
5822fc1d5b
v0.54.1
2020-01-22 08:40:35 -05:00
Lex Berezhny
2cd7ea257c
Added support to differentiate between filtering and blocking for content censoring
2020-01-22 08:39:14 -05:00
Alex Grin
0a21b72f9c
v0.54.0
2020-01-21 16:17:12 -05:00
Alex Grintsvayg
80280f6f4a
Revert "v0.54.0"
...
This reverts commit bd3b4906d1
.
2020-01-21 15:34:35 -05:00
Lex Berezhny
bd3b4906d1
v0.54.0
2020-01-21 11:30:14 -05:00
Alex Grintsvayg
ec63a18960
Revert "v0.54.0"
...
This reverts commit fab0618b6b
.
2020-01-21 11:23:51 -05:00
Alex Grin
fab0618b6b
v0.54.0
2020-01-21 11:00:38 -05:00
Alex Grintsvayg
13e57e7aa8
Revert "v0.54.0"
...
This reverts commit 836b66e110
.
2020-01-21 10:43:21 -05:00
Alex Grintsvayg
1299c9162c
Revert "Add prometheus metrics collection to client and server"
...
This reverts commit 59a5bacb2e
.
2020-01-21 10:30:49 -05:00
Alex Grin
836b66e110
v0.54.0
2020-01-20 14:26:36 -05:00
Alex Grintsvayg
802119d789
Revert "v0.54.0"
...
This reverts commit aec4d1dc60
.
2020-01-20 14:24:30 -05:00
Alex Grintsvayg
f94135cadd
make pycharm happy about long lines
2020-01-20 14:18:00 -05:00
Alex Grintsvayg
2cf0f791f2
remove unused import
2020-01-20 13:44:49 -05:00
Alex Grin
aec4d1dc60
v0.54.0
2020-01-20 13:13:30 -05:00
Alex Grintsvayg
8d28bb5a66
bump min protocol version
2020-01-20 12:53:10 -05:00
Lex Berezhny
9d79c52d20
add index for claim_type and release_time
2020-01-20 12:50:20 -05:00
Lex Berezhny
1ac03e2f1d
fix test
2020-01-20 12:50:16 -05:00
Lex Berezhny
801f05f45e
fix json api generator
2020-01-20 12:50:16 -05:00
Lex Berezhny
345196aa3b
add pagination for claim_search
2020-01-20 12:49:42 -05:00
Lex Berezhny
a01b52421e
regenerate protobufs
2020-01-20 12:49:41 -05:00
Lex Berezhny
86cedfe8b2
using multiprocessing.Manager to keep blocked content synced between readers
2020-01-20 12:49:41 -05:00
Alex Grintsvayg
59a5bacb2e
Add prometheus metrics collection to client and server
2020-01-20 12:43:49 -05:00
Jack Robison
3a21df31ee
v0.53.3
2020-01-16 16:43:26 -05:00
Jack Robison
b0b5e045ff
non blocking aioupnp success analytics
2020-01-16 15:40:24 -05:00
Jack Robison
53eb033034
disconnect from server that returns rpc error for server.version
...
-the server returns this error if it thinks we are incompatible with it
2020-01-15 17:06:13 -05:00
Jack Robison
1bf51e855d
check minimum server version from wallet client
2020-01-15 15:55:39 -05:00
Jack Robison
e4da2a695b
v0.53.2
2020-01-14 16:47:56 -05:00
Victor Shyba
d34f5c2712
fix None in history, check records after wait
2020-01-13 21:17:10 -05:00
Victor Shyba
6647dd8f08
fix decrypting invalid bytes with valid padding
2020-01-13 21:17:10 -05:00
Jack Robison
734cd8ee08
logging
2020-01-13 17:51:05 -05:00
Jack Robison
d85d9d05bb
fast get_all_lbry_files
2020-01-13 17:51:05 -05:00
Jack Robison
1d7b87b3a9
fix inefficient loop in update_manually_removed_files_since_last_run
2020-01-13 17:51:02 -05:00
Lex Berezhny
f0cfde36f2
v0.53.1
2020-01-13 14:12:30 -05:00
Lex Berezhny
c1508c94c2
v0.53.0
2020-01-13 12:23:41 -05:00
Jack Robison
1a802469f5
missing fetchall()
2020-01-12 16:16:48 -05:00
Jack Robison
646ae7e2d1
catch RuntimeError in loggly handler to handle cases where there is not an event loop
2020-01-12 16:16:48 -05:00
Victor Shyba
54d0473e85
refactor header progress
2020-01-12 00:56:43 -03:00
Jack Robison
0315eaff8a
add connected
server to wallet status
2020-01-11 00:33:52 -05:00
Jack Robison
b34f44c867
logging
2020-01-11 00:17:32 -05:00
Jack Robison
0bb4cdadd9
use network.subscribe_address
2020-01-10 13:57:52 -05:00
Jack Robison
08f6520557
bare excepts
2020-01-10 12:27:56 -05:00
Jack Robison
38b108752e
batched blockchain.address.subscribe
2020-01-09 23:40:04 -05:00
Jack Robison
0ee7870bdf
defaultdict
2020-01-09 23:06:29 -05:00
Jack Robison
37d46ecdb2
fix looping over same things in _transaction_io
2020-01-09 23:06:29 -05:00
Oleg Silkin
2a7911c7d6
rename jsonrpc_comment_edit
-> jsonrpc_comment_update
2020-01-09 19:28:45 -05:00
Oleg Silkin
fc2d9b4fd2
restart travis build
2020-01-09 19:28:45 -05:00
Oleg Silkin
832020fa81
Makes claim_id
and parent_id
mutually exclusive for comment create
2020-01-09 19:28:45 -05:00
Oleg Silkin
b31881f424
Removes possibility of no channel being passed in & propogates errors
2020-01-09 19:28:45 -05:00
Oleg Silkin
7e1b1ca730
Adds comment_edit
command
2020-01-09 19:28:45 -05:00
Jack Robison
0f7eab5100
pylint
2020-01-08 12:44:22 -05:00
Jack Robison
cbf78d474a
fix version and stop rpcs
2020-01-08 12:44:22 -05:00
Victor Shyba
3615e0de34
cleanup leftover comment from review
2020-01-07 19:57:34 -05:00
Victor Shyba
e73c081d36
remove bandwidth_limit env option
2020-01-07 19:57:34 -05:00
Victor Shyba
60194cbafd
remove bw_limit on server
2020-01-07 19:57:34 -05:00
Lex Berezhny
7d2eb5faf7
v0.52.0
2020-01-06 12:21:49 -05:00
Lex Berezhny
5969f3d213
revert version
2020-01-06 12:20:05 -05:00
Lex Berezhny
4db823a3be
set version to 0.52.0
2020-01-06 12:17:09 -05:00
Lex Berezhny
78732513c8
set wallet server min/max 0.52.0-0.99.0
2020-01-06 12:17:09 -05:00
Jack Robison
9cc7c118a8
disable cryptonator feed
2020-01-03 15:28:29 -05:00
Lex Berezhny
d3dad51c76
fix import error in cli.py
2020-01-03 03:08:15 -05:00
Lex Berezhny
f8928c654b
do not reset callable_methods on Daemon class
2020-01-03 03:08:15 -05:00
Victor Shyba
b7b164b84c
fix comment alignment
2020-01-03 03:08:15 -05:00
Victor Shyba
7c353b7d76
too many \
2020-01-03 03:08:15 -05:00
Lex Berezhny
ff59619af4
more pylint
2020-01-03 03:08:15 -05:00
Lex Berezhny
b79f2b86b5
renamed Daemon.py to daemon.py per pylint
2020-01-03 03:08:15 -05:00
Lex Berezhny
386fd7a459
updated imports after renaming component files
2020-01-03 03:08:15 -05:00
Lex Berezhny
d4f41901ef
lower cased component file names per pylint
2020-01-03 03:08:15 -05:00
Lex Berezhny
f170da3e78
pylint fixes in lbry/extras/daemon
2020-01-03 03:08:15 -05:00
Lex Berezhny
5dc15be98a
pylint lbry/extras/daemon/exchange_rate_manager.py
2020-01-03 03:08:15 -05:00
Lex Berezhny
88c7cfc745
pylint in progress in lbry/extras/daemon
2020-01-03 03:08:15 -05:00
Victor Shyba
867478697d
lint blob/*
2020-01-03 03:08:15 -05:00
Lex Berezhny
d27e8cf73a
pylint fix in lbry/error/generate.py
2020-01-03 03:08:15 -05:00
Victor Shyba
4490caa4f7
lint storage
2020-01-03 03:08:15 -05:00
Lex Berezhny
1b25f2c531
pylint fix in lbry/utils.py
2020-01-03 03:08:15 -05:00
Lex Berezhny
9d911d1fa0
convince pylint about descriptor return type in lbry/conf.py
2020-01-03 03:08:15 -05:00
Victor Shyba
494feb9f6d
lint: lbry/stream/*
2020-01-03 03:08:15 -05:00
Lex Berezhny
731b29ce91
progress on pylint in lbry/conf.py
2020-01-03 03:08:15 -05:00
Victor Shyba
28fbb70858
blob_exchange lint
2020-01-03 03:08:15 -05:00
Victor Shyba
44f402c64e
delete cryptoutils
2020-01-03 03:08:15 -05:00
Victor Shyba
c7f391ca44
lint: finish dht parts
2020-01-03 03:08:15 -05:00
Lex Berezhny
51b1a86d19
pylint for lbry/connection_manager.py
2020-01-03 03:08:15 -05:00
Victor Shyba
20c46677d0
lint dht: datastore protocol
2020-01-03 03:08:15 -05:00
Lex Berezhny
efb5f232f7
fixed pylint for lbry/utils.py
2020-01-03 03:08:15 -05:00
Lex Berezhny
9edf9561b2
pylint
2020-01-03 03:08:15 -05:00
Lex Berezhny
5d4eb018ee
pylint for lbry/testcase.py
2020-01-03 03:08:15 -05:00
Victor Shyba
10fbce056b
dht constants -> CONSTANTS (linting)
2020-01-03 03:08:15 -05:00
Lex Berezhny
cbc6d6a572
pylint passes for lbry/wallet
2020-01-03 03:08:15 -05:00
Lex Berezhny
fb1af9e3d2
update imports and more merging
2020-01-03 03:08:15 -05:00
Lex Berezhny
c9e410a6f4
merged torba base classes with lbry sub-classes
2020-01-03 03:08:15 -05:00
Lex Berezhny
ed0cc59e66
fix cyclic import error
2020-01-01 15:57:56 -05:00
Lex Berezhny
8327585b3b
fix set_build.py and other things
2020-01-01 15:57:56 -05:00
Lex Berezhny
2968f74c6c
moved lbry up one level
2020-01-01 15:57:56 -05:00
Lex Berezhny
d809283d23
fix integrartion test
2020-01-01 15:57:56 -05:00
Lex Berezhny
b49275fe6b
added support for --no-logging argument to avoid leaking loggers in tests
2020-01-01 15:57:56 -05:00
Lex Berezhny
87c7ce588e
disabled cryptonator.com in tests, removed references to torba
2020-01-01 15:57:56 -05:00
Lex Berezhny
26d0a7c742
fix generate_json_api
2020-01-01 15:57:56 -05:00
Lex Berezhny
b01887c7ec
fix two unit tests
2020-01-01 15:57:56 -05:00
Lex Berezhny
745031c020
orchstr8 works again, for now...
2020-01-01 15:57:56 -05:00
Lex Berezhny
3ccfc09e01
conslidated testcase
2020-01-01 15:57:56 -05:00
Lex Berezhny
e8750275c9
skip code quality checks, will fix later
2020-01-01 15:57:56 -05:00
Lex Berezhny
f0d7ea4cc6
updated files and scripts post torba merge
2020-01-01 15:57:56 -05:00
Lex Berezhny
ea5322af82
removing bitcoin support
2020-01-01 15:57:56 -05:00
Lex Berezhny
0b23f68fb2
merged torba into lbry
2020-01-01 15:57:56 -05:00
Lex Berezhny
1c00129f76
v0.51.2
2019-12-30 16:34:52 -05:00
Lex Berezhny
454700af05
support json in setting_set
2019-12-30 16:31:14 -05:00
Jack Robison
09c2c97069
only log account details on startup if there are not very many
2019-12-30 16:22:41 -05:00
Lex Berezhny
88faf0ce78
v0.51.1
2019-12-30 15:11:29 -05:00
Jack Robison
5bd222c266
less verbose log
2019-12-28 13:17:19 -05:00
Jack Robison
d3e7f789b2
uncaught exception
2019-12-28 13:17:19 -05:00
Jack Robison
b597ad0b3f
fix unique constraint failure in migrate12to13
2019-12-28 13:17:19 -05:00
Lex Berezhny
6ea2686219
v0.51.0
2019-12-23 12:39:48 -05:00
Alex Grintsvayg
20fa7bd852
better server range for boris
2019-12-21 13:48:07 -05:00
Victor Shyba
325b601bea
enable WAL
2019-12-21 07:49:21 -05:00
Lex Berezhny
126642912e
lint
2019-12-20 16:52:56 -05:00
Lex Berezhny
57ee16d565
change returned error data structure to be JSONRPC standard compliant
2019-12-20 16:52:56 -05:00
Victor Shyba
757fb51415
make block_expected public
2019-12-20 12:30:16 -05:00
Victor Shyba
b1c5655138
__height -> _block_expected
2019-12-20 12:30:16 -05:00
Jack Robison
96db1b4685
v0.50.1
2019-12-19 22:09:19 -05:00
Victor Shyba
5fa801f9f2
broadcast_or_release uses None as timeout as opposed to tests
2019-12-19 23:42:31 -03:00
Victor Shyba
0301768b79
lint on tests
2019-12-19 22:58:36 -03:00
Victor Shyba
4c6dedfa4f
fix last test
2019-12-19 22:34:10 -03:00
Victor Shyba
3e03dd3e80
apply timeout and check for expected height on wait
2019-12-19 20:20:42 -03:00
Victor Shyba
91846939f6
organize logic for when its downloading
2019-12-18 19:09:33 -03:00
Jack Robison
c85127d76b
fix division by zero error
2019-12-18 10:44:16 -05:00
Lex Berezhny
f68bdc406f
fix bug when two updates for the same claim happened in the same block
2019-12-17 23:48:07 -05:00
Lex Berezhny
505652efa0
v0.50.0
2019-12-16 11:33:13 -05:00
Jack Robison
a20e2504bb
disable timing bug in test_ping_queue_discover
2019-12-16 10:10:58 -05:00
Lex Berezhny
b07bc150e1
do not registery fake component in real component registry
2019-12-15 02:39:17 -05:00
Lex Berezhny
46c6588aa1
fixup fake exchange rate manager for integration tests
2019-12-15 02:39:17 -05:00
Lex Berezhny
e36c672c9a
pylint
2019-12-15 02:39:17 -05:00
Lex Berezhny
c044e1ea8c
further refactor and simplification
2019-12-15 02:39:17 -05:00
Lex Berezhny
25b6c1b6ca
renamed test_ExchangeRateManager to test_exchange_rate_manager
2019-12-15 02:39:17 -05:00
Lex Berezhny
c25d72d911
minor error class and type checking fixes
2019-12-15 02:39:17 -05:00
Miroslav Kovar
73613d1583
Refactor exchange rate manager
2019-12-15 02:39:17 -05:00
Lex Berezhny
1e6542d12d
add --blocklist_channel_ids to claim_search command
2019-12-14 19:19:33 -05:00
Lex Berezhny
3cffaa43f7
remove invalid claim_id from default channel filter list
2019-12-14 19:19:33 -05:00
Lex Berezhny
08792e794f
a support create and abandon in same block no longer inserts support
2019-12-14 18:19:06 -05:00
Lex Berezhny
7fa26d59da
fixes for various edge cases where claim creation, updating and abandoning is occuring in the same block
2019-12-14 18:19:06 -05:00
Lex Berezhny
74469829e5
pylint
2019-12-14 15:47:28 -05:00
Lex Berezhny
ba414742a6
improved the data structure returned from RPC for errors by adding a error name and other metadata
2019-12-14 15:47:28 -05:00
Lex Berezhny
f6fcfb6dde
simplified and only log potentially transactional functions
2019-12-13 18:44:32 -05:00
Oleg Silkin
c5b90c0144
Removes unused debug flag
2019-12-13 18:44:32 -05:00
Oleg Silkin
f669881849
Adds function, param logging to all lbrynet handling
2019-12-13 18:44:32 -05:00
Lex Berezhny
51af43d492
move none_check after fee update since that can be None
2019-12-13 13:23:23 -05:00
Lex Berezhny
8a49ad4586
catch invalid None value for all cases when creating/updating claims
2019-12-13 13:23:23 -05:00
gpjacobs
2ae068c2d2
Improving error handling for null values
2019-12-13 13:23:23 -05:00
Alex Grintsvayg
5e07e8dbbd
copy some of lex's changes to boris
2019-12-13 10:12:47 -05:00
Lex Berezhny
8d2c68505e
remove VERBOSITY from test
2019-12-12 13:25:27 -05:00
Lex Berezhny
44f1e7c401
test all possible P2SH and BECH32 payment combinations on wallet server and at least P2SH and BECH32 to P2PKH receipt on client address
2019-12-12 13:25:27 -05:00
Lex Berezhny
b0f0827cff
client side segwit support
2019-12-12 13:25:27 -05:00
Alex Grintsvayg
fddb0c9e66
notify us when boris is killed with signals
2019-12-11 14:02:39 -05:00
Victor Shyba
a4113cbb52
add apsw to pylint conf
2019-12-11 12:38:00 -05:00
Victor Shyba
afa3bda3c8
update tests
2019-12-11 12:06:41 -05:00
Victor Shyba
61d7edd15f
change api name to wallet reconnect
2019-12-11 12:06:41 -05:00
Victor Shyba
c2106de7e1
refactor + tests
2019-12-11 12:06:41 -05:00
Victor Shyba
0bf1be6198
add wallet restart API
2019-12-11 12:06:41 -05:00
Lex Berezhny
af7c20e440
downgrade multidict to prevent segfault
2019-12-11 09:44:37 -05:00
Lex Berezhny
17771a2b89
added --initial-headers argument to lbrynet start command
2019-12-11 09:44:37 -05:00
Lex Berezhny
8840097fe2
test that creator can spend purchases received
2019-12-09 22:32:14 -05:00
Lex Berezhny
7d333efd45
utxo list
includes purchases of your claims
2019-12-09 22:32:14 -05:00
Lex Berezhny
640b0c71e6
v0.49.0
2019-12-09 13:05:08 -05:00
Victor Shyba
bff9117360
progress from 0
2019-12-09 13:04:23 -05:00
Lex Berezhny
0292fd8d91
fix lint error
2019-12-08 22:40:06 -05:00
Lex Berezhny
94a41270d0
add InvalidPasswordError handling to more places
2019-12-08 22:40:06 -05:00
Lex Berezhny
75d78bfa53
added InvalidPasswordError code when password is invalid
2019-12-08 22:40:06 -05:00
Lex Berezhny
13f9370f8c
fix wallet server db writer test
2019-12-08 17:00:41 -05:00
Lex Berezhny
1c349270bf
switch to apsw
2019-12-08 17:00:41 -05:00
Lex Berezhny
c28f0f6286
added apsw installation to tox
2019-12-08 17:00:41 -05:00
Lex Berezhny
1bbfccd082
refactored error codes generate script and error hierarchy
2019-12-06 10:45:23 -05:00
Lex Berezhny
cee7e06832
add configurable log level to exceptions, join message and description columns in error markdown table
2019-12-06 10:45:23 -05:00
Jack Robison
03dff4b382
fix build
2019-12-05 20:56:57 -05:00
Jack Robison
f546b20a01
v0.48.2
2019-12-04 13:10:40 -05:00
Jack Robison
66a4c98bee
update test
2019-12-03 13:11:34 -05:00
Miroslav Kovar
36101db500
Wait for routing table to clear with timeout
2019-12-03 13:06:50 -05:00
Miroslav Kovar
6bff298d1e
Add migrator for the new peer
table
2019-12-03 13:06:50 -05:00
Jack Robison
c832f8ffbb
fix mock_network_loop param
2019-12-03 13:06:50 -05:00
Jack Robison
d7fe46dbde
fix drop/reconnect in test_losing_connection
2019-12-03 13:06:50 -05:00
Miroslav Kovar
5951186463
Minor changes
...
Fix typos
2019-12-03 13:06:50 -05:00
Miroslav Kovar
7191042bb8
Add new test, remove old test, change error type
2019-12-03 13:06:50 -05:00
Miroslav Kovar
a80fbcc252
Catch resolve timeouts
2019-12-03 13:06:50 -05:00
Miroslav Kovar
c321758afd
Rename, fix tests / deduplicate set_joined, resolve conditionally
2019-12-03 13:06:50 -05:00
Miroslav Kovar
ca8f59a643
Persist and restore routing table
2019-12-03 13:06:50 -05:00
Jack Robison
a283b66541
add timeout to file_save attempt starting
...
-remove test_unban_recovers_stream
2019-12-03 11:56:59 -05:00
Jack Robison
569de37e16
fix sendfile exceptions
2019-12-03 11:56:55 -05:00
Jack Robison
669f3394c7
fix requesting same blob over and over if only peer(s) say they don't have it
2019-12-03 11:56:52 -05:00
Alex Grin
87ec2c7378
v0.48.1
2019-12-02 12:39:41 -05:00
Jack Robison
c894ade25e
fix integration tests
2019-12-01 17:28:51 -05:00
Jack Robison
a3fe127a92
fix and test reserved ips
2019-12-01 17:04:03 -05:00
Jack Robison
71ae174e29
fix predicting udp port in _accumulate_peers_for_value
...
-add comments
-rename functions to be more descriptive of what they do
2019-12-01 16:21:15 -05:00
Jack Robison
880aa265f1
drain all pages of peers returned by find_value in IterativeValueFinder
2019-12-01 14:53:39 -05:00
Lex Berezhny
b60fdee5e2
upgrade SDK to use lbrycrd v0.17.3.2
2019-11-26 21:31:31 -05:00
Alex Grintsvayg
44f07fb81d
move build-related files into top-level dir
2019-11-26 18:28:58 -05:00
Alex Grintsvayg
6112f60681
gitlab ci setup
...
what works:
- tests
- linux and mac builds
- uploading builds to s3
what's left to do:
- uploading coverage results to codecov.io
- windows build
- github releases
- what directories to cache between builds
2019-11-26 18:28:58 -05:00
Alex Grintsvayg
ecc74e2ae5
if user has no Downloads dir on windows, use cwd
2019-11-26 18:28:58 -05:00
jessop
c2dae43965
response
2019-11-26 14:45:41 -05:00
jessop
6e3a25d255
status: wallet returns all servers rather than just available
2019-11-26 14:45:41 -05:00
jessop
4e13cf1d85
adds wallet server counts on startup
2019-11-26 14:45:41 -05:00
Lex Berezhny
0fee1897eb
v0.48.0
2019-11-25 20:39:36 -05:00
Victor Shyba
9dd51467fe
move lbry specific version to its place
2019-11-25 20:21:13 -05:00
Victor Shyba
cec6dca72f
bump protocol version
2019-11-25 20:21:13 -05:00
Victor Shyba
cc6bdd6295
sync fts only once
2019-11-25 16:07:03 -05:00
Victor Shyba
e77acde005
wip
2019-11-25 16:07:03 -05:00
Victor Shyba
ece5082096
enable callback tracebacks
2019-11-25 16:07:03 -05:00
Alex Grintsvayg
0723026a56
drop codecov
2019-11-25 12:52:30 -05:00
Lex Berezhny
0b7346f4a1
droped OldWalletServerTransaction class in wallet server unit tests
2019-11-25 10:22:34 -05:00
Lex Berezhny
a357db1ff6
use correct segwit deserializer
2019-11-25 10:22:34 -05:00
Jack Robison
076decd6e9
don't log tracebacks for expected download errors
2019-11-25 09:47:42 -05:00
jessop
d40461de94
review changes
2019-11-22 22:28:55 -05:00
jessop
4b1492be0d
return value and more tests
2019-11-22 22:28:55 -05:00
jessop
1676246743
cleanup
2019-11-22 22:28:55 -05:00
jessop
f7c9f6d142
adds settings_clear method and integration test
2019-11-22 22:28:55 -05:00
Alex Grintsvayg
df635b963c
enable passing args to tests
2019-11-21 15:31:49 -05:00
Lex Berezhny
6d0a054170
regenerate latest docs with claim_id argument to stream_repost
2019-11-20 10:56:42 -05:00
Lex Berezhny
177d3af77f
regenerate latest docs
2019-11-20 10:39:17 -05:00
Lex Berezhny
35f71c619b
fix unit tests
2019-11-19 22:26:30 -05:00
Lex Berezhny
31a80ccce4
minor fixups
2019-11-19 22:26:30 -05:00
Lex Berezhny
3194cec8df
added missing files
2019-11-19 22:26:30 -05:00
Lex Berezhny
57fd3c5801
updated code base to use generated errors
2019-11-19 22:26:30 -05:00
Lex Berezhny
86617f1bda
added names to errors and script to generate error classes from README
2019-11-19 22:26:30 -05:00
Lex Berezhny
35f36c598c
moved error.py to be a module
2019-11-19 22:26:30 -05:00
Lex Berezhny
36bd7816fe
add handling for invalid claims in calculate_reposts
2019-11-18 17:07:46 -05:00
Lex Berezhny
fd632392d4
full reposted_claim data returned for claim_search and resolve
2019-11-18 17:07:46 -05:00
Victor Shyba
423b48866f
apply refactor suggested on review by removing .out calls
2019-11-18 17:07:46 -05:00
Victor Shyba
745bc24343
add a test for normal repost mixed with blocking repost, use inner queries
2019-11-18 17:07:46 -05:00
Victor Shyba
04a823c7d0
FILTERING_CHANNELS_IDS on claim search
2019-11-18 17:07:46 -05:00
Victor Shyba
56af4c2fcb
minor fixes from rebase
2019-11-18 17:07:46 -05:00
Victor Shyba
77daf6812a
add config option for filtering channels
2019-11-18 17:07:46 -05:00
Victor Shyba
c7e964ec42
add reposted_claim_hash column, writer and reader w/ tests
2019-11-18 17:07:46 -05:00
Victor Shyba
694e2c2a4f
improve test cases for reposts, add a new one for reverse search
2019-11-18 17:07:46 -05:00
Victor Shyba
df6537fae8
add API for reposting
2019-11-18 17:07:46 -05:00
Lex Berezhny
71f6542571
v0.47.0
2019-11-18 10:57:58 -05:00
Victor Shyba
5a6294c08e
test errors arent trapped
2019-11-18 10:57:24 -05:00
Victor Shyba
f0390786d6
avoid trapping errors on client
2019-11-18 10:57:24 -05:00
Jack Robison
a116dcd3bb
add SQLiteStorage.delete_torrent
2019-11-15 16:53:19 -05:00
Jack Robison
e2dd3dcf88
get_claims_from_torrent_info_hashes
2019-11-15 16:53:19 -05:00
Jack Robison
822f0c3cb2
add migrate12to13 script
2019-11-15 16:53:14 -05:00
Jack Robison
63fb39016b
add torrent db tables
...
-decouple file table from stream table
2019-11-15 15:25:33 -05:00
Jack Robison
e79f8d58ca
expose bt_infohash in Claim
2019-11-15 15:25:33 -05:00
Lex Berezhny
a469dfb583
stop signing support tx too many times
2019-11-15 14:16:54 -05:00
Victor Shyba
6fcb4d93c9
header component now shows header synchronization progress
2019-11-15 13:59:28 -05:00
Victor Shyba
a70f5e2440
update block status during download
2019-11-15 13:59:28 -05:00
Victor Shyba
24ed0521c7
checkpoints
2019-11-15 13:59:28 -05:00
Victor Shyba
d8fed79810
remove headers component
2019-11-15 13:59:28 -05:00
Jack Robison
3038dd9440
bump aioupnp -> 0.0.16
2019-11-15 11:24:49 -05:00
Lex Berezhny
276b2c737a
pylint
2019-11-14 18:53:20 -05:00
Lex Berezhny
62543b94c9
minor cleanup of collections implementation
2019-11-14 18:53:20 -05:00
jessop
4d607ed276
review response
2019-11-14 18:53:20 -05:00
jessop
26e2865e35
cleanup
2019-11-14 18:53:20 -05:00
jessop
f7c94c9eb5
collection resolve endpoint
2019-11-14 18:53:20 -05:00
jessop
25a91f89fd
tests
2019-11-14 18:53:20 -05:00
jessop
246f055145
enables collections
2019-11-14 18:53:20 -05:00
Lex Berezhny
e49f24e95f
added more tests to make sure stream update and abandon update the full text search indexes
2019-11-14 17:19:10 -05:00
Lex Berezhny
48a18ff771
full text search in wallet server
2019-11-14 17:19:10 -05:00
Alex Grintsvayg
37161057c6
plz explain errors
2019-11-14 09:52:30 -05:00
Alex Grintsvayg
68d1157495
catch the right error, boris
2019-11-13 17:58:47 -05:00
Lex Berezhny
7051c332a1
v0.46.1
2019-11-12 11:26:24 -05:00
Lex Berezhny
0f2a0b7c97
added witness transaction parsing to torba parser
2019-11-12 11:24:42 -05:00
Lex Berezhny
bb6ef42d0c
added support for lbrycrd v0.17.3.1
2019-11-12 11:24:42 -05:00
Jack Robison
3c591d4968
update time_to_first_bytes.py
2019-11-11 20:43:52 -05:00
Lex Berezhny
cf356a8e35
v0.46.0
2019-11-11 10:49:44 -05:00
Victor Shyba
3a0ce58cda
send back correct server version
2019-11-11 10:14:00 -05:00
Lex Berezhny
2d7038dc18
fixed wallet balance for multiple accounts
2019-11-05 10:14:03 -05:00
Lex Berezhny
25a0e67841
added caching for account/wallet balance and removed --reserved_subtotals argument instead always returning the subtotals
2019-11-05 10:14:03 -05:00
Alex Grintsvayg
be64209292
less verbose snapshot download
2019-11-04 16:51:57 -05:00
Lex Berezhny
0006cb1c27
v0.45.0
2019-11-04 10:30:57 -05:00
Lex Berezhny
836d38ed2a
added claim_trending_group_mixed_idx index to wallet server db
2019-11-04 10:28:22 -05:00
Thomas Zarebczan
ec71017785
update trending period
...
This gets us back to ~7 days, which was originally requested as part of this change.
2019-11-04 10:28:22 -05:00
Jack Robison
f93bbd6bc3
improve reflector logging
2019-11-01 11:32:36 -04:00
Jack Robison
ca12d655ea
don't log tracebacks for old peers failing to handle findValue requests during blob announcement
2019-11-01 11:30:44 -04:00
Jack Robison
874c28bd88
add optional_fields to KademliaDatagramBase
...
-update KademliaDatagramBase.bencode and decode_datagram
2019-11-01 10:47:45 -04:00
Jack Robison
aa7c0a3544
test unused fields are backwards compatible
2019-11-01 10:45:12 -04:00
Lex Berezhny
3624a3b450
added --uri to purchase_list and file_list now includes purchase_receipt field
2019-10-30 23:00:45 -04:00
Lex Berezhny
c4c50699cc
fix transaction_list for purchases correctly showing balance_delta
2019-10-30 23:00:45 -04:00
Lex Berezhny
6a3d760cfe
fix for integration test
2019-10-30 23:00:45 -04:00
Lex Berezhny
8ceaf66a81
pylint fixes
2019-10-30 23:00:45 -04:00
Lex Berezhny
fdd2562f32
added purchase_list and purchase_create
2019-10-30 23:00:45 -04:00
Lex Berezhny
28457021f8
figure out why time to first byte duration went up
2019-10-30 23:00:45 -04:00
Lex Berezhny
459716bd6e
initial RETURN_OP based purchase metadata
2019-10-30 23:00:45 -04:00
Lex Berezhny
41e0e6762c
added wallet management tests and address unsubscribe feature on wallet server
2019-10-30 17:59:12 -04:00
Lex Berezhny
a5ee60c1c9
subscribe accounts on wallet_add
2019-10-30 17:59:12 -04:00
Lex Berezhny
28ea43c89e
v0.44.1
2019-10-28 16:00:17 -04:00
Jack Robison
cb38ba12a7
fix the external ip in status
if upnp fails
2019-10-28 13:35:15 -04:00
Jack Robison
9200f5b516
fix 11to12 migration typo
2019-10-28 12:20:15 -04:00
Lex Berezhny
5c1026c745
v0.44.0
2019-10-28 11:35:51 -04:00
Jack Robison
0d179d67a3
bump aioupnp -> 0.0.15
2019-10-28 10:19:08 -04:00
Lex Berezhny
99ce40f736
reduce output on travis and dont install python2 on mac build
2019-10-26 15:02:43 -04:00
Lex Berezhny
d2315f4fd7
added ledger.on_ready to know when ledger is finished syncing
2019-10-26 15:01:17 -04:00
Lex Berezhny
6370404985
removed shutdown_runner argument to daemon.stop()
2019-10-26 15:01:17 -04:00
Lex Berezhny
1ed38fff6f
removed runner.shutdown() as runner.cleanup() calls this already
2019-10-26 15:01:17 -04:00
Chris Baumler
ba48713219
Add CLI unit test for keyboard interrupt
2019-10-26 15:01:17 -04:00
Lex Berezhny
dfc1e6a2b9
renamed added_at to added_on, to be consistent with existing modified_on field
2019-10-26 11:57:07 -04:00
Oleg Silkin
4237331222
adds added_at
field to files
2019-10-26 11:57:07 -04:00
Hugo
087124ce42
Update unit test asserts
2019-10-26 10:36:52 -04:00
Hugo
c5cfd8f40e
Upgrade Python syntax with pyupgrade --py37-plus
2019-10-26 10:36:52 -04:00
Lex Berezhny
ccf55bcd01
simplify line in generate_json_api.py
2019-10-26 01:18:27 -04:00
Lex Berezhny
d227660d6c
minor refactor and cleanup, generated api.json
2019-10-26 01:18:27 -04:00
Oleg Silkin
ca6202fc19
Shortens file_list method
2019-10-26 01:18:27 -04:00
Oleg Silkin
f6b5a40813
self.daemon.jsonrpc_file_list(params) -> self.file_list(params) in tests
2019-10-26 01:18:27 -04:00
Oleg Silkin
69c0cefe5e
Adds pre-formatted file_list
method to testcase, fixes file_list tests
2019-10-26 01:18:27 -04:00
Oleg Silkin
ad8772e191
Replaces .get with bracket notation dictionary access
2019-10-26 01:18:27 -04:00
Oleg Silkin
e095767bc6
Makes the page_size return default to all
2019-10-26 01:18:27 -04:00
Oleg Silkin
610f19bea1
Updates api example generation for file_list
2019-10-26 01:18:27 -04:00
Oleg Silkin
4637559c6e
Enforces the default paginated output on file_list
2019-10-26 01:18:27 -04:00
Oleg Silkin
766dcff6c6
Paginates only if either --page or --page_size are provided
2019-10-26 01:18:27 -04:00
Oleg Silkin
b30dc39e37
Makes page & page_size co-dependent in doc
2019-10-26 01:18:27 -04:00
Oleg Silkin
a23178633a
Adds tests to ensure paginated file_list works properly
2019-10-26 01:18:27 -04:00
Oleg Silkin
7c074e1cd4
paginates file_list
2019-10-26 01:18:27 -04:00
Lex Berezhny
4a8b96a6d2
removed outdated docs, see https://lbry.tech/api/sdk instead
2019-10-26 00:16:57 -04:00
Lex Berezhny
290a206012
fix api doc script
2019-10-26 00:15:19 -04:00
Lex Berezhny
7b86b3843f
refactored and updates all list commands to always be paginated
2019-10-26 00:15:19 -04:00
Oleksandr Manyk
553adb2ad0
Fetch records count only when needed
2019-10-26 00:15:19 -04:00
Oleksandr Manyk
cc55a78fb4
Call claim_search only once
2019-10-26 00:15:19 -04:00
Oleksandr Manyk
bd1df09098
Unify paginated endpoints logic
2019-10-26 00:15:19 -04:00
Julin S
c61fae05d6
Convert some format() strings in lbry and torba to fstrings
2019-10-25 20:47:39 -04:00
Lex Berezhny
e3cb5bfa07
fix for stream type change integration test
2019-10-25 11:51:45 -04:00
Lex Berezhny
09f6034f2f
added back prefix argument to create_upload_file fixture method
2019-10-25 07:02:21 -04:00
Lex Berezhny
63b8a76bf6
refactored tests and simplified clearing of metadata on file type change
2019-10-25 07:02:21 -04:00
Miroslav Kovar
5fe536a058
Clean up the test
2019-10-25 07:02:21 -04:00
Miroslav Kovar
342184e532
Clear metadata when updating file type
2019-10-25 07:02:21 -04:00
Lex Berezhny
e5c169ddf8
minor fixup
2019-10-24 17:28:59 -04:00
Miroslav Kovar
622ba2b0e3
Revert to the original
2019-10-24 17:28:59 -04:00
Miroslav Kovar
fbfe8f8d14
Remove extend, fix index var
2019-10-24 17:28:59 -04:00
Miroslav Kovar
3c96fda59b
Preserve order of tags when cleaning
2019-10-24 17:28:59 -04:00
Miroslav Kovar
7cb03dde44
Normalize only when writing (setting, updating)
2019-10-24 17:28:59 -04:00
Miroslav Kovar
db34f89251
Normalize tag names
2019-10-24 17:28:59 -04:00
Alex Grintsvayg
98b9972fa5
cleanup setup_logging()
...
added more logging tests and refactored for merging into master
2019-10-24 15:48:29 -04:00
Lex Berezhny
dd5507036f
fix broken tests
2019-10-23 15:29:12 -04:00
Lex Berezhny
75da209de1
fix for wallet server bug related to changing the channel of a stream
2019-10-23 15:29:12 -04:00
Lex Berezhny
bb8a2bfff7
fix bug with resolve and conflicting claim_id segments
2019-10-23 11:48:00 -04:00
Lex Berezhny
21d291531e
v0.43.4
2019-10-21 13:09:36 -04:00
Victor Shyba
2653a9447b
bump ecdsa version
2019-10-21 13:08:19 -04:00
Miroslav Kovar
bc04903741
Return a default value
2019-10-21 12:43:40 -04:00
Miroslav Kovar
5501418727
Fix failing test
2019-10-21 12:43:40 -04:00
Miroslav Kovar
2737b3635f
Revert last change
2019-10-21 12:43:40 -04:00
Miroslav Kovar
e29688530d
Do not close files unnecessarily
2019-10-21 12:43:40 -04:00
Miroslav Kovar
2eec26b648
Clean up
2019-10-21 12:43:40 -04:00
Miroslav Kovar
d4d1d87680
Revert changes to cli, apply suggestions
2019-10-21 12:43:40 -04:00
Miroslav Kovar
869be3e361
Improve tests, update suggested file name when necessary
2019-10-21 12:43:40 -04:00
Miroslav Kovar
15376c19be
Apply suggestions
2019-10-21 12:43:40 -04:00
Miroslav Kovar
f92b610a03
Simplify
2019-10-21 12:43:40 -04:00
Miroslav Kovar
268f6447cb
Sanitize suggested, add tests
2019-10-21 12:43:40 -04:00
Miroslav Kovar
ed93c647d2
Sanitize file names before saving
2019-10-21 12:43:40 -04:00
Lex Berezhny
f60db358ee
v0.43.3
2019-10-18 18:10:01 -04:00
Lex Berezhny
481e265ec7
added wallet.save() in test since it is no longer saved redundantly on startup
2019-10-18 18:08:43 -04:00
Lex Berezhny
d50ebcf9eb
do not save wallet if gap did not change, also dont encrypt on save if already encrypted
2019-10-18 18:08:43 -04:00
Lex Berezhny
c448531551
dont save wallet on startup regardless of changes
2019-10-18 18:08:43 -04:00
Jack Robison
afe24a3e65
update time_to_first_byte.py
2019-10-18 15:59:21 -04:00
Jack Robison
9058201de0
update download_blob_from_peer.py
2019-10-18 15:59:21 -04:00
Jack Robison
49a54f8a13
fix total_sent
and total_received
in connection status
...
- remove `time` field from connection status
- add `max_incoming_mbs` and `max_outgoing_mbs` to connection status
- reduce delay in connection status loop
2019-10-18 15:59:21 -04:00
Lex Berezhny
5cebc7f5cd
pylint
2019-10-18 12:02:36 -04:00
Lex Berezhny
4e7e475a5e
minor fixups for logging
2019-10-18 12:02:36 -04:00
Miroslav Kovar
f8a5bc94e5
Pass root logger instead
2019-10-18 12:02:36 -04:00
Miroslav Kovar
6b0b441329
Fix logging bug
2019-10-18 12:02:36 -04:00
Lex Berezhny
1c8aad7a07
fix for encrypted wallet with import read-only channel accounts
2019-10-17 22:28:44 -04:00
Lex Berezhny
7743a6a71d
v0.43.2
2019-10-17 13:38:52 -04:00
Lex Berezhny
65a18e78dd
publish checks all accounts before forwarding to stream_create/stream_update
2019-10-17 13:38:19 -04:00
Lex Berezhny
12a0cbf4e1
improve preference sync integration test
2019-10-16 17:19:10 -04:00
Lex Berezhny
55c2073813
v0.43.1
2019-10-16 15:50:10 -04:00
Lex Berezhny
39bc8c45c3
test fix
2019-10-16 15:49:10 -04:00
Lex Berezhny
46465f5409
removed WALLET_IS_UNLOCKED condition since it does not take into account multi-wallet
2019-10-16 15:49:10 -04:00
Lex Berezhny
380efc5ae0
regen docs
2019-10-16 12:06:05 -04:00
Lex Berezhny
d1a123997d
sync_apply always updates local password if encrypt-on-disk is enabled
2019-10-16 12:06:05 -04:00
Lex Berezhny
722419dffc
migrate per-account on disk encryption to encrypt-on-disk preference
2019-10-16 12:06:05 -04:00
Lex Berezhny
bcd69f812e
sync_apply overwrites local password when encrypt-on-disk is true
2019-10-16 12:06:05 -04:00
Lex Berezhny
1075cd9995
regenerated api.json
2019-10-16 12:06:05 -04:00
Lex Berezhny
e5be1ff157
bug fixes and encrypt-on-disk preference
2019-10-16 12:06:05 -04:00
Lex Berezhny
398fe55083
renamed: test_sync.py -> test_wallet_commands.py
2019-10-16 12:06:05 -04:00
Lex Berezhny
26d17e2e69
updated api.json docs
2019-10-15 12:12:35 -04:00
Lex Berezhny
43b619b2c6
release script fix for PRs with null body
2019-10-14 19:09:32 -04:00
Lex Berezhny
0e4426e084
v0.43.0
2019-10-14 13:07:15 -04:00
Jack Robison
a27943ea14
update time_to_first_byte.py
2019-10-14 12:59:59 -04:00
Lex Berezhny
45eef03576
fixes
2019-10-14 12:57:09 -04:00
Lex Berezhny
270f77df24
wallet encryption
2019-10-14 12:57:09 -04:00
Lex Berezhny
dc580b9eff
wip wallet encrypt/decrypt API
2019-10-14 12:57:09 -04:00
Lex Berezhny
fed7e94d8d
added wallet send command
2019-10-14 10:43:54 -04:00
Lex Berezhny
9bb0ca2f0d
async def
2019-10-13 22:32:09 -04:00
Lex Berezhny
3d82becadc
utxo release applies to all accounts in wallet
2019-10-13 22:32:09 -04:00
Lex Berezhny
e2b92c99ef
added wallet balance command
2019-10-13 20:06:11 -04:00
Lex Berezhny
37ae302fc6
timestamped top-level wallet preferences
2019-10-12 20:23:29 -04:00
Alex Grin
c51cc02a87
Merge pull request #2527 from lbryio/faster_trending
...
only do trending calculations near the tip of the chain
2019-10-11 13:20:35 -04:00
Thomas Zarebczan
6c92fbd8de
add oga and ogv mime types
...
https://gingertech.net/2008/09/05/new-ogg-mime-types-ratified/#targetText=The%20new%20Ogg%20MIME%20types,I%20files%20for%20backwards%20compatibility .
2019-10-11 11:40:36 -04:00
Alex Grintsvayg
065215cc27
only do trending calculations near the tip of the chain
2019-10-11 10:51:50 -04:00
Miroslav Kovar
19e8b6e11f
Add test
2019-10-11 10:12:18 -04:00
Miroslav Kovar
63447d1ec3
Make more readable
2019-10-11 10:12:18 -04:00
Miroslav Kovar
75fac93544
Make --verbose behave as per doc
2019-10-11 10:12:18 -04:00
Alex Grintsvayg
284fdb2fcb
small clarifying changes
2019-10-09 15:42:32 -04:00
Jack Robison
35d2d55a27
handle error if range request transport is reset
2019-10-08 14:37:51 -04:00
Jack Robison
5cd0828dd3
force ipv4 when resolving a url
...
-log violating ip addresses
2019-10-08 13:31:06 -04:00
Jack Robison
077281a77a
v0.42.2
2019-10-07 13:03:51 -04:00
Jack Robison
f99aacd9dc
improve store_to_peer retry, reduce error verbosity
2019-10-07 12:26:49 -04:00
Jack Robison
43b83bec83
remove dead code
2019-10-07 12:26:49 -04:00
Jack Robison
fc1b4658fc
re-use loggly connection
2019-10-07 12:26:49 -04:00
Victor Shyba
05a28ea346
handle attempts to add peers with no node id and issue a warning
2019-10-07 13:20:38 -03:00
Victor Shyba
624f986978
handle peer_is_good for unknown node id
2019-10-07 13:20:38 -03:00
Victor Shyba
91a9957918
avoid peer mutability
...
Mutability can be harmful here, specially on fields used for __hash__
It can also make the cache less efficient
2019-10-07 13:20:38 -03:00
Victor Shyba
8cd18e47e7
get_kad... -> make_kad..
2019-10-07 13:20:38 -03:00
Victor Shyba
517868f73c
fix unit tests
2019-10-07 13:20:38 -03:00
Victor Shyba
18d80f4ed5
1 and 65536 arent valid ports
2019-10-07 13:20:38 -03:00
Victor Shyba
2e2c751d75
check for none on tcp port
2019-10-07 13:20:38 -03:00
Victor Shyba
7aa5e2cbe1
use a dataclass experiment
2019-10-07 13:20:38 -03:00
Victor Shyba
7d6db20081
use cache for dht peer objects
2019-10-07 13:20:38 -03:00
Miroslav Kovar
911ec9444b
Decrease the status refresh rate
2019-10-07 11:42:40 -04:00
Miroslav Kovar
2883c6bab3
Fix incorrect counting of total bytes sent / received
2019-10-07 11:42:40 -04:00
Lex Berezhny
56df145052
updating/abanding streams/channels works across all accounts
2019-10-07 09:57:22 -04:00
Lex Berezhny
9e873f77f9
bug fixes related to cross-account / wallet operations
2019-10-07 09:57:22 -04:00
Alex Grintsvayg
27bbd91635
include fn name and args in jsonrpc error message
2019-10-04 11:25:01 -04:00
Alex Grintsvayg
2c73c80c9f
fix formatting
2019-10-04 09:52:29 -04:00
Hugo
3a3a9b5f4e
Fix spelling
2019-10-03 21:40:06 -04:00
Lex Berezhny
3f89ed4579
v0.42.1
2019-09-30 12:59:45 -04:00
Lex Berezhny
02b01b89f2
fix for wallet_remove command
2019-09-30 12:57:33 -04:00
Victor Shyba
4a6af0b938
retriable resolve
2019-09-30 12:57:18 -04:00
Alex Grintsvayg
9c5b4e3cc9
change trending window to 6 hours
2019-09-30 11:25:52 -04:00
Victor Shyba
348bbc81ca
fix for new pylint in lbry/
2019-09-24 12:53:23 -03:00
Lex Berezhny
4cbc82619d
v0.42.0
2019-09-23 13:50:21 -04:00
Lex Berezhny
dc72a1e58d
fix wallet_create single_key argument
2019-09-23 13:49:50 -04:00
Lex Berezhny
1d5333c737
integration test fix
2019-09-23 13:49:50 -04:00
Lex Berezhny
d289041ff3
regnerated docs
2019-09-23 13:49:50 -04:00
Lex Berezhny
f287483397
split wallet creation into wallet_add and wallet_create
2019-09-23 13:49:50 -04:00
Lex Berezhny
1ac3b6c173
wallet_list optionally takes wallet_id
2019-09-23 13:49:50 -04:00
Lex Berezhny
835d376ca6
wallet_id arg added to more commands
2019-09-23 13:49:50 -04:00
Lex Berezhny
68e9fd8541
account integration test fix
2019-09-23 13:49:50 -04:00
Lex Berezhny
e49f8f8c61
regenerated docs
2019-09-23 13:49:50 -04:00
Lex Berezhny
b396322f1e
removed default_account and default_wallet on Daemon instance
2019-09-23 13:49:50 -04:00
Lex Berezhny
ea434e3469
wallet_id related test fixes
2019-09-23 13:49:50 -04:00
Lex Berezhny
84587ac232
wallet commands and wallet_id argument to other commands
2019-09-23 13:49:50 -04:00
Miroslav Kovar
9fbc83fe9d
Always handle claim_name as a string
2019-09-20 14:22:01 -04:00
Victor Shyba
965972a719
match regex from app into ours
2019-09-19 17:30:22 -04:00
Miroslav Kovar
34d19c4a72
Remove superfluous test
2019-09-19 17:16:18 -04:00
Miroslav Kovar
9b0910767d
Fix formatting, support null argument only
2019-09-19 17:16:18 -04:00
Miroslav Kovar
32cc077e1f
enable to set max_key_fee to null via cli
2019-09-19 17:16:18 -04:00
Miroslav Kovar
1e7bec48b6
Add integration test, remove unit test
2019-09-19 15:21:01 -04:00
Miroslav Kovar
c035837a14
Fix failing key payment for null max key fee
2019-09-19 15:21:01 -04:00
Miroslav Kovar
cb5eb8983b
Fix docopt for claim search
2019-09-18 19:30:58 -04:00
Thomas Zarebczan
826f584aa8
add Flac mime type
2019-09-18 19:20:09 -04:00
Victor Shyba
c5530aee5f
refactor tests
2019-09-18 19:19:34 -04:00
Victor Shyba
817f01593e
call the correct method on is_valid_address
2019-09-18 19:19:34 -04:00
Jack Robison
46b45d0387
gotta fetch 'em all
2019-09-17 12:09:19 -04:00
Jack Robison
e6c549c457
remove redundant query from sync_missing_blobs
2019-09-17 12:09:19 -04:00
Jack Robison
a095f89c81
remove redundant test
2019-09-17 12:09:19 -04:00
Alex Grintsvayg
1791d8e4ee
rebased oleg's PR. closes #2446
2019-09-17 11:04:34 -04:00
Lex Berezhny
81f16d7061
refactored address_list API to be more detailed
2019-09-17 09:08:29 -04:00
Lex Berezhny
5c151a3a09
v0.41.0
2019-09-16 13:24:11 -04:00
Lex Berezhny
063eeb34ec
fix channel import test to wait for address subscription tasks to finish before looking up channel
2019-09-16 13:21:45 -04:00
Lex Berezhny
f06192601c
dont fail when claim is not decodable
2019-09-16 13:21:45 -04:00
Lex Berezhny
091221ba2c
added wallet/constants.py
2019-09-16 13:21:45 -04:00
Lex Berezhny
7c22111ae0
channel certificate and channel claim can be different accounts, also JSON RPC responses now include a field showing if the channel certificate is available
2019-09-16 13:21:45 -04:00
Alex Grintsvayg
32ee7feea8
download wallet snapshot on first run
2019-09-16 12:24:44 -04:00
Victor Shyba
291d14f2d4
move as_dict to json_encoder
2019-09-12 14:08:37 -03:00
Victor Shyba
4a68137cfa
remove dead code
2019-09-12 14:08:37 -03:00
Jack Robison
f9880c8931
test sqlite binding error
2019-09-09 21:46:04 -04:00
Lex Berezhny
b876896628
v0.40.1
2019-09-09 13:00:12 -04:00
Lex Berezhny
5dbc749000
v0.40.0
2019-09-03 12:36:00 -04:00
Lex Berezhny
36fbd91280
generate docs
2019-09-03 12:00:29 -04:00
Lex Berezhny
d2ad3e7ff1
initial kv store
2019-09-03 12:00:29 -04:00
Victor Shyba
6c79f98d3c
connect directly on test server
2019-09-03 11:29:02 -03:00
Victor Shyba
8edebbb684
fix tests for transaction show
2019-09-02 15:43:33 -03:00
Victor Shyba
96800de052
switch tests and fixes + support for multiple servers
2019-08-31 06:37:29 -03:00
Victor Shyba
9df659b647
no chdir
2019-08-31 06:37:29 -03:00
Lex Berezhny
aec0bd5d11
fix intermittent bug where claim metadata was cleared out
2019-08-30 09:44:30 -04:00
Lex Berezhny
c1c9c2c578
regenerate api.json
2019-08-28 12:55:19 -04:00
Lex Berezhny
c739fa3ca1
fixed typo in daemon API doc
2019-08-26 13:22:42 -04:00
Lex Berezhny
355dfcb6c1
v0.39.3
2019-08-26 13:06:26 -04:00
Oleg Silkin
8f7c291e33
Adds comment_hide functionality
2019-08-26 12:43:07 -04:00
Jack Robison
97c0b60a22
logging
2019-08-26 11:17:39 -03:00
Lex Berezhny
8a284d6c49
metrics reporting fix for wallet servers
2019-08-26 09:39:42 -04:00
Jack Robison
aedce256af
fix wallet status silently breaking when offline
...
-update wallet status to use real latency values and the full list of connected servers
2019-08-22 13:11:17 -04:00
Jack Robison
48b4b97132
fix uncaught exchange rate manager errors when going offline
2019-08-22 13:11:17 -04:00
Jack Robison
6b1f88df66
fix status
breaking (and loggly) when the internet connection is lost
2019-08-22 13:11:17 -04:00
Victor Shyba
7fdd9dc293
fix annoying assertEquals warning
2019-08-21 22:03:24 -03:00
Victor Shyba
202861a900
fix unpack leftovers
2019-08-21 22:03:24 -03:00
Alex Grintsvayg
bbd4bb99b7
committing my claim search test script
2019-08-21 13:28:30 -04:00
Jack Robison
416c3c16ab
v0.39.2
2019-08-20 20:37:20 -04:00
Lex Berezhny
c60b658443
v0.39.1
2019-08-19 13:02:16 -04:00
Jack Robison
deb6a07160
fix test
2019-08-19 12:51:17 -04:00
Jack Robison
0a66e1b24c
logging
2019-08-19 12:29:13 -04:00
Jack Robison
5119b71035
prevent attempting to download from oneself
2019-08-19 12:08:17 -04:00
Jack Robison
33945e14d3
use _value_producer in peer_list
to match the downloader behavior
2019-08-19 12:08:17 -04:00
Jack Robison
1d9705fb17
reuse blob protocol object instead of transport
2019-08-19 12:08:17 -04:00
Jack Robison
1949937b5e
bump aioupnp requirement to 0.0.14
2019-08-19 10:51:20 -04:00
Lex Berezhny
956e21269e
monitor wallet server block transitions and report if new block is excessively delayed
2019-08-19 09:52:37 -04:00
Alex Grin
ff73418fc1
Merge pull request #2371 from lbryio/basenetwork_refactor
...
refactor basenetwork so each session takes care of itself
2019-08-16 10:19:53 -04:00
Victor Shyba
ab6944b7b0
wallet server: dont fail to start on segwit txs
2019-08-14 10:26:02 -03:00
Victor Shyba
4d741bd200
update lbrycrd to 17, add option to disable segwit for now
2019-08-13 18:07:15 -03:00
Victor Shyba
f3a163b382
fix names and types
2019-08-12 18:16:58 -03:00
Victor Shyba
022d60ec2c
both exceptions can be raised, depending on when the call happens
2019-08-12 18:16:57 -03:00
Victor Shyba
5728493abb
refactor basenetwork so each session takes care of itself
2019-08-12 18:16:57 -03:00
Lex Berezhny
af1c8ec35c
adding missing comma in wallet_server_monitor
2019-08-12 14:16:47 -04:00
Lex Berezhny
cb84abfb88
v0.39.0
2019-08-12 13:01:16 -04:00
Jack Robison
357ce881a6
more blob exchange tests
2019-08-12 10:47:28 -04:00
Jack Robison
aa417f5410
test max request size
2019-08-12 10:47:28 -04:00
Jack Robison
0ca29b9518
test idle timeout
2019-08-12 10:47:28 -04:00
Jack Robison
22db04068e
add server side timeouts for idle blob exchange connections and slow transfers
2019-08-12 10:47:28 -04:00
Jack Robison
65e74281e0
max request size
2019-08-12 10:47:28 -04:00
Lex Berezhny
46d89929ba
fixup balance tests and other stuff
2019-08-12 10:22:14 -04:00
Lex Berezhny
1c941a355b
regenerate api docs
2019-08-12 10:22:14 -04:00
Lex Berezhny
0d6248fbeb
fix torba tests
2019-08-12 10:22:14 -04:00
Lex Berezhny
98d4d00f96
most commands now work across all accounts
2019-08-12 10:22:14 -04:00
Jack Robison
e2d618f472
formatting in time_to_first_byte.py
...
-pending claim_type being usable in claim_search, don't try downloading channel claims in time_to_first_byte.py
2019-08-12 00:49:33 -04:00
Victor Shyba
13891330d9
check blob hashes from completed_blob_hashes
2019-08-11 19:11:13 -03:00
Jack Robison
b8b42a1fd2
add error_message to ttfb analytics, update tests
2019-08-09 12:55:01 -04:00
Jack Robison
fba1b28615
add connected_servers
field to wallet status
...
-add `wallet_server` to time to first bytes analytics event
2019-08-09 12:54:38 -04:00
Lex Berezhny
98828387e3
slow queries saved to metabase
2019-08-06 20:41:14 -04:00
Lex Berezhny
1c12247b71
updated wallet_server_monitor to update slack
2019-08-06 17:44:31 -04:00
Lex Berezhny
ee10ebd5d7
renamed lbry/scripts/wallet_server_metabase_analytics.py -> lbry/scripts/wallet_server_monitor.py
2019-08-06 16:07:45 -04:00
Lex Berezhny
9937ad6e85
v0.38.7
2019-08-05 13:40:49 -04:00
Jack Robison
60ce393531
remove comment
2019-08-05 13:39:38 -04:00
Jack Robison
bc33cad999
add test for connection failure analytics
2019-08-05 13:39:38 -04:00
Jack Robison
4261b50d9d
include connection failure count in ttfb analytics
2019-08-05 13:39:38 -04:00
Jack Robison
e2b3141536
typing
2019-08-05 13:39:38 -04:00
Thomas Zarebczan
266aa1b15d
update delete>abandon
2019-08-05 12:42:25 -04:00
Oleg Silkin
b57a7475c5
Fixes comment docs & adds wallet component requirement on comment funcs
2019-08-05 12:42:25 -04:00
Victor Shyba
8cf48eb5f7
move granular balances logic to account method
2019-08-05 11:08:33 -04:00
Victor Shyba
35541bbbb9
new api format, hide subtotals by default
2019-08-05 11:08:33 -04:00
Victor Shyba
59424a3e73
add query to get tips summary for granular balances
2019-08-05 11:08:33 -04:00
Victor Shyba
2056888667
implement tips_received tips_sent, wip, in python for now
2019-08-05 11:08:33 -04:00
Victor Shyba
1e54785742
add granular balances
2019-08-05 11:08:33 -04:00
Lex Berezhny
a58ed6f331
wallet server metabase analytics script
2019-08-05 09:23:47 -04:00
Lex Berezhny
e9098887fb
script to check channel signature
2019-08-01 17:27:54 -04:00
Jack Robison
221585908a
re-raise unexpected resolve error during download as a ResolveError
2019-07-29 17:56:30 -04:00
Jack Robison
f4c111f04c
handle null content fee
2019-07-29 17:56:24 -04:00
Alex Grin
de12e25450
v0.38.6
2019-07-29 15:11:18 -04:00
Oleg Silkin
2545ebbece
Adds unittests & fixes comment_client functions
2019-07-29 14:55:42 -04:00
Oleg Silkin
14ec6ce43b
Adds unit-testing for delete comment signatures
2019-07-29 14:55:42 -04:00
Oleg Silkin
0cac1e65aa
Imports comment_client and uses dot notation for rest of modules
2019-07-29 14:55:42 -04:00
Oleg Silkin
1e4d57ab83
Simplifies signing function into one to make API symmetric
2019-07-29 14:55:42 -04:00
Oleg Silkin
49b42b7e03
Simplifies
2019-07-29 14:55:42 -04:00
Oleg Silkin
89c0b5dbdf
adds comment abandon function
2019-07-29 14:55:42 -04:00
Lex Berezhny
8138675808
added index for claim_type searches
2019-07-29 14:55:07 -04:00
Jack Robison
356b3c85e5
use app default order_by
2019-07-28 21:42:04 -04:00
Jack Robison
1a0680ead9
update claim_search_performance.py, add new test cases shown by time_to_first_byte.py
2019-07-28 21:22:07 -04:00
Jack Robison
c876d891fa
use perf_counter
2019-07-28 21:18:29 -04:00
Jack Robison
a08232f164
fix claim search kwargs in time to first byte script
2019-07-28 21:18:13 -04:00
Victor Shyba
0f8cf46626
refactor and fix ttfb for new api
2019-07-28 17:33:37 -04:00
Alex Grin
95017b5fc8
v0.38.5
2019-07-25 13:22:54 -04:00
Jack Robison
35e7cc685f
fix logging error
2019-07-24 22:12:51 -04:00
Victor Shyba
2ac4883bda
cleanup and fix prober
2019-07-24 22:32:20 -03:00
Victor Shyba
5a7212aebb
gotta probe 'em all
2019-07-24 20:26:38 -03:00
Lex Berezhny
3f39cc2955
v0.38.4
2019-07-24 18:02:03 -04:00
Lex Berezhny
8a5bfe884a
save channel keys into wallet before broadcasting
2019-07-24 18:00:06 -04:00
Lex Berezhny
046dd53913
add index to filter by fee_amount and order by release_time
2019-07-24 14:27:59 -04:00
Alex Grintsvayg
d2f174635c
add script to monitor wallet servers for slow queries
2019-07-24 13:36:22 -04:00
Lex Berezhny
01a760d8f0
v0.38.3
2019-07-23 17:44:38 -04:00
Victor Shyba
9215d2c9f9
log that checkpoint succeeded
2019-07-23 17:44:13 -04:00
Victor Shyba
0bb09ae91e
use checkpoint to speed up
2019-07-23 17:44:13 -04:00
Victor Shyba
6f5a595975
check from final size instead of partials
2019-07-23 17:44:13 -04:00
Victor Shyba
8a69ec062e
download headers to disk and repair instead of connecting each
2019-07-23 17:44:13 -04:00
Victor Shyba
45fb673e49
dont fail when s3 is out of reach
2019-07-23 17:44:13 -04:00
Lex Berezhny
93b5f1809e
revert to v0.38.2 so we can release v0.38.3 again
2019-07-23 17:43:04 -04:00
Alex Grin
ff05eaae48
v0.38.3
2019-07-23 11:14:20 -04:00
Alex Grin
77235f0ad8
v0.38.2
2019-07-22 17:45:43 -04:00
Alex Grintsvayg
f6a80ba929
Revert "v0.38.2"
...
This reverts commit 295ceb90d5
.
2019-07-22 17:45:12 -04:00
Alex Grin
295ceb90d5
v0.38.2
2019-07-22 13:31:20 -04:00
Victor Shyba
df41a82b23
fix integration test
2019-07-22 11:31:45 -04:00
Alex Grintsvayg
1e6097e3b2
more spv dns entries
2019-07-22 11:24:12 -04:00
Lex Berezhny
521facedc4
script to find max server load
2019-07-22 00:15:05 -04:00
Lex Berezhny
de80a2ba97
fixed 0 results when only filtering by lots of common tags
2019-07-21 19:44:10 -04:00
Lex Berezhny
3afd615447
dont run common tag optimization strategy if there are 5 or more common tags provided
2019-07-20 15:45:15 -04:00
Lex Berezhny
87e52bec0a
successfuly run indexes after full wallet server sync
2019-07-20 15:45:15 -04:00
Lex Berezhny
b89f04b1f1
fix claim integration tests
2019-07-20 15:45:15 -04:00
Lex Berezhny
e4f802e5f4
when resolving inside channel break a tie of claims with same effective_amount by using height
2019-07-20 15:45:15 -04:00
Lex Berezhny
16fc2c456f
moved executing create index queries outside of a tx
2019-07-20 15:45:15 -04:00
Lex Berezhny
ef7656ae98
removed some dead code
2019-07-20 15:45:15 -04:00
Lex Berezhny
ad2df4871e
popular tags are indexed and use different search strategy than less popular tags
2019-07-20 15:45:15 -04:00
Jack Robison
8d5f50b695
improve claim search test script to show sql for nearly interrupted queries
2019-07-19 14:17:21 -04:00
Lex Berezhny
bbc056eef0
added better stats to sqlite_perf_test.py
2019-07-19 11:26:50 -04:00
Jack Robison
82fd3c632e
another claim search performance test case
2019-07-19 10:50:37 -04:00
Jack Robison
dbae939808
claim search performance test
2019-07-19 10:42:38 -04:00
Jack Robison
c2dcacb0de
more test cases
2019-07-19 10:37:15 -04:00
Lex Berezhny
8f45618cd0
added improved effective_amount index covering release_time
2019-07-18 23:24:00 -04:00
Lex Berezhny
29a87c850c
fix sqlite_perf_test
2019-07-18 19:54:38 -04:00
Lex Berezhny
08da763327
more metrics cleanup
2019-07-18 19:54:38 -04:00
Lex Berezhny
d7ec3c182d
tuples
2019-07-18 19:54:38 -04:00
Lex Berezhny
ffe6418392
fix metrics json response test
2019-07-18 19:54:38 -04:00
Lex Berezhny
88adf3ee27
oops
2019-07-18 19:54:38 -04:00
Lex Berezhny
d5f8af471a
pylint
2019-07-18 19:54:38 -04:00
Lex Berezhny
046459a72d
refactored websockets and metrics
2019-07-18 19:54:38 -04:00
Lex Berezhny
49b0f59790
added metrics module
2019-07-18 19:54:38 -04:00
Victor Shyba
576ef9c4ed
remove unused variable
2019-07-17 18:54:21 -03:00
Victor Shyba
4d64fca9de
fix memory blob showing as completed/verified
2019-07-17 18:54:21 -03:00
Victor Shyba
8b1307e1ca
file status completed set only if all bytes were written
2019-07-17 18:54:21 -03:00
Victor Shyba
6997ea608d
fix reconnect and timeouts
2019-07-16 23:59:28 -03:00
Alex Grintsvayg
d97d738880
remove RCs from release tool
2019-07-16 21:35:21 -04:00
Lex Berezhny
f72b07d0f4
fixup
2019-07-16 21:28:36 -04:00
Lex Berezhny
b89916a3d7
guarded dict access
2019-07-16 21:15:39 -04:00
Lex Berezhny
e4aeb66257
claim_list doesnt blow up
2019-07-16 21:08:51 -04:00
Jack Robison
8fbf82f4ea
filter mutually exclusive tags
2019-07-16 20:05:49 -04:00
Jack Robison
478ae7e657
add claim search performance script
2019-07-16 20:05:49 -04:00
Jack Robison
d319761483
interrupt slow queries and log them for debugging
...
- add QUERY_TIMEOUT_MS env variable
- return sqlite timeout errors, jsonrpc error code -32000
2019-07-16 20:05:45 -04:00
Lex Berezhny
31284e0c5e
dont run empty queries
2019-07-16 13:57:22 -04:00
Lex Berezhny
8e64b1840d
added errors key to metrics tracking
2019-07-16 13:39:17 -04:00
Thomas Zarebczan
76a27fdef1
str > list for a few fields
2019-07-16 00:59:06 -04:00
Lex Berezhny
0f1bde2274
pylint
2019-07-16 00:57:53 -04:00
Lex Berezhny
e02a4e44c0
working resolve/search caching
2019-07-16 00:57:53 -04:00
Lex Berezhny
71dc882d5d
indexes update
2019-07-16 00:57:53 -04:00
Lex Berezhny
ae4a29d41c
prevent duplicate tags
2019-07-16 00:57:53 -04:00
Lex Berezhny
d27a3b6421
support for UN M.49 region codes in language
2019-07-16 00:57:53 -04:00
Lex Berezhny
03a58cf50a
added lrucache to search/resolve
2019-07-16 00:57:53 -04:00
Lex Berezhny
6d7aa93157
sqlite_perf_test uses lbry.wallet.server.db.reader
2019-07-16 00:57:53 -04:00
Lex Berezhny
d083910255
refactored metrics gathering for wallet server
2019-07-16 00:57:53 -04:00
Lex Berezhny
db3f9af174
refactored metrics gathering for wallet server
2019-07-16 00:57:53 -04:00
Lex Berezhny
1eebe006ae
pylint
2019-07-16 00:57:53 -04:00
Lex Berezhny
0327ce53a6
uncomment imports
2019-07-16 00:57:53 -04:00
Lex Berezhny
dc8b4b5252
instrument wallet.server.db.reader with timer metrics
2019-07-16 00:57:53 -04:00
LBRY bot
1923e6f152
v0.38.1
2019-07-15 12:02:18 -04:00
Lex Berezhny
0d621e085b
v0.38.1rc1
2019-07-15 11:58:13 -04:00
Victor Shyba
510d88fff1
remove unused checksum, add typing
2019-07-13 01:21:26 -04:00
Victor Shyba
d9460dcd9e
refactor and clean up
2019-07-13 01:21:26 -04:00
Victor Shyba
d0607b6fec
make header component use torba headers
2019-07-13 01:21:26 -04:00
Victor Shyba
14f743c493
show status where expected
2019-07-13 01:21:26 -04:00
Victor Shyba
df8fe2e3ef
bump header checksum
2019-07-13 01:21:26 -04:00
Victor Shyba
906fea972e
remove lost warning message
2019-07-13 01:21:26 -04:00
Victor Shyba
f2944fd33b
if no headers, best block hash is genesis
2019-07-13 01:21:26 -04:00
Victor Shyba
dcb1e53aba
remove unused network command
2019-07-13 01:21:26 -04:00
Victor Shyba
a4d8508b40
update remote height on demand
2019-07-13 01:21:26 -04:00
Lex Berezhny
c5aeac6898
sqlite performance script measures sql time inside each process individually
2019-07-11 20:10:28 -04:00
Lex Berezhny
b81c801f2d
sqlite perf test script
2019-07-11 19:20:58 -04:00
Lex Berezhny
cc098f3090
refactored wallet server db reader to support thread pool and process pool
2019-07-11 14:04:49 -04:00
Lex Berezhny
a73c5aec27
pylint
2019-07-11 14:04:49 -04:00
Lex Berezhny
68b29d9529
multi-process query executor
2019-07-11 14:04:49 -04:00
Alex Grintsvayg
5176feed81
let daemon be shut down before it has fully started. fixes #2231
2019-07-09 16:55:48 -04:00
Lex Berezhny
8c63033461
tx parsing speedup and faster wallet sync
2019-07-09 02:20:56 -04:00
Lex Berezhny
8c878f8e25
claim search uses different tag filtering approaches depeding on query type
2019-07-08 16:33:24 -04:00
Lex Berezhny
99d21e93f3
added --no_totals argument to claim_search
2019-07-07 23:51:32 -04:00
Lex Berezhny
350e610f15
handle invalid fee in old JSON claims
2019-07-06 20:53:03 -04:00
Thomas Zarebczan
4f208b6b31
Merge pull request #2286 from osilkin98/2279-fix
...
Fixes corner case on comment validation for pending channel
2019-07-03 14:14:47 -04:00
Thomas Zarebczan
09db71ae7f
Update comment_client.py
2019-07-02 23:39:27 -04:00
Thomas Zarebczan
60dc43340d
use util.aiohttp
...
Fix certificate errors
2019-07-02 18:38:43 -04:00
Oleg Silkin
256b10bd7d
Merge branch 'master' into 2279-fix
2019-07-02 12:01:00 -04:00
Oleg Silkin
77adcaeb50
Fixes corner case where channel is pending confirmation
2019-07-02 11:58:24 -04:00
Jack Robison
a2953ac9ac
test session bloat from timed out sockets
2019-07-01 11:36:26 -04:00
Jack Robison
4f5a4d9ce0
add track_bandwidth
config setting to disable bandwidth usage in status
2019-07-01 09:54:06 -04:00
Lex Berezhny
82f2ad21e1
added IGNORE to insert into trend query
2019-06-28 16:02:54 -04:00
Lex Berezhny
86b46ebf19
fix for has_channel_signature in claim_search
2019-06-26 19:19:10 -04:00
Lex Berezhny
ca999053ae
update lbrycrd to v0.12.4.1
2019-06-26 12:40:26 -04:00
Lex Berezhny
8b152f3c96
check for valid fee.currency and fee.amount before processing
2019-06-26 10:44:33 -04:00
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
Lex Berezhny
8195deebe3
updated generated docs
2019-06-25 15:34:32 -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
d667efa9de
remove docker wine based windows build process scripts
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
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
816cde32a9
fix support reorg error
2019-06-23 10:56:59 -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
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
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
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
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
ee6f511126
moved lbrynet -> lbry
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
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
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
1ec1ad19f8
pin to mypy==0.701
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