Merge pull request #411 from nuttycom/public_merkle_depth

Make the `MERKLE_DEPTH_ORCHARD` constant public.
This commit is contained in:
Kris Nuttycombe 2024-01-06 10:02:15 -07:00 committed by GitHub
commit e127230af0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ pub use fixed_bases::{NullifierK, OrchardFixedBases, OrchardFixedBasesFull, Valu
pub use sinsemilla::{OrchardCommitDomains, OrchardHashDomains};
/// $\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}$.
/// <https://github.com/zcash/pasta>

View File

@ -38,5 +38,6 @@ pub use action::Action;
pub use address::Address;
pub use bundle::Bundle;
pub use circuit::Proof;
pub use constants::MERKLE_DEPTH_ORCHARD as NOTE_COMMITMENT_TREE_DEPTH;
pub use note::Note;
pub use tree::Anchor;