Bitcoin Forum
May 06, 2024, 10:51:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How are hashes progressed?  (Read 734 times)
drawingthesun (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
April 19, 2013, 07:47:18 AM
 #1

This is a proof of work quesion.

As I understand the algorithm, the past hash found is used to create the new hash,  but a nounce is added on the end.

Questions..

Is this nounce the thing that is changed to create a different hash?
The hashes are run until a hash with the correct amount of zeros is found, then the process starts again...

However, how does the hash get incremented? If you looked over the millions of hashes your GPU produces every second, are they all the same with a slight difference?
1714992684
Hero Member
*
Offline Offline

Posts: 1714992684

View Profile Personal Message (Offline)

Ignore
1714992684
Reply with quote  #2

1714992684
Report to moderator
1714992684
Hero Member
*
Offline Offline

Posts: 1714992684

View Profile Personal Message (Offline)

Ignore
1714992684
Reply with quote  #2

1714992684
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714992684
Hero Member
*
Offline Offline

Posts: 1714992684

View Profile Personal Message (Offline)

Ignore
1714992684
Reply with quote  #2

1714992684
Report to moderator
1714992684
Hero Member
*
Offline Offline

Posts: 1714992684

View Profile Personal Message (Offline)

Ignore
1714992684
Reply with quote  #2

1714992684
Report to moderator
Dexter770221
Legendary
*
Offline Offline

Activity: 1029
Merit: 1000


View Profile
April 19, 2013, 08:01:51 AM
 #2

... are they all the same with a slight difference?
Yes, only last 4 bytes (32 bits) are incremented locally by GPU. That's little over 4 billion (2^32) hashes. If your GPU can do 500MH/s then all possible hashes will be checked in little more than 8 seconds and then mining software should throw next "work" for GPU. In one "work" unit you may find few nonces that will have proper value (share) but there'e possibility that there will be none. Luck, variance, but overall it should be 1:1.

Under development Modular UPGRADEABLE Miner (MUM). Looking for investors.
Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
drawingthesun (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
April 19, 2013, 08:06:26 AM
 #3

... are they all the same with a slight difference?
Yes, only last 4 bytes (32 bits) are incremented locally by GPU. That's little over 4 billion (2^32) hashes. If your GPU can do 500MH/s then all possible hashes will be checked in little more than 8 seconds and then mining software should throw next "work" for GPU. In one "work" unit you may find few nonces that will have proper value (share) but there'e possibility that there will be none. Luck, variance, but overall it should be 1:1.

How is one "work unit" different from another "work unit"?

So for every 500MH/s you get 1 "work unit" every 8 seconds, how are these different from each other?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!