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 - Size of the cache to generate

block - Block Number to generate cache for

Return
EthHash Cache