Bitcoin Forum
May 24, 2024, 12:08:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hash Rate Calculation given the coin difficulty.For SHA256,Scrypt,X11,Neoscrypt  (Read 1818 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
ScryptFactorydev (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 11, 2014, 07:47:14 AM
Last edit: November 15, 2014, 05:33:17 AM by ScryptFactorydev
 #1

I would like to put in one place the related CORRECT calculations for getting a hashrate number given coin difficulty.  Are there other unknowns that are needed?  say the coin algorithm type?  Can the algorithm be determined from the miner communication?


"If you're going for that degree of accuracy, it should be noted that difficulty 1 does in fact not correspond to 2^32 hashes, but to 2^48/65535 (4295032833 instead of 4294967296). – Pieter Wuille Sep 17 '11 at 12:21"

Conceptually: Compute the expected number of hashes required to find each share that is actually found and sum them. Divide by the amount of time to get the hash rate. –  David Schwartz? Sep 18 '13 at 23:24

Calculate HashRate

hashes = shares * share_difficulty * 2**48 / 65535
thus:
megahash_per_second = shares_per_second * share_difficulty * 4295.032833

Which coin algorithms does this above work with?

SHA-256 - Yes
X11 - Yes
X13 - Yes
X15 - Yes

NeoScrypt??  This doesn't work... can someone provide the correct formula?
EDIT:::  looks like the following below may be valid for Scrypt and Neoscrypt.

To calculate the hashrate for Scrypt, use what you would for Bitcoin but do 2^16 instead of 2^32.

H =shares per sec *  D * 2^32/ ( 65535 * 10^6 )

hashes = shares * share_difficulty * 2**32 / ( 65535 * 10^6 ))
thus:
megahash_per_second = shares_per_second * share_difficulty * 4295.032833
megahash_per_second =shares per sec *  D * 2^32/ ( 65535 * 10^6 )
megahash_per_second =shares per sec *  D * 0.065536

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!