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
jessop
7f5deaf6c8
adds api examples to docs
2019-04-16 14:18:23 -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
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