Author

Topic: Faking Hash Rates.. (Read 212 times)

newbie
Activity: 182
Merit: 0
newbie
Activity: 182
Merit: 0
January 02, 2018, 05:56:10 PM
#6
In the following code segment from blake2s.cu (ccminer source code - cuda C)

uint32_t vhashcpu[8];
         uint32_t nonce = sph_bswap32(resNonces[1]);
         be32enc(&endiandata[19], nonce);
         blake2s_hash(vhashcpu, endiandata);

         *hashes_done = pdata[19] - first_nonce + throughput;

How do pool miners prevent coders from modifying the source code and recompiling ccminer so they fake the hash count and get an unequal share of the winning pools??  This would apply in pretty much all the algos...?



Because miners don't get paid for their hash rate, they get paid for submitting valid shares.

However, unscrupulous miner authors could tweak that value and voila! my miner is 30% better than stock, send me phat ETHs!!!
hero member
Activity: 756
Merit: 560
January 02, 2018, 05:44:53 PM
#5
If you tell someone you are giving them a $10 bill, then hand them a $5 they will do their own verification by looking at the bill and realizing something isnt right. The pool isnt just going to accept whatever razndom share number people want to throw at it.
newbie
Activity: 8
Merit: 0
January 02, 2018, 03:41:55 PM
#4
Can  you explain shares in metric terms
legendary
Activity: 3583
Merit: 1094
Think for yourself
January 02, 2018, 03:12:34 PM
#3
How do pool miners prevent coders from modifying the source code and recompiling ccminer so they fake the hash count and get an unequal share of the winning pools??  This would apply in pretty much all the algos...?

Pools pay per the amount of shares you submit.  They have no idea what the hash rate of your device nor what your software is reporting to you, nor do they care.

This does not pertain to all algorithms.  Nobody mines Bitcoin with GPU's anymore and when we did we would never use an nVidia GPU as it would have been a waste of electricity.
hero member
Activity: 1610
Merit: 538
I'm in BTC XTC
January 02, 2018, 03:06:59 PM
#2
You do know that pools verify the share sent in, right?  And subsequently calculate the share rate to the pool... Roll Eyes
newbie
Activity: 8
Merit: 0
January 02, 2018, 03:02:19 PM
#1
In the following code segment from blake2s.cu (ccminer source code - cuda C)

uint32_t vhashcpu[8];
         uint32_t nonce = sph_bswap32(resNonces[1]);
         be32enc(&endiandata[19], nonce);
         blake2s_hash(vhashcpu, endiandata);

         *hashes_done = pdata[19] - first_nonce + throughput;

How do pool miners prevent coders from modifying the source code and recompiling ccminer so they fake the hash count and get an unequal share of the winning pools??  This would apply in pretty much all the algos...?

Jump to: