static fun progPowHash(blockNumber: Long, nonce: Long, header: Bytes32, dag: Array<UInt32>, dagLookupFunction: Function<Int, Bytes>): Bytes32
(source)
Creates a hash using the ProgPoW formulation of a block
blockNumber
- the block number of the block
nonce
- the nonce of the block
header
- the header of the block
dag
- the directed acyclic graph cache
dagLookupFunction
- the function to append to the DAG
Return
a hash matching the block input, using the ProgPoW algorithm