stratum-mining-litecoin icon indicating copy to clipboard operation
stratum-mining-litecoin copied to clipboard

keccak support for CopperLark

Open nberesnev83 opened this issue 11 years ago • 1 comments

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.

nberesnev83 avatar Aug 08 '13 11:08 nberesnev83

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.

moopless avatar Aug 14 '13 09:08 moopless