Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Trigun on February 24, 2014, 01:52:06 AM



Title: formula for calculate coins mined
Post by: Trigun on February 24, 2014, 01:52:06 AM
hello
simply question....
if i wanna know how many coin i get with my speed what kind of formula i have to use?

i found a formula for bitcoin... but with that formula u can't change the block value and the timeblock

i need a formula where i can use block time and block value... for ex

250k doge -> block value
60 sec -> block time
xxx -> diff
yyyy -> speed


Title: Re: formula for calculate coins mined
Post by: fcmatt on February 24, 2014, 04:14:31 AM
Code:


1day   diff                   hashrate(MH/sec)        sec in day   reward
1 / ((0.23025923 * (2**32)) / (1000 * (10**3)) / 86400) *   3.5





this is for cosmoscoin as an example.

it would tell me how much cosmoscoin I would earn in a 24 hour period with 1000 mh/sec which is 305.77704373


Title: Re: formula for calculate coins mined
Post by: Trigun on February 24, 2014, 06:41:42 AM
Code:


1day   diff                   hashrate(MH/sec)        sec in day   reward
1 / ((0.23025923 * (2**32)) / (1000 * (10**3)) / 86400) *   3.5





this is for cosmoscoin as an example.

it would tell me how much cosmoscoin I would earn in a 24 hour period with 1000 mh/sec which is 305.77704373

and if the block was 80,90,120,etc sec? where i should have entered it?

if i have 2 coin
A) 1 with 10 diff block time 60 sec reward 1
B) 1 with 10 diff block time 120 sec reward 1

i expect the double of the coins from A... but

this is what i don't understand :-)


Title: Re: formula for calculate coins mined
Post by: Swiss_Love on February 24, 2014, 11:30:11 AM
Code:


1day   diff                   hashrate(MH/sec)        sec in day   reward
1 / ((0.23025923 * (2**32)) / (1000 * (10**3)) / 86400) *   3.5





this is for cosmoscoin as an example.

it would tell me how much cosmoscoin I would earn in a 24 hour period with 1000 mh/sec which is 305.77704373

Thank you, i was looking for it!


Title: Re: formula for calculate coins mined
Post by: fcmatt on February 24, 2014, 05:40:09 PM
Code:


1day   diff                   hashrate(MH/sec)        sec in day   reward
1 / ((0.23025923 * (2**32)) / (1000 * (10**3)) / 86400) *   3.5





this is for cosmoscoin as an example.

it would tell me how much cosmoscoin I would earn in a 24 hour period with 1000 mh/sec which is 305.77704373

and if the block was 80,90,120,etc sec? where i should have entered it?

if i have 2 coin
A) 1 with 10 diff block time 60 sec reward 1
B) 1 with 10 diff block time 120 sec reward 1

i expect the double of the coins from A... but

this is what i don't understand :-)

I am pretty sure you do not have to. the average amount of time a block is SUPPOSED to be created on the network is irrelevant I think.
What matters is the difficulty, block reward, and how much hash rate you have.

Think about it.. your hash rate above can easily find 20K shares via cgminer. It happens quite often if you watch it. That means you would have just
created a block on a low difficulty coin. And if you can find dozens of 20K shares per day you just created dozens of blocks. How often the network is
SUPPOSED to find blocks does not matter in this calculation. Difficulty will change if the network detects blocks being created too fast and difficulty
will go up. So that time of block supposed to be found variable does not matter. That is used for a different calculation by the coin software.

anyone please correct me if I am wrong.


Title: Re: formula for calculate coins mined
Post by: Trigun on February 24, 2014, 08:11:03 PM
i'm not sure about it...

if u have a 30 sec block with 100 coin block reward in a day u have 2880 block * 100 = 288000 coin
if u have a 60 sec block with 100 coin block reward in a day u have 1440 block * 100 = 144000 coin


with the same diff u get more coin ...
with the same global hash rate the 30 sec block have the double of the diff ...




ok
i'm still thinking it.. if i understood it the diff is the % of chance for find the block.... but still i have doubts  bc u have more blocks... so more chances ^_^

if u have 1% chance to find a block with X diff u get 2880*1% = 28.8 blocks for the first
and 14.4 for the 2nd....



Title: Re: formula for calculate coins mined
Post by: Trigun on February 24, 2014, 08:45:57 PM
A) 30 sec block time
B) 60 sec block time

if A -> 10 diff -> total hashrate = 100mh
if B -> 10 diff -> total hashrate = 50mh


with 1mh u get 1% from A and 2% from B...
so is the same quantity....

i'm correct ?