276bcc34f5
* 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 |
||
---|---|---|
.. | ||
benches | ||
examples | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.