fix filename
This commit is contained in:
14
run.sh
14
run.sh
@@ -28,14 +28,14 @@ do
|
|||||||
keypair_basename=$(basename "$keypair")
|
keypair_basename=$(basename "$keypair")
|
||||||
screen -dmS mining_$keypair_basename bash -c "
|
screen -dmS mining_$keypair_basename bash -c "
|
||||||
while true; do
|
while true; do
|
||||||
rpcurls=(${RPCURLS_STR//,/ })
|
rpcurls=(\${RPCURLS_STR//,/ })
|
||||||
index=$((RANDOM % ${#rpcurls[@]}))
|
index=\$((RANDOM % \${#rpcurls[@]}))
|
||||||
rpc=${rpcurls[$index]}
|
rpc=\${rpcurls[\$index]}
|
||||||
echo \"Starting indefinite ore mining iteration with $keypair and rpc $rpc ....\"
|
echo \"Starting indefinite ore mining iteration with $keypair and rpc \$rpc ....\"
|
||||||
nice -n 2 ./ore --rpc $rpc --keypair ./$keypair --priority-fee 5000000 mine --threads 2
|
nice -n 2 ./ore --rpc \$rpc --keypair $keypair --priority-fee 5000000 mine --threads 2
|
||||||
#ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &
|
#ore --rpc \$rpc --keypair $keypair --priority-fee 1000000 mine --threads 16 &
|
||||||
#sleep 5
|
#sleep 5
|
||||||
#ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 &
|
#ore --rpc \$rpc --keypair $keypair --priority-fee 1000000 mine --threads 16 &
|
||||||
#wait
|
#wait
|
||||||
done
|
done
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user