Fixes specific for XDN

-            var resl = 16 / ((lastStats.network.difficulty / inp2) / 86400);

16 in the above line of code is the block reward for monero, if this is used to calculate profits the calculator is off.

Dallas Gray
CCNP, CCDA, CCNA, A+, NET+, CWTS, UAC, CXFF
OneWave Networks
460 Main Ave S, Suite C
TWIN FALLS, ID 83301
(208)734-7337
(208) 735-5682  Direct Line

No Trees were killed in the sending of this message; however, a number of electrons were terribly inconvenienced.

From: fancoder [mailto:notifications@github.com]
Sent: Monday, August 18, 2014 4:52 AM
To: fancoder/cryptonote-universal-pool
Cc: Dallas Gray
Subject: Re: [cryptonote-universal-pool] Fixes specific for XDN (#9)


In website/pages/home.html:

> @@ -465,7 +465,7 @@ <h4 class="yourStats">Payments</h4>

>          try {

>              var rateUnit = Math.pow(1024,parseInt($('#calcHashUnit').data('mul')));

>              var inp2 = parseFloat($('#calcHashRate').val()) * rateUnit;

> -            var resl = 16 / ((lastStats.network.difficulty / inp2) / 86400);

> +            var resl = 80000 / ((lastStats.network.difficulty / inp2) / 86400);

Hi. Could you please explain what is this changes for?

—
Reply to this email directly or view it on GitHub<https://github.com/fancoder/cryptonote-universal-pool/pull/9/files#r16346904>.