open static fun calcDatasetItem(cache: Array<UInt32!>!, index: UInt32!): Bytes!
(source)
Calculate a data set item based on the previous cache for a given index
cache
- Array<UInt32!>!: the DAG cache
index
- UInt32!: the current index
Return
Bytes!: a new DAG item to append to the DAG