Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / calcDepthFromNumLeaves
Function: calcDepthFromNumLeaves()
calcDepthFromNumLeaves(
hashLength
,numLeaves
):number
Parameters
• hashLength: number
the hashing function param length
• numLeaves: number
how many leaves
Returns
number
the depth
Defined in
crypto/ts/utils.ts:10