]
Hmm nice, how to equal Net Hash rate though.. this gives CoinsPerDay?
if (Algo == HashAlgo.Algo.Quark) magicNumber = Math.Pow(2, 24);
CoinsPerDay = BlockReward/(Difficulty*magicNumber/(hashRateMh*1000000)/3600/24);
//Cryptonight's difficulty is net hashrate * 60
if (Algo == HashAlgo.Algo.CryptoNight)
CoinsPerDay = (BlockReward*24*60)*((hashRateMh*1000000)/(Difficulty/60));