librustzcash/zcash_proofs
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
..
examples CI: Fetch and cache Sapling parameters for tests 2020-06-27 00:46:05 +12:00
src bellman: add VerificationError (#254) 2020-08-05 22:26:31 +12:00
Cargo.toml zcash_proofs: Add LocalProver::bundled 2020-07-10 22:15:23 +12:00
LICENSE-APACHE Empty crates as a base for code refactoring 2018-08-28 22:24:14 +01:00
LICENSE-MIT Electric Coin Company 2019-05-09 20:32:39 +03:00
README.md Update READMEs 2019-09-24 14:23:55 +01:00

README.md

zcash_proofs

This library contains the zk-SNARK circuits for Zcash, and the APIs for creating and verifying proofs.

License

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.