1254 Commits

Author SHA1 Message Date
Aditya Kulkarni
3ceefdf81c Create OutPoint from hash and n 2019-09-10 10:34:08 -07:00
Aditya Kulkarni
f8d01215a0 merge serialize fix 2019-09-10 10:18:58 -07:00
adityapk00
5e233620bd
Merge pull request #3 from adityapk00/lightclient-work
Lightclient work
2019-09-10 10:01:52 -07:00
Aditya Kulkarni
3ee778de59 transparent inputs should use serialize_der() 2019-09-10 10:01:13 -07:00
Aditya Kulkarni
1056db3bea Make OutPoint fields pub 2019-09-10 10:00:24 -07:00
NikVolf
79cba2e500 run against long examples 2019-09-10 12:51:23 +03:00
NikVolf
4ec651d172 update naming 2019-09-09 18:28:23 +03:00
NikVolf
f5c1381c4c arrange data generator example properly 2019-09-09 18:23:18 +03:00
NikVolf
a0c33945ab write for entry 2019-09-09 14:33:49 +03:00
NikVolf
96b130e034 update readme 2019-09-09 14:06:05 +03:00
NikVolf
636f3e3751 update readme 2019-09-09 11:52:57 +03:00
NikVolf
b73f49c968 add optional file generation 2019-09-09 11:50:41 +03:00
NikVolf
a5c4d51652 improve on api 2019-09-08 09:32:47 +03:00
NikVolf
c87122561f add .travis.yml 2019-09-08 00:17:40 +03:00
NikVolf
9470610b75 license and readme 2019-09-07 19:23:13 +03:00
NikVolf
0afa122970 add .travis.yml 2019-09-07 19:18:49 +03:00
NikVolf
0bfd1d6b0d resolve_link is of course public 2019-09-07 18:30:57 +03:00
NikVolf
ad403f1cca add data reader 2019-09-07 18:22:37 +03:00
NikVolf
a9d2ce7150 from_bytes for NodeData 2019-09-07 18:15:18 +03:00
NikVolf
6d9deefb93 fix read and add from_bytes 2019-09-07 14:10:08 +03:00
NikVolf
49763d1c01 arrange constants 2019-09-07 14:04:51 +03:00
NikVolf
de053e1d8f reading for Entry 2019-09-07 14:00:34 +03:00
NikVolf
03524ba7d0 entry to the dedicated module 2019-09-07 13:52:19 +03:00
Nikolay Volf
265c6e5303
Merge pull request #1 from niklasad1/na-rust2018ify
fix: use rust2018 idioms
2019-09-07 11:35:06 +03:00
Niklas Adolfsson
c4f8f8ea04
fix: use rust2018 idioms 2019-09-07 10:31:01 +02:00
NikVolf
5d0aa521c2 missing deserialization bits 2019-09-07 11:19:06 +03:00
Jack Grigg
bef3e7e336
Migrate ff_derive to proc-macro2 1.0 2019-09-06 19:03:12 -04:00
Aditya Kulkarni
99d0f78636 Make mod serialize public 2019-09-06 13:37:42 -07:00
str4d
2b6fbfd2d1
Merge pull request #109 from str4d/paymentaddress-encapsulation
PaymentAddress encapsulation
2019-09-06 15:43:48 -04:00
NikVolf
a46ace4c2d simplify tree preparation 2019-09-06 19:19:58 +03:00
NikVolf
942a976ef5 refactor numerous tests 2019-09-06 19:14:53 +03:00
NikVolf
5d2f84a154 carry root with tree 2019-09-06 18:52:27 +03:00
NikVolf
6b36cb5a51 example and neccessary fixes 2019-09-06 15:40:26 +03:00
Aditya Kulkarni
be84cd8e05 Fix cargo.lock 2019-09-05 13:40:26 -07:00
Aditya Kulkarni
7948bd1bf7 Merge branch 'str4d-transaction-builder-transparent-inputs' into lightclient-work 2019-09-05 13:37:27 -07:00
Aditya Kulkarni
f60d7d331b Merge branch 'transaction-builder-transparent-inputs' of git://github.com/str4d/librustzcash into str4d-transaction-builder-transparent-inputs 2019-09-05 13:37:08 -07:00
Jack Grigg
d6f6b50ecd
Check try_sapling_output_recovery fails with identity as pk_d 2019-09-04 19:48:39 -04:00
Jack Grigg
abbd43ff57
Make pk_d validity an invariant of PaymentAddress
Introduces a PaymentAddress::from_parts constructor, and getters for
the diversifier and pk_d fields (which are now private).
2019-09-04 19:48:35 -04:00
Jack Grigg
86142d044c
PaymentAddress::to_bytes 2019-09-04 19:46:46 -04:00
Jack Grigg
73ee19239c
Replace manual address decoding with PaymentAddress::from_bytes 2019-09-04 19:46:46 -04:00
str4d
b19b40ccf0
Merge pull request #110 from str4d/crate-cleanups
Crate cleanups
2019-09-04 19:44:47 -04:00
NikVolf
872ac5af7b avoid drain of vec 2019-09-03 18:31:51 +03:00
NikVolf
efac432128 remove todo and de-pub 2019-09-03 18:13:33 +03:00
NikVolf
b03b4cf958 hashing with blake2 2019-09-03 17:47:21 +03:00
NikVolf
d8c04e8143 node serialization 2019-09-03 17:22:21 +03:00
NikVolf
f432983f09 add notes and remove todos 2019-09-03 13:11:10 +03:00
NikVolf
bce88797f4 move node data to separate mod 2019-09-03 12:56:24 +03:00
NikVolf
771aa867c1 derive display for errors 2019-09-03 12:52:50 +03:00
NikVolf
615c4f662e refactor to rust-only structures 2019-09-02 19:51:00 +03:00
NikVolf
49f20e6735 extra long truncate 2019-09-02 18:26:51 +03:00