GetAncestorHeight

fun GetAncestorHeight(height: Int): Int

Calculate the ancestor height of the block at the passed height. This follows the Nexa ancestor algorithm, returning the height of the block indicated by the ancestorHash in the Nexa block header.