initial commit
This commit is contained in:
BIN
files/amd64/noso-go
Executable file
BIN
files/amd64/noso-go
Executable file
Binary file not shown.
29
files/amd64/noso-go.sh
Executable file
29
files/amd64/noso-go.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#POOL="DevNosoEU"
|
||||
POOL="devnoso"
|
||||
#POOL="leviable"
|
||||
#POOL="russiapool"
|
||||
#POOL="CryptoCribRO"
|
||||
WALLET="N3uKzdTeP4iV4ekhbkd2GW3izVPCREb"
|
||||
CPU=4
|
||||
|
||||
for wallet in ${WALLET:?Variable not set or is empty}; do
|
||||
wallets+=" --wallet $wallet"
|
||||
done
|
||||
|
||||
while true; do
|
||||
./noso-go mine pool \
|
||||
"${POOL:?Variable not set or is empty}" \
|
||||
$wallets \
|
||||
--cpu ${CPU:?Variable not set or is empty} \
|
||||
--exit-on-retry \
|
||||
--random-wallet
|
||||
|
||||
exit_code=$?
|
||||
if [ "$exit_code" != "1" ]; then
|
||||
continue
|
||||
else
|
||||
exit $exit_code
|
||||
fi
|
||||
done
|
Reference in New Issue
Block a user