Commit Graph

1100 Commits

Author SHA1 Message Date
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
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
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
NikVolf
d58b33fb78 simplify and optimize get_peaks 2019-09-02 18:18:33 +03:00
NikVolf
4c49f09515 extra quick-checks and fixes for deleting from full root 2019-09-02 18:05:20 +03:00
NikVolf
68983dc0c1 extra tests and notes 2019-09-02 15:28:51 +03:00
NikVolf
fa04929891 refactored append and fixed tests 2019-09-02 15:11:23 +03:00
NikVolf
c05446d2ae add get_peaks method 2019-08-29 19:34:27 +03:00
str4d
0da4921055
Merge pull request #116 from str4d/code-coverage
Add code coverage with cargo-tarpaulin and Codecov
2019-08-29 09:58:19 +01:00
Jack Grigg
c00b65bb78
Extend Travis CI timeout 2019-08-29 01:06:41 +01:00
Jack Grigg
ee9c88ecb0
Exclude slow tests from code coverage 2019-08-28 20:46:23 +01:00
Jack Grigg
f9f17b291f
Add code coverage with cargo-tarpaulin and Codecov 2019-08-28 12:26:54 +01:00
str4d
563961e606
Merge pull request #115 from str4d/windows-typo
librustzcash: Fix typo in Windows parameter init; Correctly map sprout_path. Includes a GitHub actions improvement
2019-08-26 13:09:57 +01:00
Jack Grigg
0c7eb84d36
impl FromStr for Memo
Memo::from_str was previously shadowing a built-in trait method.
2019-08-24 00:40:32 +01:00
Jack Grigg
7c1d4d9a5b
Log distinct error cases in Equihash verification 2019-08-24 00:40:30 +01:00
Jack Grigg
9016548698
Take self directly in into_* functions 2019-08-24 00:39:55 +01:00
Jack Grigg
fe93f2ff6b
Rename into_ -> to_ where &self is used. 2019-08-24 00:39:54 +01:00
Jack Grigg
91541675e2
Address various clippy warnings/errors in zcash_proofs 2019-08-24 00:39:53 +01:00
Jack Grigg
3a8efd9e67
Address various clippy warnings/errors in zcash_primitives 2019-08-24 00:39:49 +01:00
Jack Grigg
d65fe2cda9
Address various clippy warnings/errors in bellman 2019-08-24 00:38:32 +01:00
Jack Grigg
d78c94b2a2
Move Equihash validator into zcash_primitives 2019-08-24 00:37:00 +01:00
str4d
ad33798244
Merge pull request #113 from Eirik0/edition-2018-clean-up
Edition 2018 clean up
2019-08-24 00:34:57 +01:00
NikVolf
e7d67364cc add quickcheck(failing) also failing append 2019-08-23 16:25:34 +03:00
Jack Grigg
ba3705cb5e
librustzcash: Correctly map sprout_path 2019-08-23 12:26:19 +01:00
Jack Grigg
5e706d5d84
Actions: Trigger testing workflow on pull_request 2019-08-23 12:13:23 +01:00
Jack Grigg
894421f3b5
librustzcash: Fix typo in Windows parameter init 2019-08-23 12:01:01 +01:00
str4d
4014f08105
Merge pull request #112 from zcash/github-workflow
Add a GitHub Actions workflow
2019-08-23 09:56:36 +01:00
NikVolf
5a479363ff new initializer 2019-08-22 20:35:56 +03:00