mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-20 10:09:09 +00:00
separate stratum URL option (squashed + default)
This commit is contained in:
parent
fac301fb93
commit
e0d65b0fad
5 changed files with 6 additions and 4 deletions
|
@ -30,6 +30,7 @@ define('YAAMP_USE_NICEHASH_API', false);
|
||||||
|
|
||||||
define('YAAMP_BTCADDRESS', '1Auhps1mHZQpoX4mCcVL8odU81VakZQ6dR');
|
define('YAAMP_BTCADDRESS', '1Auhps1mHZQpoX4mCcVL8odU81VakZQ6dR');
|
||||||
define('YAAMP_SITE_URL', 'yiimp.ccminer.org');
|
define('YAAMP_SITE_URL', 'yiimp.ccminer.org');
|
||||||
|
define('YAAMP_STRATUM_URL', YAAMP_SITE_URL); // change if your stratum server is on a different host
|
||||||
define('YAAMP_SITE_NAME', 'YiiMP');
|
define('YAAMP_SITE_NAME', 'YiiMP');
|
||||||
define('YAAMP_ADMIN_EMAIL', 'yiimp@spam.la');
|
define('YAAMP_ADMIN_EMAIL', 'yiimp@spam.la');
|
||||||
define('YAAMP_ADMIN_IP', '127.0.0.1,80.236.118.26');
|
define('YAAMP_ADMIN_IP', '127.0.0.1,80.236.118.26');
|
||||||
|
|
|
@ -40,6 +40,7 @@ if (!defined('EXCH_NOVA_KEY')) define('EXCH_NOVA_KEY', '');
|
||||||
|
|
||||||
if (!defined('YAAMP_BTCADDRESS')) define('YAAMP_BTCADDRESS', '');
|
if (!defined('YAAMP_BTCADDRESS')) define('YAAMP_BTCADDRESS', '');
|
||||||
if (!defined('YAAMP_SITE_URL')) define('YAAMP_SITE_URL', 'localhost');
|
if (!defined('YAAMP_SITE_URL')) define('YAAMP_SITE_URL', 'localhost');
|
||||||
|
if (!defined('YAAMP_STRATUM_URL')) define('YAAMP_STRATUM_URL', YAAMP_SITE_URL);
|
||||||
if (!defined('YAAMP_SITE_NAME')) define('YAAMP_SITE_NAME', 'YiiMP');
|
if (!defined('YAAMP_SITE_NAME')) define('YAAMP_SITE_NAME', 'YiiMP');
|
||||||
if (!defined('YAAMP_ADMIN_EMAIL')) define('YAAMP_ADMIN_EMAIL', 'yiimp@spam.la');
|
if (!defined('YAAMP_ADMIN_EMAIL')) define('YAAMP_ADMIN_EMAIL', 'yiimp@spam.la');
|
||||||
if (!defined('YAAMP_ADMIN_IP')) define('YAAMP_ADMIN_IP', '127.0.0.1');
|
if (!defined('YAAMP_ADMIN_IP')) define('YAAMP_ADMIN_IP', '127.0.0.1');
|
||||||
|
|
|
@ -330,14 +330,14 @@ if ($coin->id) {
|
||||||
echo "gen=0\n";
|
echo "gen=0\n";
|
||||||
echo "\n";
|
echo "\n";
|
||||||
echo "alertnotify=echo %s | mail -s \"{$coin->name} alert!\" ".YAAMP_ADMIN_EMAIL."\n";
|
echo "alertnotify=echo %s | mail -s \"{$coin->name} alert!\" ".YAAMP_ADMIN_EMAIL."\n";
|
||||||
echo "blocknotify=blocknotify ".YAAMP_SITE_URL.":$port {$coin->id} %s\n";
|
echo "blocknotify=blocknotify ".YAAMP_STRATUM_URL.":$port {$coin->id} %s\n";
|
||||||
echo CHtml::closetag("pre");
|
echo CHtml::closetag("pre");
|
||||||
|
|
||||||
echo CHtml::tag("hr");
|
echo CHtml::tag("hr");
|
||||||
echo "<b>Miner command line</b>:";
|
echo "<b>Miner command line</b>:";
|
||||||
echo CHtml::opentag("pre");
|
echo CHtml::opentag("pre");
|
||||||
echo "-a {$coin->algo} ";
|
echo "-a {$coin->algo} ";
|
||||||
echo "-o stratum+tcp://".YAAMP_SITE_URL.':'.$port.' ';
|
echo "-o stratum+tcp://".YAAMP_STRATUM_URL.':'.$port.' ';
|
||||||
echo "-u {$coin->master_wallet} ";
|
echo "-u {$coin->master_wallet} ";
|
||||||
echo "-p c={$coin->symbol} ";
|
echo "-p c={$coin->symbol} ";
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
|
@ -11,7 +11,7 @@ you have from 5 to 15 submits per minute. It's a good trade off between bandwidt
|
||||||
if you want to set the difficulty to 64, you would use:</p>
|
if you want to set the difficulty to 64, you would use:</p>
|
||||||
|
|
||||||
<pre class="main-left-box" style='padding: 3px; font-size: .9em; background-color: #ffffee; font-family: monospace;'>
|
<pre class="main-left-box" style='padding: 3px; font-size: .9em; background-color: #ffffee; font-family: monospace;'>
|
||||||
-o stratum+tcp://<?= YAAMP_SITE_URL ?>:3433 -u wallet_adress -p d=64
|
-o stratum+tcp://<?= YAAMP_STRATUM_URL ?>:3433 -u wallet_adress -p d=64
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p style="width: 700px;">Here are the accepted values for the custom diff:</p>
|
<p style="width: 700px;">Here are the accepted values for the custom diff:</p>
|
||||||
|
|
|
@ -57,7 +57,7 @@ $payout_freq = (YAAMP_PAYMENTS_FREQ / 3600)." hours";
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<p class="main-left-box" style='padding: 3px; font-size: .8em; background-color: #ffffee; font-family: monospace;'>
|
<p class="main-left-box" style='padding: 3px; font-size: .8em; background-color: #ffffee; font-family: monospace;'>
|
||||||
-o stratum+tcp://<?= YAAMP_SITE_URL ?>:<PORT> -u <WALLET_ADDRESS> [-p <OPTIONS>]</p>
|
-o stratum+tcp://<?= YAAMP_STRATUM_URL ?>:<PORT> -u <WALLET_ADDRESS> [-p <OPTIONS>]</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php if (YAAMP_ALLOW_EXCHANGE): ?>
|
<?php if (YAAMP_ALLOW_EXCHANGE): ?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue