Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Changed default pools due to Ghash.io close down
Browse files Browse the repository at this point in the history
  • Loading branch information
michelem09 committed Oct 17, 2016
1 parent 9ac6096 commit 25ef636
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions application/config/app.php
Expand Up @@ -26,8 +26,8 @@
$config['mobileminer_url_remotecommands'] = 'https://api.mobileminerapp.com/RemoteCommands';
$config['mobileminera_apikey'] = 'Y8gl9PF6QR22Vv';
$config['mobileminera_url_stats'] = 'https://getminera.com/api/miners';
$config['minera_pool_url'] = 'stratum+tcp://ltc.ghash.io:3333';
$config['minera_pool_url_sha256'] = 'stratum+tcp://us1.ghash.io:3333';
$config['minera_pool_url'] = 'stratum+tcp://us.multipool.us:3334';
$config['minera_pool_url_sha256'] = 'stratum+tcp://us.multipool.us:3332';
$config['minera_pool_username'] = 'michelem.minera';
$config['minera_pool_password'] = 'x';
$config['minera_api_url'] = 'https://getminera.com/api';
Expand Down
3 changes: 2 additions & 1 deletion application/models/util_model.php
Expand Up @@ -812,7 +812,8 @@ function getMineraPoolUser()
{
$mineraSystemId = $this->generateMineraId();

return $this->config->item('minera_pool_username').$this->redis->get("minera_system_id");
//return $this->config->item('minera_pool_username').$this->redis->get("minera_system_id");
return $this->config->item('minera_pool_username');
}

function autoAddMineraPool()
Expand Down
4 changes: 2 additions & 2 deletions install_minera.sh
Expand Up @@ -17,7 +17,7 @@ usermod -a -G dialout,plugdev,tty,www-data minera
echo -e "Adding sudoers configuration for www-data and minera users\n-----\n"
echo -e "\n#Minera settings\nminera ALL = (ALL) NOPASSWD: ALL\nwww-data ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers

MINER_OPT="--gc3355-detect --gc3355-autotune --freq=850 -o stratum+tcp://ltc.ghash.io:3333 -u michelem.minera -p x --retries=1"
MINER_OPT="--gc3355-detect --gc3355-autotune --freq=850 -o stratum+tcp://us.multipool.us:3334 -u michelem.minera -p x --retries=1"
MINER_BIN=`pwd`"/minera-bin/"
MINERA_LOGS="/var/log/minera"
MINERA_CONF=`pwd`"/conf"
Expand Down Expand Up @@ -59,7 +59,7 @@ echo -n "1" | redis-cli -x set minerd_autodetect
echo -n "1" | redis-cli -x set anonymous_stats
echo -n "cpuminer" | redis-cli -x set minerd_software
echo -n '["132","155","3"]' | redis-cli -x set dashboard_coin_rates
echo -e '[{"url":"stratum+tcp://ltc.ghash.io:3333","username":"michelem.minera","password":"x"}]' | redis-cli -x set minerd_pools
echo -e '[{"url":"stratum+tcp://us.multipool.us:3334","username":"michelem.minera","password":"x"}]' | redis-cli -x set minerd_pools

echo -e "Adding minera startup command to rc.local\n-----\n"
chmod 777 /etc/rc.local
Expand Down
2 changes: 1 addition & 1 deletion minera-bin/src/bfgminer
Submodule bfgminer updated 107 files
2 changes: 1 addition & 1 deletion minera-bin/src/cpuminer-gc3355
Submodule cpuminer-gc3355 updated 2 files
+27 −83 cpu-miner.c
+105 −104 gc3355.h

0 comments on commit 25ef636

Please sign in to comment.