lbry: change estimates in mBTC/GH like other sha algos

if needed (already mining) you can do that to update the pool estimate graph values:

UPDATE hashrate SET price=price*1000.0, rent=rent*1000 WHERE algo='lbry' AND price < 0.01;
This commit is contained in:
Tanguy Pruvot 2018-01-19 19:53:18 +01:00
parent 758e591348
commit 3737f97a60
6 changed files with 10 additions and 13 deletions

View file

@ -72,6 +72,7 @@ function yaamp_algo_mBTC_factor($algo)
case 'decred':
case 'keccak':
case 'keccakc':
case 'lbry':
case 'vanilla':
return 1000;
default:

View file

@ -80,7 +80,7 @@ echo "</tbody></table>";
echo "<p style='font-size: .8em'>
&nbsp;* approximate from the last 5 minutes submitted shares<br>
&nbsp;** price in mBTC/Mh/day (mBTC/Gh/day for sha256 and blake algos)<br>
&nbsp;** price in mBTC/MH/day (GH/day for sha and blake algos)<br>
</p>";
echo "<br>";

View file

@ -121,7 +121,7 @@ echo "<p style='font-size: .8em'>
echo "<p style='font-size: .8em'>
&nbsp;* approximate from the last 5 minutes submitted shares<br>
&nbsp;** price in mBTC/Mh/day (mBTC/Gh/day for sha256 and blake algos)<br>
&nbsp;** price in mBTC/MH/day (GH/day for sha and blake algos)<br>
</p>";
echo "<br>";

View file

@ -90,7 +90,7 @@ foreach($algos as $item)
echo "</table>";
echo "<p style='font-size: .8em'>
&nbsp;* values in mBTC/Mh/day (mBTC/Gh/day for sha256 and blake algos)<br>
&nbsp;* values in mBTC/MH/day (GH/day for sha and blake algos)<br>
&nbsp;** only hashpower with extranonce.subscribe or reconnect support can be rented<br>
</p>";

View file

@ -169,11 +169,7 @@ echo "</tr>";
echo "</table>";
echo "<p style='font-size: .8em'>
&nbsp;* best normalized multi algo<br>
&nbsp;** fees are now fixed manually.<br>
&nbsp;*** values in mBTC/Mh/day (mBTC/Gh/day for sha256 and blake algos)<br>
</p>";
echo '<p style="font-size: .8em;">&nbsp;* values in mBTC/MH/day, per GH for sha & blake algos</p>';
echo "</div></div><br>";
?>

View file

@ -222,11 +222,11 @@ if(isset($price_rent) && $showrental)
echo "</table>";
echo "<p style='font-size: .8em'>
&nbsp;*** estimated average time to find a block at full pool speed<br>
&nbsp;** approximate from the last 5 minutes submitted shares<br>
&nbsp;* 24h estimation from network difficulty in mBTC/Mh/day (mBTC/Gh/day for sha256 and blake algos)<br>
</p>";
echo '<p style="font-size: .8em;">
&nbsp;*** estimated average time to find a block at full pool speed<br/>
&nbsp;** approximate from the last 5 minutes submitted shares<br/>
&nbsp;* 24h estimation from net difficulty in mBTC/MH/day (GH/day for sha & blake algos)<br>
</p>';
echo "</div></div><br>";