tuweni / org.apache.tuweni.ethash / EthHash / calcDatasetItem

calcDatasetItem

open static fun calcDatasetItem(cache: Array<UInt32>, index: Int): Bytes (source)

Calculate a data set item based on the previous cache for a given index

Parameters

cache - the DAG cache

index - the current index

Return
a new DAG item to append to the DAG