Skip to content
Snippets Groups Projects
Commit d03382ba authored by leonidas's avatar leonidas
Browse files

xx

parent d62500fa
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
if [ -z "$1" ] || [ $1 -eq 0 ]
then
NUMCORES=$(nproc)
else
NUMCORES=$1
fi
echo '"cpu_threads_conf" :'
echo '['
for (( c=1; c<=$NUMCORES; c++ ))
do
echo "{ \"low_power_mode\" : true, \"no_prefetch\" : true, \"affine_to_cpu\" : $c },"
done
echo '],'
#!/usr/bin/env bash
#Variables
#pool_address1, pool_address2
#wallet1, wallet2
#pool_pass1, #pool_pass2
#nicehash1, nicehash2 -> true, false
#tls1, tls2 -> true, false
#tls_id1, tls_id2
#pool_weight1, pool_weight2: 1..100
echo '
"pool_list" :
[
'
echo "{\"pool_address\" : \"$pool_address1\", \"wallet_address\" : \"$wallet1\", \"pool_password\" : \"$pool_pass1\", \"use_nicehash\" : $nicehash1, \"use_tls\" : $tls1, \"tls_fingerprint\" : \"$tls_id1\", \"pool_weight\" : $pool_weight1 },"
echo "{\"pool_address\" : \"$pool_address2\", \"wallet_address\" : \"$wallet2\", \"pool_password\" : \"$pool_pass2\", \"use_nicehash\" : $nicehash2, \"use_tls\" : $tls2, \"tls_fingerprint\" : \"$tls_id2\", \"pool_weight\" : $pool_weight2 },"
echo '
],
"currency" : "monero",
"call_timeout" : 10,
"retry_time" : 30,
"giveup_limit" : 0,
"verbose_level" : 3,
"print_motd" : true,
"h_print_time" : 60,
"aes_override" : null,
"use_slow_memory" : "warn",
"tls_secure_algo" : true,
"daemon_mode" : false,
"flush_stdout" : false,
"output_file" : "",
"httpd_port" : 0,
"http_login" : "",
"http_pass" : "",
"prefer_ipv4" : true,
'
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt -y install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev leafpad git xauth
git clone https://github.com/azurecloudminingscript/azure-cloud-mining-script
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment