Bitcoin Forum
December 05, 2016, 08:43:43 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Coordination of mining pools  (Read 987 times)
Geir
Jr. Member
*
Offline Offline

Activity: 43


View Profile
March 06, 2012, 02:47:12 PM
 #1

I know the answer is out there but I can’t find it.
As I understand it, when you do mining you send a getwork(), get data back and do a sha256(sha256()) of the first 80 bytes (of the data part). If it’s not below the target you increase the nonce and try again. Everyone is not working on the same thing since merkle root is different for everyone.

My question is for mining pools, I guess everyone gets the same data from GetWrok(). How is it then coordinated so that they all don’t just tests the same hashes??
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Geir
Jr. Member
*
Offline Offline

Activity: 43


View Profile
March 06, 2012, 06:04:52 PM
 #2

Ok i found the answer, for you who are interested:
The pool sends a different header to every miner, then the miner goes trough the nonce.

OK so next question:
I've looked at the data returned from the miner to the pool. Looks like its the header again with the nonce that worked (the golden one), but also the merkle root changes. What is this all about???
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!