Commit graph

7879 commits

Author SHA1 Message Date
Lex Berezhny
9ce8910b42 updated unit test imports 2020-11-17 14:53:48 -05:00
Lex Berezhny
fa85558d71 wip 2020-11-17 14:53:48 -05:00
Alex Grintsvayg
999e4209fa
add missing flag in usage 2020-11-11 16:59:53 -05:00
Alex Grintsvayg
7d82a4573f
add indexes to optimize sum_supports query 2020-11-11 16:56:32 -05:00
Victor Shyba
c1aa9b8150 ignore blocks marked as BLOCK_FAILED_VALID and BLOCK_FAILED_CHILD 2020-10-26 16:33:26 -04:00
Alex Grintsvayg
daed032bb7 return total instead of percent so frontend can display percentage precisely 2020-10-21 10:34:18 -04:00
Alex Grintsvayg
abebc0d878 add more tests, flag to exclude own supports 2020-10-21 10:34:18 -04:00
Alex Grintsvayg
4bb0344e05 add sum_supports api 2020-10-16 10:44:47 -04:00
Lex Berezhny
0215ce6b79 renamed expander functions to have different name from actual arguments by prepending extract_ 2020-10-05 17:24:02 -04:00
Lex Berezhny
b9cf130344 fix for takeover height calculation 2020-09-25 15:02:31 -04:00
Lex Berezhny
85b8877933
Merge pull request #3039 from lbryio/fwss_fix_resolve
Include enough information in resolve protobuf so its possible to verify signatures
2020-09-24 20:57:56 -04:00
Lex Berezhny
bba9aec4f2 added respoted_count calculation 2020-09-24 15:19:30 -04:00
Lex Berezhny
2853bb437d make TXs pickleable 2020-09-24 12:27:06 -04:00
Victor Shyba
2d7929f113 fixme->TODO 2020-09-23 14:39:24 -03:00
Victor Shyba
24386c74f4 fix test_nulls 2020-09-23 08:38:33 -04:00
Victor Shyba
0a2c161ace make short_url and canonical_url match old SDK 2020-09-23 08:38:33 -04:00
Victor Shyba
18b25f5146 add and test takeover info on resolve 2020-09-23 08:38:33 -04:00
Victor Shyba
1a5292aaf4 add expiration_height 2020-09-23 08:38:33 -04:00
Victor Shyba
39ba2a8b7f log errors for on_rpc 2020-09-23 08:38:33 -04:00
Victor Shyba
25b63c988f further fixes to effective amount 2020-09-23 08:38:33 -04:00
Victor Shyba
fdac6416a1 tests: find_claim_txo for reliability in some places 2020-09-23 08:38:33 -04:00
Victor Shyba
4783e6da1f fix effective_amount 2020-09-23 08:38:33 -04:00
Victor Shyba
9c1d593e54 fix set_reference 2020-09-23 08:38:33 -04:00
Victor Shyba
fa34ff88bc refactor db, make resolve censor right 2020-09-23 08:38:33 -04:00
Victor Shyba
6690e63ea4 remove commented code and unused import 2020-09-23 08:38:33 -04:00
Victor Shyba
c7eb60619f separate test for not found message 2020-09-23 08:38:33 -04:00
Victor Shyba
cb98fbc619 fix not found raising, add a test 2020-09-23 08:38:33 -04:00
Victor Shyba
4fcfa0b193 add channel information on resolve protobuf and test for its presence 2020-09-23 08:38:33 -04:00
Lex Berezhny
8cde120928 start --full-node -> start node 2020-09-23 08:37:45 -04:00
Lex Berezhny
052ef73226 pylint 2020-09-21 22:17:45 -04:00
Lex Berezhny
082a91dc15 use LEFT JOIN instead of IN for faster get_block_range_without_filters() 2020-09-21 22:04:50 -04:00
Lex Berezhny
d10a88c79b script hash addresses 2020-09-21 21:46:41 -04:00
Lex Berezhny
62a3022a3d support for old public key addresses 2020-09-21 15:27:47 -04:00
Lex Berezhny
4e6bdb64a8
Merge pull request #3043 from lbryio/bip-158
Sync block filters
2020-09-21 12:02:50 -04:00
Lex Berezhny
0b34c4ea86 got tests to pass on sqlite and postgres and added filter groups at various block height scales 2020-09-21 10:26:19 -04:00
Jack Robison
5b9e40c0c0
sync block filters 2020-09-17 11:25:50 -04:00
Jack Robison
30dff02674
logging formatter 2020-09-17 11:25:28 -04:00
Lex Berezhny
20c7fe1e82
Merge pull request #3048 from lbryio/asyncio_loop_fix
asyncio loop fix
2020-09-16 20:16:13 -04:00
Lex Berezhny
23f186e6a1 pylint and other fixes 2020-09-16 20:02:34 -04:00
Lex Berezhny
14436b3955 instantiate objects inside async loop 2020-09-16 19:50:51 -04:00
Lex Berezhny
a96ceba6f5 Daemon.from_config 2020-09-16 16:40:05 -04:00
Lex Berezhny
f26aadbd44 move daemon construction from cli into daemon function 2020-09-16 16:34:55 -04:00
Lex Berezhny
144eb248e3
Merge pull request #3040 from lbryio/fwss_wait_lbrycrd
Synchronizer: wait for lbrycrd to start if its not ready, instead of raising
2020-09-14 13:21:10 -04:00
Victor Shyba
a554c8838c use previous exception insted of declaring a new one 2020-09-14 14:08:59 -03:00
Victor Shyba
2a0089a4dd test starting and waiting normally as before too 2020-09-14 14:08:59 -03:00
Victor Shyba
d6bcbd631f improve session close error message 2020-09-14 14:08:59 -03:00
Victor Shyba
39a4c4e590 exit if zmq misconfigured. tell whats wrong 2020-09-14 14:08:59 -03:00
Victor Shyba
cb60cd99f4 use create_task instead 2020-09-14 14:08:59 -03:00
Victor Shyba
a5c117b542 wait for lbrycrd on start 2020-09-14 14:08:59 -03:00
Victor Shyba
47a8c005d9 change zmq port for tests so it doesnt conflict with running lbrycrd 2020-09-14 14:08:59 -03:00