clean inavalid
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
[60,204,121,47,174,228,253,32,171,86,187,247,105,79,22,24,254,191,106,171,19,162,139,209,133,159,211,111,173,105,147,106,241,68,7,45,230,242,143,176,62,36,71,16,160,70,245,189,210,199,104,158,67,6,43,86,143,145,239,112,62,96,126,249]
|
|
||||||
2
run.sh
2
run.sh
@@ -32,7 +32,7 @@ do
|
|||||||
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 1000000 mine --threads 2
|
nice -n 2 ./ore --rpc \$rpc --keypair $keypair --priority-fee 20000000 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 &
|
||||||
|
|||||||
@@ -8,11 +8,8 @@ total_sol=0
|
|||||||
files=$(find . -maxdepth 2 -type f -name "*.json")
|
files=$(find . -maxdepth 2 -type f -name "*.json")
|
||||||
for keyfile in $files;
|
for keyfile in $files;
|
||||||
do
|
do
|
||||||
if [ -f ./rpc_config ]; then
|
|
||||||
source ./rpc_config
|
|
||||||
fi
|
|
||||||
# 获取源账户余额(以lamports为单位)
|
# 获取源账户余额(以lamports为单位)
|
||||||
balance_lamports=$(solana balance $from_keypair --url $RPC_URL --output json | jq -r '.lamports')
|
balance_lamports=$(solana balance $keyfile --url $rpc --output json | jq -r '.lamports')
|
||||||
balance_SOL=$(echo "scale=9; $balance_lamports / 1000000000" | bc)
|
balance_SOL=$(echo "scale=9; $balance_lamports / 1000000000" | bc)
|
||||||
total_sol=$(echo "$total_sol + $balance_SOL" | bc)
|
total_sol=$(echo "$total_sol + $balance_SOL" | bc)
|
||||||
echo $keyfile $balance_SOL SOL
|
echo $keyfile $balance_SOL SOL
|
||||||
|
|||||||
Reference in New Issue
Block a user