Bitcoin Forum
October 17, 2018, 04:24:13 AM
 News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 Home Help Search Donate Login Register
 Pages: [1]
 Author Topic: [MINING] Question  (Read 478 times)
Smarter
Newbie

Offline

Activity: 1
Merit: 0

 February 22, 2012, 11:48:42 AM

How does one calculate a ratio between MHash/s and Shares? I would like to know how many MHash/s it takes me per share.
1539750253
Hero Member

Offline

Posts: 1539750253

Ignore
 1539750253

1539750253
 Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
RyNinDaCleM
Legendary

Offline

Activity: 2352
Merit: 1001

Legen -wait for it- dary

 February 22, 2012, 03:37:47 PM

You can also use CGminer. It gives you an average accepted shares per minute, per card and total. It would become more accurate the longer it runs.

DeathAndTaxes
Donator
Legendary

Offline

Activity: 1218
Merit: 1005

Gerald Davis

 February 22, 2012, 03:49:54 PM

For "normal" pools they are difficulty 1 shares = 2^32 shares or roughly 4.295 billion shares.

So 4295 / MH per s = seconds between shares.  Remember shares are random.  You will on average find 1 share every 2^32 hashes but in the short run there will be variance.

Likely your next question is hashes per block.
Share difficulty = 1
Current block difficulty = 1,376,302
It will on average* take 1376302 (difficulty 1) shares to find a block with difficulty 1376302.
1376302*2^32 = 5,911,172,079,419,390 (5.9 quadrillion)

Remember a share is worthless.  It has no value it is just used as a proxy.  Since a miner will find roughly 1 share every 4.3 billion hashes and can't over the long run increase share count without increasing hashing power a pool can use shares as proof of work.  When you submit a share you are proving you did ~ 2^32 hashes.

Now for p2pool it uses variable difficulty.  Currently share difficulty is ~550.  Thus it takes 550 * 2^32 hashes for one share = 2,362,232,012,800 (~2.4 trillion).

* We can only calculate the average since hashes are random.  Swings in # of hashes to solve a block of 10% to 500% of expected value are pretty common.  There have been blocks are short as <1% of difficulty and as long as 11,000% difficulty (and possibly longer or shorter).
 Pages: [1]
 Bitcoin Forum > Other > Beginners & Help (Moderator: MiningBuddy) > [MINING] Question « previous topic next topic »