Bitcoin Forum
May 06, 2024, 12:55:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Incentive for miner in shared pool not to cheat?  (Read 369 times)
Krellan (OP)
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
April 09, 2013, 05:24:42 PM
 #1

Hi again, last of my newbie questions.

What's to stop a Bitcoin miner, participating in a shared mining pool, from cheating?  That is, if a miner is lucky enough to discover a winning block, what's to stop them from publishing it on their own, and putting the entire 25 BTC reward in their own pocket, thus cutting out the rest of the pool?  The miner who finds a lucky low hash would know what inputs they used to create the hash, so that should be enough for them to mint the block to an account under their own control, instead of submitting it back to the pool, right?

It seems just like pooling money for traditional lottery tickets whenever there's a big jackpot: only with Bitcoin, everybody is anonymous and doesn't know each other, so there's nothing to stop the guy who holds the winning ticket from cashing out the jackpot all to himself and then skipping town.

Really glad this board doesn't throttle postings of new posters, BTW.  Amazing that it's such high volume and still essentially spam free!

Josh

1JUZr4TZ5zuB4WdEv4mrhZMaM7yttpJvLG Smiley
1715000117
Hero Member
*
Offline Offline

Posts: 1715000117

View Profile Personal Message (Offline)

Ignore
1715000117
Reply with quote  #2

1715000117
Report to moderator
1715000117
Hero Member
*
Offline Offline

Posts: 1715000117

View Profile Personal Message (Offline)

Ignore
1715000117
Reply with quote  #2

1715000117
Report to moderator
1715000117
Hero Member
*
Offline Offline

Posts: 1715000117

View Profile Personal Message (Offline)

Ignore
1715000117
Reply with quote  #2

1715000117
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715000117
Hero Member
*
Offline Offline

Posts: 1715000117

View Profile Personal Message (Offline)

Ignore
1715000117
Reply with quote  #2

1715000117
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
April 09, 2013, 05:32:41 PM
 #2

The hash the miners are looking for only solve a particular exact block.  Part of the block is the reward address where the block subsidy and all tx fees will be sent.  Change anything in the block (including the coinbase = miner compensation tx) and the block has a new header and the "winning hash" is no longer valid for the modified block.

A miner could withhold the "winning hash" (to reduce everyone's compensation including his own) but the block hash is simply a number that solves a particular, exact block.  It is utterly useless (just as useless as any other random number) for any other purpose.
Krellan (OP)
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
April 09, 2013, 05:42:42 PM
 #3

Nice, thanks!  That's good to know.  So the "winning number" is already bound to the target account that will be receiving the bounty, so there's no way somebody can cheat and keep the bounty for themselves.

1JUZr4TZ5zuB4WdEv4mrhZMaM7yttpJvLG Smiley
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
April 09, 2013, 05:55:27 PM
 #4

Nice, thanks!  That's good to know.  So the "winning number" is already bound to the target account that will be receiving the bounty, so there's no way somebody can cheat and keep the bounty for themselves.


Well it is more complicated and secure than that. A solved block is only good as single specific entity.  Change any aspect of the block (timestamp, previous block hash, remove any transactions, add a transaction, etc) then the block will have a new random block hash which will not meet the difficulty target.
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!