Skip to content

Commit

Permalink
Merge pull request MPOS#878 from ahmedbodi/patch-1
Browse files Browse the repository at this point in the history
Added Algorithm to Globals
  • Loading branch information
TheSerapher committed Nov 29, 2013
2 parents 3094681 + 89c6857 commit 2fa6768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/include/smarty_globals.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
'price' => $setting->getValue('price'),
'disable_mp' => $setting->getValue('disable_mp'),
'config' => array(
'algorithm' => $config['algorithm'],
'target_bits' => $config['target_bits'],
'accounts' => $config['accounts'],
'disable_invitations' => $setting->getValue('disable_invitations'),
Expand Down
2 changes: 1 addition & 1 deletion public/templates/mpos/gettingstarted/default.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</tbody>
</table>
<p>If you use a command-line miner, type:</p>
<pre>./cgminer --scrypt -o stratum+tcp://{$smarty.server.SERVER_NAME}:{$SITESTRATUMPORT|default:"3333"} -u <em>Weblogin</em>.<em>Worker</em> -p <em>Worker password</em></pre>
<pre>./cgminer {if $GLOBAL.config.algorithm == 'scrypt'}--scrypt {/if} -o stratum+tcp://{$smarty.server.SERVER_NAME}:{$SITESTRATUMPORT|default:"3333"} -u <em>Weblogin</em>.<em>Worker</em> -p <em>Worker password</em></pre>
<p>If you want, you can create additional workers with usernames and passwords of your choice <a href="{$smarty.server.PHP_SELF}?page=account&action=workers">Here</a></p>
</li>
<li>4. <strong>Create a {$SITECOINNAME|default:"Litecoin"} address to recieve payments.</strong>
Expand Down

0 comments on commit 2fa6768

Please sign in to comment.