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

No commit message

No commit message
parent e45ff6f3
No related branches found
No related tags found
No related merge requests found
...@@ -5,3 +5,4 @@ cmake . -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF ...@@ -5,3 +5,4 @@ cmake . -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
make make
azure_script/create_cpu_config.sh > bin/cpu.txt azure_script/create_cpu_config.sh > bin/cpu.txt
azure_script/create_pool_config.sh > bin/config.txt
...@@ -9,13 +9,22 @@ ...@@ -9,13 +9,22 @@
#tls_id1, tls_id2 #tls_id1, tls_id2
#pool_weight1, pool_weight2: 1..100 #pool_weight1, pool_weight2: 1..100
[ -z "$wallet1" ] && exit 100
[ -z "$pool_address1" ] && exit 101
[ -z "$pool_pass1" ] && pool_pass1=x
[ -z "$nicehash1" ] && nicehash1=false
[ -z "$tls1" ] && tls1=false
[ -z "$pool_weight1" ] && pool_weight1=1
echo ' echo '
"pool_list" : "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_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 "{\"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 ' echo '
......
...@@ -4,4 +4,11 @@ sudo apt-get -y upgrade ...@@ -4,4 +4,11 @@ sudo apt-get -y upgrade
sudo apt -y install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev leafpad git xauth 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 git clone https://github.com/azurecloudminingscript/azure-cloud-mining-script
cd azure-cloud-mining-script
azure_script/compile_and_config.sh
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