Bitcoin Forum
July 24, 2025, 04:39:31 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Newb question  (Read 419 times)
flanger (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 26, 2013, 02:10:57 PM
 #1

Hi,

I was wondering how pools deal with the fact that a mining programme could be written to just not report a successful hash. i.e. if the pool has allocated you a few billion hashes to calculate and one of them is successful (i.e. 25 bitcoins) why would the programme report it to the pool and not just claim the 25 coins??
I think i'm not really understanding how the hashes to calculate are distributed or maybe the claiming process, but I had a bit of a look around on the interwebs and couldn't see the answer...
Thanks for any enlightenment!
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1039



View Profile WWW
March 26, 2013, 02:27:26 PM
 #2

You cannot claim a block for yourself if you are hashing the data supplied by the pool. Part of the data that you are hashing includes the coinbase transaction address that pays the reward to the pool. If you find a block hash, it cannot be altered to pay to someone else. The pool knows what data it sent to you and what a valid reply would be, if you are hashing blocks that can pay the reward to you and which a pool won't accept, you are solo mining.

There is a withholding attack on a pool, where a miner could submit all hashes they find, except the one that solves a full difficulty block. If many miners did this, it would cause the pool to have less block finds than expected for their hash rate, and if the pool was using pay-per-share reward distribution, they could end up losing money.
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!