Commit graph

65 commits

Author SHA1 Message Date
Lex Berezhny
2034104cfc test fixes 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
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
c1d3b5984d fix old hash reverse confusion 2019-04-05 09:40:26 -04:00
Victor Shyba
d16e2716c8 handle 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
Lex Berezhny
ef7bd00f22 round USD fees to nearest penny 2019-03-31 18:14:13 -04:00
Lex Berezhny
a3bd335f7f --languages, --locations fully support all attributes, add BTC 2019-03-29 21:14:20 -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
c708c1db07 audio/video/image stream types 2019-03-25 22:54:08 -04:00
Lex Berezhny
d47575e8e0 progress 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
1d68bef6f2 client side pretty much done 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
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
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
Victor Shyba
be6448b74f fix str/bytes confusion from resolve/claimdict on certificate_id 2019-01-17 23:24:58 -05:00
Victor Shyba
b707ee4844 encode and decode detached signatures from claim dict 2019-01-17 23:24:58 -05:00
Victor Shyba
0e9888be3b fixes from review 2019-01-17 23:24:58 -05:00
Victor Shyba
abf94357eb tests and fixes for sig validation on undecode-able claims 2019-01-17 23:24:58 -05:00
Victor Shyba
36aded3830 store original payload for signing and verifying 2019-01-17 23:24:58 -05:00
Victor Shyba
d7ebf50602 detached as a parameter instead of class attribute 2019-01-17 23:24:58 -05:00
Victor Shyba
523c4c86a9 change default curve to SECP256k1, pass name parameter 2019-01-17 23:24:58 -05:00