Skip to content

Commit fbc3993

Browse files
committed
Update README and crate docs to state that this is a fork
1 parent 7555586 commit fbc3993

File tree

3 files changed

+14
-42
lines changed

3 files changed

+14
-42
lines changed

README.md

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,17 @@
1-
# Zcash Rust crates
1+
Implementation of the primitives used in Zcash and Iron Fish.
22

3-
This repository contains a (work-in-progress) set of Rust crates for
4-
working with Zcash.
3+
This is a fork of the original [`librustzcash`][librustzcash] project from
4+
Zcash. The fork was created by the Iron Fish project to add performance
5+
improvements.
56

6-
## Security Warnings
7+
## Delta from upstream
78

8-
These libraries are currently under development and have not been fully-reviewed.
9+
These are the differences between this crate and the upstream
10+
[`librustzcash`][librustzcash]:
911

10-
## License
12+
* Changed the elliptic curve backend from [`bls12_381`][bls12_381] to
13+
[`blstrs`][blstrs]
1114

12-
All code in this workspace is licensed under either of
13-
14-
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
15-
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
16-
17-
at your option.
18-
19-
Downstream code forks should note that some (but not all) of these crates
20-
and components depend on the 'orchard' crate, which is licensed under the
21-
[Bootstrap Open Source License](https://github.com/zcash/orchard/blob/main/LICENSE-BOSL).
22-
A license exception is provided allowing some derived works that are linked or
23-
combined with the 'orchard' crate to be copied or distributed under the original
24-
licenses (in this case MIT / Apache 2.0), provided that the included portions of
25-
the 'orchard' code remain subject to BOSL.
26-
See <https://github.com/zcash/orchard/blob/main/COPYING> for details of which
27-
derived works can make use of this exception, and the `README.md` files in
28-
subdirectories for which crates and components this applies to.
29-
30-
### Contribution
31-
32-
Unless you explicitly state otherwise, any contribution intentionally
33-
submitted for inclusion in the work by you, as defined in the Apache-2.0
34-
license, shall be dual licensed as above, without any additional terms or
35-
conditions.
15+
[librustzcash]: https://github.com/zcash/librustzcash
16+
[bls12_381]: https://crates.io/crates/bls12_381
17+
[blstrs]: https://crates.io/crates/blstrs

ironfish-primitives/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
//! *General Zcash primitives.*
2-
//!
3-
//! `zcash_primitives` is a library that provides the core structs and functions necessary
4-
//! for working with Zcash.
1+
#![doc = include_str!("../../README.md")]
52

63
#![cfg_attr(docsrs, feature(doc_cfg))]
7-
// Catch documentation errors caused by code changes.
8-
#![deny(rustdoc::broken_intra_doc_links)]
94
// Temporary until we have addressed all Result<T, ()> cases.
105
#![allow(clippy::result_unit_err)]
116

ironfish-proofs/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
//! *Zcash circuits and proofs.*
2-
//!
3-
//! `zcash_proofs` contains the zk-SNARK circuits used by Zcash, and the APIs for creating
4-
//! and verifying proofs.
1+
#![doc = include_str!("../../README.md")]
52

63
#![cfg_attr(docsrs, feature(doc_cfg))]
7-
// Catch documentation errors caused by code changes.
8-
#![deny(broken_intra_doc_links)]
94
// Temporary until we have addressed all Result<T, ()> cases.
105
#![allow(clippy::result_unit_err)]
116

0 commit comments

Comments
 (0)