Hi, as first let me thank you for your whattomine service!
I would like to ask. I'm trying to figure out how to calculate mining efficiency based on
https://whattomine.com/coins.json but without success.
I expected something like:
Daily mining estimate = ( (your hashrate) * (current block reward) * 720 ) / (network hashrate)
or
Daily mining estimate = ( (estimated_rewards) * (your_haspower) ) / (network hashrate)
or something like this. But these formulas give me completely different results than whattomine service.
After few more googling I found NiceHashBot implementation where is mentioned this formula
+ double HT = Response.difficulty * (Math.Pow(2.0, 32) / (1000000000000.0));
+ double CPD = Response.block_reward * 24.0 * 3600.0 / HT;
which gives exactly the same numbers like your calculator (
https://whattomine.com/coins/215-tzc-neoscrypt?utf8=%E2%9C%93&hr=1.0&d_enabled=true&d=80&p=450.0&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate)
But this is something I don't understand. In the formula, there is no use for current network hashrate. Only current difficulty is used but from what I thought difficulty isn't dependent on current hashrate.
Also, I don't understand why block_reward is multiplied by 3600. This would mean that block_reward value is represented per/second. But Based on your site I thought it's reward which is pumped to the system every block-time.
I'm still learning a lot of things so maybe I'm completely wrong. Because of that I would like to ask for any help or explanation.
Thanks!
PS: Is there any documentation for json exports?