Bitcoin Forum
May 04, 2024, 11:17:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining Cluster Question regarding cheating.  (Read 1046 times)
ragmondo (OP)
Member
**
Offline Offline

Activity: 106
Merit: 10



View Profile WWW
January 15, 2013, 06:11:07 PM
 #1

I'm sure this scenario has been thought of but can someone tell me why the following can't happen :

Scenario 1
1) A malicious user joins a mining pool
2) The mining pool dishes out some hashes to try -  he doesn't get the "golden ticket" this time, but does get a share of the effort (as per normal)

Scenario 2
1) Same malicious user joins mining pool
2) Malicious user finds the winning hash but then does not report it back to the pool, but claims it for himself.
3) Mining pool loses out on the mining reward.

Thanks.
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714864643
Hero Member
*
Offline Offline

Posts: 1714864643

View Profile Personal Message (Offline)

Ignore
1714864643
Reply with quote  #2

1714864643
Report to moderator
1714864643
Hero Member
*
Offline Offline

Posts: 1714864643

View Profile Personal Message (Offline)

Ignore
1714864643
Reply with quote  #2

1714864643
Report to moderator
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
January 15, 2013, 06:15:09 PM
 #2

I'm sure this scenario has been thought of but can someone tell me why the following can't happen :

Scenario 1
1) A malicious user joins a mining pool
2) The mining pool dishes out some hashes to try -  he doesn't get the "golden ticket" this time, but does get a share of the effort (as per normal)

Scenario 2
1) Same malicious user joins mining pool
2) Malicious user finds the winning hash but then does not report it back to the pool, but claims it for himself.
3) Mining pool loses out on the mining reward.

Thanks.

Scenario 1 happens always when you dont find the block and someone else (asuming none PPS system) finds the block (ur golden ticket)
Scenario 2 isnt possible, the data ur hashing is connected with a "seed", it contains the address of the pools owner in case the resulting hash solves a block. therefore if u change this adress the whole hash is invalid. altough u can withhold it so pool dosnt find the block, but u only hurt urself. u can destroy PPS pools with that (i discussed this already with ckolivas, just search for it) but u have to pay for it and have enough hashing power.

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
ragmondo (OP)
Member
**
Offline Offline

Activity: 106
Merit: 10



View Profile WWW
January 15, 2013, 06:18:58 PM
 #3

Ah genius! Thanks.

K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
January 15, 2013, 06:23:13 PM
 #4

just searched for the thread: https://bitcointalk.org/index.php?topic=94392.msg1043633#msg1043633

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
marketersales
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
January 15, 2013, 10:23:25 PM
 #5



Good find.. but still i am confused for
if you find a share is a block or what?
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 15, 2013, 10:37:26 PM
 #6



Good find.. but still i am confused for
if you find a share is a block or what?

A share is a lower difficulty hash.  It has no value in the Bitcoin network.  Pools use them as a method of record keeping.  For example if you submit 10% of the shares then you get 10% of the reward.   Traditionally shares were difficulty 1 so if difficulty for a block is 25,000,000 then a share is 25 million times easier to find and on average the pool collectively will find 25,000,000 shares for every block.  Shares can be any difficulty (remember they are worthless and simply are an arbitrary mechansim of accounting) and some pools now use higher difficulty or even variable difficulty.
Desolator
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
January 17, 2013, 02:38:24 PM
 #7

I think we need to back up a bit.  A solved block means you took some data and mixed it with your own made up data and the resulting hash was a lower value than xxxxxxxxxxxxxxxxxxxxxxxxxxxxx <-- basically the difficulty level.  Hashing results in an unpredictable value that isn't reversible to find the source data.  So if you has 12345 and it ends up as 96834, you don't know that 12345 was the original data.  You also didn't know that 96834 was going to be the result.

So to solve a block on the main bitcoin network, you have to keep trying values until you get one that results in a value below the difficulty target.  A portion of the data used to be hashed is static data that you can't change because it contains data about the block and transactions too or whatever.  The other part is a random number that your miner tries.  I think it's in sequence too so you don't try the same one twice.  A third part is which address you are so they can give you 25BTC for solving it and that becomes part of the block.

In a pool, they just want you to prove that you're actually doing real work at the rate you say you are.  So they'll take the network difficulty and low is by like 10,000 and every time your hash is below that limit, it counts as a share after they verify it was calculated correctly.  So if you solve the block, is has the wallet address embedded in it so it's theirs when you solve it and you can't walk off with the 25BTC Tongue
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!