Author

Topic: Tiny optimization? (Read 808 times)

member
Activity: 81
Merit: 1002
It was only the wind.
March 07, 2013, 07:48:04 PM
#5
Oh, well, never mind, then.
legendary
Activity: 2618
Merit: 1007
March 07, 2013, 04:47:37 AM
#4
There's a lot of open source mining software and this optimization is most likely part of all of them. Check out the mining software forum! Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
March 07, 2013, 04:27:03 AM
#3
That optimisation is done on every serious mining software.
legendary
Activity: 2142
Merit: 1010
Newbie
March 07, 2013, 03:10:39 AM
#2
I was just reading all the threads about mining basically being SHA256, and something came to me. Having written a (mostly) working SHA224/SHA256/SHA384/SHA512 implementation myself, I'm intimately familiar with how it works. Now, to create a valid block, we just need a block header whose hash is under the target, correct? This means we can skip some of the last parts of SHA256, that is, computing the rest of the hash, which doesn't really matter. Now, I realize that this is really tiny, just a few adds IIRC, but even a clock cycle per hash is precious when computing so many of them.

Not sure regarding BTC miners but LTC ones already applied such a trick.
member
Activity: 81
Merit: 1002
It was only the wind.
March 06, 2013, 11:51:46 PM
#1
NaN.
Jump to: