getFirstChild

fun getFirstChild(treeNode: Int): Int

Index of treeNode's first (left) child, 2*treeNode + 1. From merkle_get_first_child.


fun getFirstChild(treeNode: Int, depth: Int): Int

Index of the first descendant of treeNode exactly depth layers below it, ((treeNode + 1) << depth) - 1. From the two-argument merkle_get_first_child.