Bitcoin Forum
May 08, 2024, 09:11:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ? Formula to Calculate Share calc speed given Hash rate / diff?  (Read 11088 times)
Fuzzy (OP)
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500



View Profile
February 09, 2012, 08:00:11 PM
 #1

I need to figure out how to calculate how many shares I'll submit with my 3.1 GHs in 24 hours. Anyone know the formula?
1715159504
Hero Member
*
Offline Offline

Posts: 1715159504

View Profile Personal Message (Offline)

Ignore
1715159504
Reply with quote  #2

1715159504
Report to moderator
1715159504
Hero Member
*
Offline Offline

Posts: 1715159504

View Profile Personal Message (Offline)

Ignore
1715159504
Reply with quote  #2

1715159504
Report to moderator
1715159504
Hero Member
*
Offline Offline

Posts: 1715159504

View Profile Personal Message (Offline)

Ignore
1715159504
Reply with quote  #2

1715159504
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715159504
Hero Member
*
Offline Offline

Posts: 1715159504

View Profile Personal Message (Offline)

Ignore
1715159504
Reply with quote  #2

1715159504
Report to moderator
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
February 09, 2012, 08:59:14 PM
 #2

The average amount of time (in seconds) to find a single share is:

Code:
difficulty * 2^32 / hashrate

In that equation, difficulty is the difficulty of a share and hashrate is your hash rate in hashes per second.  A day has 86,400 seconds in it, so the number of shares you'll find in 24 hours is:

Code:
86,400 / (difficulty * 2^32 / hashrate)



Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Fuzzy (OP)
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500



View Profile
February 09, 2012, 11:47:11 PM
Last edit: February 10, 2012, 12:22:12 AM by Fuzzy
 #3

the number of shares you'll find in 24 hours is:
Code:
86,400 / (difficulty * 2^32 / hashrate)

EDIT: Somethings not right there:

Using 1,400,000 for difficulty, and 3,200,000,000 hashes (3200 Mhash) I get 0.045980726 shares???

in Excel:
Code:
=86400/(1400000*(2^32)/3200000000)


THANKS! I feel I need to add

"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"
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
February 11, 2012, 07:29:29 PM
 #4

The difficulty of a share is 1. It takes ~2^32 hashes on average to find a share.

How many shares per day at 3.2Ghash/s:
2^-32 shares/hash * 3.2*10^9 hash/sec * 86400 sec/day = 64372.0 shares/day

How many BTC per day at difficulty 1379647:
64372 shares/day * (1/1379647) blocks/share * 50.0 BTC/block = 2.3329 BTC/day

(all calculations done with more precision than I've shown.)

I'm starting to think I've already answered every question that can be asked...https://bitcointalk.org/index.php?topic=21541.msg272356#msg272356 (and interesting that the difficulty is the same as it was back in June).
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!