Author

Topic: Calculation formulas for different algorithms (Read 114 times)

newbie
Activity: 22
Merit: 0
February 12, 2018, 08:25:10 AM
#2
what's the question, tho? Smiley
newbie
Activity: 18
Merit: 0
February 11, 2018, 11:31:02 AM
#1
In the search for formulas for calculating the profitability (relative) on different algorithms.
groestl
x11gost
lyra2rev2
neoscrypt
quark
nist5
phi
skein
tribus
skunk
.....
there is for Cryptonight:
coins (per day) = (your hashrate * 86400 / Difficulty) * block reward
(86400 - number of seconds in a day)
for example for Masari with a rig at 5.5kH/s
(5500 * 86400/91772895) * 28.3428 = 146 MSR
For Cryptonight found in the code of pulls
Code:
/* Hash Profitability Calculator */

    $('#calcHashRate').keyup(calcEstimateProfit).change(calcEstimateProfit);

    $('#calcHashUnits > li > a').click(function(e){
        e.preventDefault();
        $('#calcHashUnit').text($(this).text()).data('mul', $(this).data('mul'));
        calcEstimateProfit();
    });

    function calcEstimateProfit(){
        try {
            var rateUnit = Math.pow(1024,parseInt($('#calcHashUnit').data('mul')));
            var hashRate = parseFloat($('#calcHashRate').val()) * rateUnit;
            [u][b]var profit = (hashRate * 86400 / lastStats.network.difficulty) * lastStats.network.reward;[/b][/u]
            if (profit) {
                updateText('calcHashAmount', getReadableCoins(profit, 2, true));
                return;
            }
        }
        catch(e){ }
        updateText('calcHashAmount', '');
    }

Why am I looking for this? There are plans to create a local calculator for those coins that are not on the whattomine and crypto-coinz.
Jump to: