Bitcoin Forum
November 06, 2024, 07:17:40 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Faking Hash Rates..  (Read 211 times)
cnmcdee (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 02, 2018, 08: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...?

VRobb
Hero Member
*****
Offline Offline

Activity: 1610
Merit: 538

I'm in BTC XTC


View Profile
January 02, 2018, 08: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

I don't believe in superstition because it's bad luck: 13thF1oor6CAwyzyxXPNnRvu3nhhYeqZdc
These aren't the Droids you're looking for: S5 & S7 (Sold), R4B2, R4B4 (RIP), 2x S9 obsolete, 2xS15-28, S17-56, S17-70
Pushing a whopping 1/5 PH!  Oh The SPEED!!!
os2sam
Legendary
*
Offline Offline

Activity: 3586
Merit: 1098


Think for yourself


View Profile
January 02, 2018, 08: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.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
cnmcdee (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 02, 2018, 08:41:55 PM
 #4

Can  you explain shares in metric terms
fanatic26
Hero Member
*****
Offline Offline

Activity: 756
Merit: 560


View Profile
January 02, 2018, 10: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.

Stop buying industrial miners, running them at home, and then complaining about the noise.
malthrax
Newbie
*
Offline Offline

Activity: 182
Merit: 0


View Profile
January 02, 2018, 10: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!!!
malthrax
Newbie
*
Offline Offline

Activity: 182
Merit: 0


View Profile
January 02, 2018, 10:57:24 PM
 #7

Can  you explain shares in metric terms

http://lmgtfy.com/?q=what+is+a+share+in+crypto+mining
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!