From b5f321a3f1b0a67c2ef7abb0963c70471dad77b4 Mon Sep 17 00:00:00 2001 From: wisfern Date: Mon, 8 Apr 2024 00:20:32 +0800 Subject: [PATCH] add --- rewards.sh | 3 --- run.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/rewards.sh b/rewards.sh index 662b872..ab3ad36 100644 --- a/rewards.sh +++ b/rewards.sh @@ -8,9 +8,6 @@ total_rewards=0 files=$(find . -maxdepth 2 -type f -name "*.json") for keyfile in $files; do - if [ -f ./rpc_config ]; then - source ./rpc_config - fi rewards=$(ore --rpc $rpc --keypair $keyfile rewards 2>/dev/null | sed 's/ ORE//') total_rewards=$(echo "$total_rewards + $rewards" | bc) echo $keyfile $rewards ORE diff --git a/run.sh b/run.sh index 999481a..636e394 100644 --- a/run.sh +++ b/run.sh @@ -32,7 +32,7 @@ do 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 + nice -n 2 ./ore --rpc \$rpc --keypair $keypair --priority-fee 1000000 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 &