Skip to content

Commit 53533e4

Browse files
committed
Merge pull request #2487 from jonnybravo0311/master
Added new hash rate modifiers
2 parents 56acee5 + 7f7a189 commit 53533e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/config/admin_settings.inc.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -197,21 +197,21 @@
197197
);
198198
$aSettings['statistics'][] = array(
199199
'display' => 'Pool Hashrate Modifier', 'type' => 'select',
200-
'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ),
200+
'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ),
201201
'default' => '1',
202202
'name' => 'statistics_pool_hashrate_modifier', 'value' => $setting->getValue('statistics_pool_hashrate_modifier'),
203203
'tooltip' => 'Auto-adjust displayed pool hashrates to a certain limit.'
204204
);
205205
$aSettings['statistics'][] = array(
206206
'display' => 'Network Hashrate Modifier', 'type' => 'select',
207-
'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ),
207+
'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ),
208208
'default' => '1',
209209
'name' => 'statistics_network_hashrate_modifier', 'value' => $setting->getValue('statistics_network_hashrate_modifier'),
210210
'tooltip' => 'Auto-adjust displayed network hashrates to a certain limit.'
211211
);
212212
$aSettings['statistics'][] = array(
213213
'display' => 'Personal Hashrate Modifier', 'type' => 'select',
214-
'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' ),
214+
'options' => array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' ),
215215
'default' => '1',
216216
'name' => 'statistics_personal_hashrate_modifier', 'value' => $setting->getValue('statistics_personal_hashrate_modifier'),
217217
'tooltip' => 'Auto-adjust displayed personal hashrates to a certain limit.'

include/smarty_globals.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
if (! $statistics_ajax_long_refresh_interval = $setting->getValue('statistics_ajax_long_refresh_interval')) $statistics_ajax_long_refresh_interval = 10;
4848

4949
// Small helper array
50-
$aHashunits = array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s' );
50+
$aHashunits = array( '1' => 'KH/s', '0.001' => 'MH/s', '0.000001' => 'GH/s', '0.000000001' => 'TH/s', '0.000000000001' => 'PH/s', '0.000000000000001' => 'EH/s' );
5151

5252
// Global data for Smarty
5353
$aGlobal = array(

0 commit comments

Comments
 (0)