Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update payment.sh #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions multipool/payment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ echo "Start: $starttime End: $endtime"
then
thisalgoP=`echo "scale=8;$thisalgoP * 1000" | bc -l`> /dev/null
elif [ $Algo = "x11" ]
then
thisalgoP=`echo "scale=8;$thisalgoP * 1" | bc -l`> /dev/null
elif [ $Algo = "x13" ]
then
thisalgoP=`echo "scale=8;$thisalgoP * 1" | bc -l`> /dev/null
else
Expand All @@ -75,6 +78,7 @@ done< <(redis-cli hkeys Coin_Algos)
redis-cli hget API sha256 > ~/unomp/website/static/sha256_profit.txt
redis-cli hget API scrypt > ~/unomp/website/static/scrypt_profit.txt
redis-cli hget API x11 > ~/unomp/website/static/x11_profit.txt
redis-cli hget API x13 > ~/unomp/website/static/x13_profit.txt

# Change to your path variables throughout, hoping to add up front global vars
cp ~/unomp/multipool/alerts/payouts.log ~/unomp/multipool/alerts/old_payouts.log
Expand Down