Bitcoin Forum
August 15, 2024, 06:52:42 AM
 News: Latest Bitcoin Core release: 27.1 [Torrent]
 Home Help Search Login Register More
 Pages: [1]
 Author Topic: Calculation formulas for different algorithms  (Read 108 times)
matrixukr (OP)
Newbie

Offline

Activity: 18
Merit: 0

 Calculation formulas for different algorithms February 11, 2018, 03:31:02 PM

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

Activity: 22
Merit: 0

 Re: Calculation formulas for different algorithms February 12, 2018, 12:25:10 PM

what's the question, tho?
 Pages: [1]