class ProgPoW
(source)
Ethereum ProgPoW mining algorithm, based on revision 0.9.2.
ImplSpec
https://github.com/ifdefelse/ProgPOW
ProgPoW()
Ethereum ProgPoW mining algorithm, based on revision 0.9.2. |
static fun createDagCache(blockNumber: Long, datasetLookup: Function<Int, Bytes>): Array<UInt32>
Creates a cache for the DAG at a given block number |
|
static fun progPowHash(blockNumber: Long, nonce: Long, header: Bytes32, dag: Array<UInt32>, dagLookupFunction: Function<Int, Bytes>): Bytes32
Creates a hash using the ProgPoW formulation of a block |