mirror of
https://github.com/vacp2p/zerokit.git
synced 2026-01-09 14:38:01 -05:00
chore: consistent naming and update docs for merkle trees (#333)
This commit is contained in:
@@ -78,7 +78,7 @@ where
|
||||
}
|
||||
|
||||
/// Creates a new `MerkleTree`
|
||||
/// depth - the height of the tree made only of hash nodes. 2^depth is the maximum number of leaves hash nodes
|
||||
/// depth - the depth of the tree made only of hash nodes. 2^depth is the maximum number of leaves hash nodes
|
||||
fn new(
|
||||
depth: usize,
|
||||
default_leaf: FrOf<Self::Hasher>,
|
||||
|
||||
@@ -70,7 +70,7 @@ where
|
||||
}
|
||||
|
||||
/// Creates a new `MerkleTree`
|
||||
/// depth - the height of the tree made only of hash nodes. 2^depth is the maximum number of leaves hash nodes
|
||||
/// depth - the depth of the tree made only of hash nodes. 2^depth is the maximum number of leaves hash nodes
|
||||
fn new(
|
||||
depth: usize,
|
||||
default_leaf: H::Fr,
|
||||
|
||||
Reference in New Issue
Block a user