Bitcoin Forum

Other => Beginners & Help => Topic started by: jackcadderty on January 28, 2013, 10:17:17 PM



Title: How does it KNOW your wallet address when using cgminer solo
Post by: jackcadderty on January 28, 2013, 10:17:17 PM
I mean, do you have to put your receiving address into cgminer somewhere when solo mining? How does it work? How do the any of the miners KNOW the block you luckily solved goes into the wallet on YOUR computer, does something happen when the miner finds a block?


Title: Re: How does it KNOW your wallet address when using cgminer solo
Post by: DeathAndTaxes on January 28, 2013, 10:24:17 PM
because when you solo mine you direct the miner towards your wallet (bitcoind).  Bitcoind handles setting up the blockheader which includes setting an address from your wallet as the coinbase reward address.

"Miners are dumb", they are simply given a header to hash and they hash it.  They have no understanding of what they are hashing.  "Here hash this chunk of data trying all nonces 0 to 2^32.  OK".  The miner gets these "chunks of data" from either bitcoind (solo mining) or a pool server (pool mining).