stratum-mining-litecoin
stratum-mining-litecoin copied to clipboard
keccak support for CopperLark
Please help integrate support keccak sha3. Little knowledge of the language is, but I can not figure out how to register a hash function. Ordered as follows: hash_bin = yac_scrypt.getPoWHash(''.join([ header_bin[i_4:i_4+4][::-1] for i in range(0, 20) ]), int(ntime, 16)) But it's the same for yacoin, but as for keccak not know.
Whats the sha3 library that you are using? The ''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]), int(ntime, 16)
puts the binary header in little endian. There will be some other modifications needed to run sha3. If you look at the first commits I made on this branch it should help out.