layerStart

fun layerStart(layer: Int): Int

Index of the first node in layer, counting the root as layer 0. (1 << layer) - 1. From merkle_layer_start.