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
cache
- Array<UInt32!>!: the DAG cache
index
- Int: the current index
Return
Bytes!: a new DAG item to append to the DAG