Calculates the minimum Merkle tree depth of a POD containing the given number of entries. Since names and values are separate leaves of the tree, the formula is ceil(log2(2 * nEntries)).
entry count
the required Merkle tree depth
Generated using TypeDoc
Calculates the minimum Merkle tree depth of a POD containing the given number of entries. Since names and values are separate leaves of the tree, the formula is ceil(log2(2 * nEntries)).