From 4439dbb3b90ee1b738a2da9f9f66beb0ca8ad38b Mon Sep 17 00:00:00 2001 From: Wisfern Date: Sun, 7 Apr 2024 23:40:08 +0800 Subject: [PATCH] fix filename --- run.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/run.sh b/run.sh index 4a58549..999481a 100644 --- a/run.sh +++ b/run.sh @@ -28,14 +28,14 @@ do keypair_basename=$(basename "$keypair") screen -dmS mining_$keypair_basename bash -c " while true; do - rpcurls=(${RPCURLS_STR//,/ }) - index=$((RANDOM % ${#rpcurls[@]})) - rpc=${rpcurls[$index]} - 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 - #ore --rpc $rpc --keypair ./$keypair --priority-fee 1000000 mine --threads 16 & + rpcurls=(\${RPCURLS_STR//,/ }) + index=\$((RANDOM % \${#rpcurls[@]})) + rpc=\${rpcurls[\$index]} + 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 + #ore --rpc \$rpc --keypair $keypair --priority-fee 1000000 mine --threads 16 & #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 done "