tuweni / org.apache.tuweni.ethash / EthHash / mkCache

mkCache

open static fun mkCache(cacheSize: Int, block: Long): Array<UInt32!>! (source)

Generates the EthHash cache for given parameters.

Parameters

cacheSize - Int: Size of the cache to generate

block - Long: Block Number to generate cache for

Return
Array<UInt32!>!: EthHash Cache