Bitcoin Forum

Bitcoin => Mining => Topic started by: Hamukione on July 26, 2017, 06:17:05 PM



Title: Im that one idiot.. (Algo question)
Post by: Hamukione on July 26, 2017, 06:17:05 PM
Hi everyone.

I am looking for a simple answer.

Sha256 and Sha256d, is it the same and can be mined with any BTC ASIC?
Or is it very different and not able to be run on the same hardware?

Sorry for the stupid question.

Hamukione


Title: Re: Im that one idiot.. (Algo question)
Post by: itxtutor on July 26, 2017, 07:35:04 PM
A Bitcoin ASIC is be able to run a different coin's SHA-256d.

The SHA-256d hash is obtained by applying the SHA-256 hash twice, i.e. by first applying SHA-256 to the data and then again to the resulting hash.


Title: Re: Im that one idiot.. (Algo question)
Post by: Hamukione on July 26, 2017, 07:48:15 PM
A Bitcoin ASIC is be able to run a different coin's SHA-256d.

The SHA-256d hash is obtained by applying the SHA-256 hash twice, i.e. by first applying SHA-256 to the data and then again to the resulting hash.

Thank you very much for this answer :)

Have a good night :)


Title: Re: Im that one idiot.. (Algo question)
Post by: QuintLeo on July 26, 2017, 08:03:23 PM
If SHA256d is "run it through SHA256 twice" then in theory it could be made to work with an ASIC via a rewrite of the software that runs the ASIC - but not sure how efficiently it could be done.
 Probably fairly good efficiency if the code is set up correctly and if the ASIC is designed to handle one piece of SHA256 data at a time rather than processing blocks of SHA256 data.



Title: Re: Im that one idiot.. (Algo question)
Post by: Taras on July 28, 2017, 06:22:41 AM
If SHA256d is "run it through SHA256 twice" then in theory it could be made to work with an ASIC via a rewrite of the software that runs the ASIC - but not sure how efficiently it could be done.
 Probably fairly good efficiency if the code is set up correctly and if the ASIC is designed to handle one piece of SHA256 data at a time rather than processing blocks of SHA256 data.
No rewrite would be needed, though, because bitcoin and the ASICs used to mine it are already doing SHA-256d. In fact, I'm not even sure it's possible to use most ASIC hardware to do only one hash - everything does it twice.