Go to file
Henry de Valence 139fc09f10
bellman: add VerificationError (#254)
* bellman: add VerificationError

This adds a distinct VerificationError type to the crate and changes
`verify_proof` to return `Result<(), VerificationError>` rather than
`Result<bool, SynthesisError>`.  This is significantly safer, because it avoids
the need to mix pattern-matching logic with boolean logic (the cause of
RUSTSEC-2019-0004).

* Rename VerificationError variants per review comments.

* Add missing Clone impl to VerificationError.
2020-08-05 22:26:31 +12:00
.github/workflows CI: Fetch and cache Sapling parameters for tests 2020-06-27 00:46:05 +12:00
bellman bellman: add VerificationError (#254) 2020-08-05 22:26:31 +12:00
bls12_381 bls12_381: Implement ff traits for Scalar 2020-05-30 01:01:43 +12:00
components/equihash equihash 0.1.0 2020-07-10 10:25:52 +12:00
ff group: Separate prime and cofactor traits into modules 2020-06-17 11:42:10 +12:00
group group: Make Wnaf generic over Group 2020-06-17 11:42:11 +12:00
jubjub jubjub: Implement ff traits for Fr 2020-05-30 01:01:43 +12:00
librustzcash Remove librustzcash crate 2020-03-14 10:50:04 +13:00
pairing pairing: Bound Engine::Gt on Group instead of Field 2020-06-24 19:20:25 +12:00
zcash_client_backend zcash_client_backend: Add account to DecryptedOutput 2020-06-25 18:54:41 +12:00
zcash_client_sqlite zcash_sqlite: Add an unreliability warning to query::get_balance docs 2020-07-10 09:50:43 +12:00
zcash_history Version bump of all crates (except librustzcash) 2020-03-12 15:59:19 -06:00
zcash_primitives Set activation heights for Canopy 2020-07-30 12:52:02 +08:00
zcash_proofs bellman: add VerificationError (#254) 2020-08-05 22:26:31 +12:00
.gitignore Add Cargo.lock to .gitignore 2020-03-25 17:24:50 +13:00
.gitlab-ci.yml Remove duplicate test stage for rust lastest 2018-10-09 09:34:10 -07:00
Cargo.toml Merge pull request #248 from str4d/equihash-crate 2020-07-10 11:57:11 +12:00
LICENSE-APACHE Add license files. 2017-03-17 11:09:05 -06:00
LICENSE-MIT Electric Coin Company 2019-05-09 20:32:39 +03:00
README.md Set up a Cargo workspace 2018-08-23 21:10:04 +01:00
rust-toolchain Upgrade to rusqlite 0.23 2020-06-27 00:45:12 +12:00

README.md

Zcash Rust crates

This repository contains a (work-in-progress) set of Rust crates for working with Zcash.

Security Warnings

These libraries are currently under development and have not been fully-reviewed.

License

All code in this workspace is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.