Bitcoin Forum
May 21, 2024, 05:53:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Calculation formulas for different algorithms  (Read 106 times)
matrixukr (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
February 11, 2018, 03:31:02 PM
 #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.
greenfomo
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
February 12, 2018, 12:25:10 PM
 #2

what's the question, tho? Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!