Skip to content

Commit db2dd3e

Browse files
committed
Add the ironfish prefix to crates, and use ironfish-jubjub
1 parent c0e1d15 commit db2dd3e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+284
-286
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ members = [
55
"components/zcash_address",
66
"components/zcash_encoding",
77
"components/zcash_note_encryption",
8-
"zcash_primitives",
9-
"zcash_proofs",
8+
"ironfish-primitives",
9+
"ironfish-proofs",
1010
]
1111

1212
[profile.release]

components/zcash_note_encryption/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ subtle = { version = "2.2.3", default-features = false }
2525

2626
[dev-dependencies]
2727
ff = { version = "0.12", default-features = false }
28-
zcash_primitives = { version = "0.7", path = "../../zcash_primitives" }
29-
jubjub = { git = "https://github.com/iron-fish/jubjub.git", branch = "blstrs" }
28+
ironfish-primitives = { version = "0.1.0", path = "../../ironfish-primitives" }
29+
ironfish-jubjub = { version = "0.1.0" }
3030

3131
[features]
3232
default = ["alloc"]

components/zcash_note_encryption/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@ pub trait ShieldedOutput<D: Domain, const CIPHERTEXT_SIZE: usize> {
347347
/// ```
348348
/// extern crate ff;
349349
/// extern crate rand_core;
350-
/// extern crate zcash_primitives;
350+
/// extern crate ironfish_primitives;
351351
///
352352
/// use ff::Field;
353353
/// use rand_core::OsRng;
354-
/// use zcash_primitives::{
354+
/// use ironfish_primitives::{
355355
/// keys::{OutgoingViewingKey, prf_expand},
356356
/// consensus::{TEST_NETWORK, TestNetwork, NetworkUpgrade, Parameters},
357357
/// memo::MemoBytes,
@@ -370,7 +370,7 @@ pub trait ShieldedOutput<D: Domain, const CIPHERTEXT_SIZE: usize> {
370370
/// let ovk = Some(OutgoingViewingKey([0; 32]));
371371
///
372372
/// let value = 1000;
373-
/// let rcv = jubjub::Fr::random(&mut rng);
373+
/// let rcv = ironfish_jubjub::Fr::random(&mut rng);
374374
/// let cv = ValueCommitment {
375375
/// value,
376376
/// randomness: rcv.clone(),
File renamed without changes.

zcash_primitives/Cargo.toml renamed to ironfish-primitives/Cargo.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[package]
2-
name = "zcash_primitives"
2+
name = "ironfish-primitives"
33
description = "Rust implementations of the Zcash primitives"
4-
version = "0.7.0"
4+
version = "0.1.0"
55
authors = [
66
"Jack Grigg <[email protected]>",
77
"Kris Nuttycombe <[email protected]>"
88
]
9-
homepage = "https://github.com/zcash/librustzcash"
10-
repository = "https://github.com/zcash/librustzcash"
9+
repository = "https://github.com/iron-fish/librustzcash"
1110
readme = "README.md"
1211
license = "MIT OR Apache-2.0"
1312
edition = "2018"
@@ -33,7 +32,7 @@ group = "0.12"
3332
hdwallet = { version = "0.3.1", optional = true }
3433
hex = "0.4"
3534
incrementalmerkletree = "0.3"
36-
jubjub = { git = "https://github.com/iron-fish/jubjub.git", branch = "blstrs" }
35+
ironfish-jubjub = { version = "0.1.0" }
3736
lazy_static = "1"
3837
memuse = "0.2"
3938
nonempty = "0.7"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)