Type Alias GenericHasherMerkleTree

Source
pub type GenericHasherMerkleTree<H, E, I, const ARITY: usize> = MerkleTree<E, HasherDigestAlgorithm, I, ARITY, HasherNode<H>>;
Expand description

Like HasherMerkleTree except with additional parameters.

Additional parameters beyond HasherMerkleTree:

  • I is a Index data type that impls From<u64>. (eg. u64, Field, etc.)
  • ARITY is a const generic. (eg. 2 for a binary tree, 3 for a trinary tree, etc.)

Aliased Typeยง

struct GenericHasherMerkleTree<H, E, I, const ARITY: usize> { /* private fields */ }