numLayers

fun numLayers(leaves: Int): Int

Height of a merkle tree with leaves leaves (a power of two), not counting the root: a single root hash is 0 layers, 2 leaves is 1, etc. From merkle_num_layers.