mirror of https://github.com/zcash/orchard.git
Merge pull request #411 from nuttycom/public_merkle_depth
Make the `MERKLE_DEPTH_ORCHARD` constant public.
This commit is contained in:
commit
e127230af0
|
@ -7,7 +7,7 @@ pub use fixed_bases::{NullifierK, OrchardFixedBases, OrchardFixedBasesFull, Valu
|
||||||
pub use sinsemilla::{OrchardCommitDomains, OrchardHashDomains};
|
pub use sinsemilla::{OrchardCommitDomains, OrchardHashDomains};
|
||||||
|
|
||||||
/// $\mathsf{MerkleDepth^{Orchard}}$
|
/// $\mathsf{MerkleDepth^{Orchard}}$
|
||||||
pub(crate) const MERKLE_DEPTH_ORCHARD: usize = 32;
|
pub const MERKLE_DEPTH_ORCHARD: usize = 32;
|
||||||
|
|
||||||
/// The Pallas scalar field modulus is $q = 2^{254} + \mathsf{t_q}$.
|
/// The Pallas scalar field modulus is $q = 2^{254} + \mathsf{t_q}$.
|
||||||
/// <https://github.com/zcash/pasta>
|
/// <https://github.com/zcash/pasta>
|
||||||
|
|
|
@ -38,5 +38,6 @@ pub use action::Action;
|
||||||
pub use address::Address;
|
pub use address::Address;
|
||||||
pub use bundle::Bundle;
|
pub use bundle::Bundle;
|
||||||
pub use circuit::Proof;
|
pub use circuit::Proof;
|
||||||
|
pub use constants::MERKLE_DEPTH_ORCHARD as NOTE_COMMITMENT_TREE_DEPTH;
|
||||||
pub use note::Note;
|
pub use note::Note;
|
||||||
pub use tree::Anchor;
|
pub use tree::Anchor;
|
||||||
|
|
Loading…
Reference in New Issue