Function calcMaxEntriesForMerkleDepth

  • Calculates the maximum number of entries which can be supported by a POD with a given Merkle tree depth. Since names and values are separate leaves of the tree, the formula is 2**(merkleDepth-1)

    Parameters

    • merkleDepth: number

      the depth of a POD Merkle tree

    Returns number

    the maximum number of entries of any POD with the given depth

Generated using TypeDoc