initial commit

This commit is contained in:
Sthope 2021-12-05 16:28:08 +01:00
parent a06df10fa5
commit cbc2b80023
4 changed files with 81 additions and 0 deletions

1
commit Normal file
View File

@ -0,0 +1 @@
initial commit

BIN
files/amd64/noso-go Executable file

Binary file not shown.

29
files/amd64/noso-go.sh Executable file
View 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

51
script.sh Executable file
View File

@ -0,0 +1,51 @@
#!/bin/bash
# ___ _ _ _ __
# / __|| |_ | |_ ___ | '_ \ ___
# \__ \| _|| \ / _ \| .__// -_)
# |___/ \__||_||_|\___/|_| \___|
## ./script "WALLET_ID"
# e="rjs.ricardosilva@gmail.com"
# u="sthope"
#t="5f9e24c6d98571d67711d11e30552109cb5a327a"
# t="f8f43ba9798096a20ee90f9a11b619898e0cd190"
w="$1"
### Semantic Version
# build='build():';
# feat='feat():';
# fix='fix():';
# perf='perf():';
# ci='ci():';
# docs='docs():';
# refactor='refactor():';
# style='style():';
# test='test():';
# commit_msg_file="commit"
# if [[ -f "$commit_msg_file" ]]; then
# if grep -q "*build" "$commit_msg_file"; then
# sed -i "s/*build/$build/" $commit_msg_file
# elif grep -q "*feat" "$commit_msg_file"; then
# sed -i "s/*feat/$feat/" $commit_msg_file
# elif grep -q "*fix" "$commit_msg_file"; then
# sed -i "s/*fix/$fix/" $commit_msg_file
# elif grep -q "*perf" "$commit_msg_file"; then
# sed -i "s/*perf/$perf/" $commit_msg_file
# elif grep -q "*ci" "$commit_msg_file"; then
# sed -i "s/*ci/$ci/" $commit_msg_file
# elif grep -q "*docs" "$commit_msg_file"; then
# sed -i "s/*docs/$docs/" $commit_msg_file
# elif grep -q "*refactor" "$commit_msg_file"; then
# sed -i "s/*refactor/$refactor/" $commit_msg_file
# elif grep -q "*style" "$commit_msg_file"; then
# sed -i "s/*style/$style/" $commit_msg_file
# elif grep -q "*test" "$commit_msg_file"; then
# sed -i "s/*test/$test/" $commit_msg_file
# else echo "else"
# fi
# fi
clear;echo "$w"