librustzcash/zcash_proofs
teor 276bcc34f5
Download sprout parameters in zcash_proofs (#459)
* Download sprout parameters in-memory
* Add download_sapling_parameters and deprecate download_parameters
  * This avoids confusion between sprout and sapling downloads,
    while maintaining backward compatibility.
* Download a single file, rather than parts
  * This is more efficient, because TCP adjusts its transfer speed
    in the first ~20 seconds of each new connection.
* Only download files if needed, but always check the hashes
* Allow the caller to specify a response timeout
* Stream downloads from server to disk
* Refactor file loads to use the same verifying function as downloads
* Check file sizes to help debug parameter load failures
* Remove downloaded files on error (but leave existing files alone)
* Add a sprout and sapling download example
* Move the download Read impl into its own module
* Derive standard traits on SaplingParameterPaths
* Require features for the load parameters method
2022-08-04 10:19:56 -06:00
..
benches zcash_proofs: Add flamegraph profiling to Sapling Spend benchmark 2022-05-07 03:20:19 +00:00
examples Download sprout parameters in zcash_proofs (#459) 2022-08-04 10:19:56 -06:00
src Download sprout parameters in zcash_proofs (#459) 2022-08-04 10:19:56 -06:00
CHANGELOG.md zcash_proofs 0.7.1 2022-07-05 17:33:07 +00:00
Cargo.toml Download sprout parameters in zcash_proofs (#459) 2022-08-04 10:19:56 -06: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 Address feedback about the use of "permissive". 2022-06-28 16:46:13 +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.

Downstream code forks should note that 'zcash_proofs' depends on the 'orchard' crate, which is licensed under the Bootstrap Open Source License. A license exception is provided allowing some derived works that are linked or combined with the 'orchard' crate to be copied or distributed under the original licenses (in this case MIT / Apache 2.0), provided that the included portions of the 'orchard' code remain subject to BOSL. See https://github.com/zcash/orchard/blob/main/COPYING for details of which derived works can make use of this exception.

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.