|
@@ -1,8 +1,8 @@
|
|
|
#!/bin/bash
|
|
|
#set -e
|
|
|
-Version=6.0.0
|
|
|
+Version=6.0.1
|
|
|
|
|
|
-Gui=Yes #can be Yes No or Only
|
|
|
+Gui=No #can be Yes No or Only
|
|
|
GigaHorse_farmer=Yes
|
|
|
|
|
|
MadMax=Yes
|
|
@@ -91,9 +91,13 @@ then
|
|
|
fi
|
|
|
case $Gui in
|
|
|
YES)
|
|
|
- echo -n "$(tput setaf 41)"
|
|
|
+ echo -n "$(tput setaf 40)"
|
|
|
print_centered "Blockchain wallet + Gui"
|
|
|
echo -n "$(tput sgr0)"
|
|
|
+ echo -n "$(tput setaf 11)"
|
|
|
+ print_centered "Chia Plotting Tools"
|
|
|
+ echo -n "$(tput sgr0)"
|
|
|
+
|
|
|
;;
|
|
|
NO)
|
|
|
echo -n "$(tput setaf 11)"
|
|
@@ -117,7 +121,7 @@ if [ $Gui = "NO" ] || [ $Gui = "YES" ]
|
|
|
then
|
|
|
case $GigaHorse_farmer in
|
|
|
YES)
|
|
|
- echo -n "$(tput setaf 43)"
|
|
|
+ echo -n "$(tput setaf 42)"
|
|
|
print_centered "GigaHorse Farmer"
|
|
|
echo -n "$(tput sgr0)"
|
|
|
;;
|
|
@@ -131,15 +135,15 @@ YES)
|
|
|
esac
|
|
|
case $H9_ChiaProxy in
|
|
|
YES)
|
|
|
- echo -n "$(tput setaf 44)"
|
|
|
+ echo -n "$(tput setaf 43)"
|
|
|
print_centered "Hpool x-Proxy Enabled"
|
|
|
echo -n "$(tput sgr0)"
|
|
|
;;
|
|
|
esac
|
|
|
case $FoxyPool in
|
|
|
YES)
|
|
|
- echo -n "$(tput setaf 166)"
|
|
|
- print_centered "FoxyPool Enabled"
|
|
|
+ echo -n "$(tput setaf 44)"
|
|
|
+ print_centered "FoxyPool"
|
|
|
echo -n "$(tput sgr0)"
|
|
|
;;
|
|
|
esac
|
|
@@ -201,7 +205,6 @@ OUT=/media/Partage/Plots-nft/
|
|
|
./chia_plot -p $POOL -f $FARM -n 1 -r 4 -u 128 -t /nvme0/plotting/ -2 /nvme1/plotting/ -d $OUT
|
|
|
EOF
|
|
|
chmod +x nft.sh
|
|
|
-echo -e "\e[97mDone.\e[0m"
|
|
|
|
|
|
if [ -f foxy.sh ];then rm foxy.sh; fi
|
|
|
cat <<'EOF'>> foxy.sh
|
|
@@ -278,6 +281,7 @@ fi
|
|
|
echo "generate bash files..."
|
|
|
sudo cp ~/chia/chia-gigahorse/plot-sink/linux/x86_64/* /usr/local/bin/
|
|
|
sudo cp ~/chia/chia-gigahorse/cpu-plotter/linux/x86_64/* /usr/local/bin/
|
|
|
+sudo cp ~/chia/chia-gigahorse/chiapos/linux/x86_64/ProofOfSpace /usr/local/bin/
|
|
|
cd ~
|
|
|
if [ -f distrib_chia.sh ];then sudo rm distrib_chia.sh;fi
|
|
|
if [ -f /usr/local/bin/distrib_chia.sh ];then sudo rm /usr/local/bin/distrib_chia.sh;fi
|
|
@@ -489,7 +493,7 @@ CTR=xch1f5y47t9jhkthq4fktq5md2d7wz3ruwdsnqah9ym8k3dd0ll2gheqh7l785
|
|
|
FPK=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
|
|
|
OUT=@192.168.1.100
|
|
|
./cuda_plot_k32 -g 0 -c $CTR -f $FPK -C 17 -n 1 -t /raid/plotting/ -3 /raid/plotting/ -d $OUT
|
|
|
-#/home/wareck/chia/chia-gigahorse/chiapos/linux/x86_64/ProofOfSpace farm -t 8 -d 100 -f $OUT
|
|
|
+ProofOfSpace farm -t 8 -d 100 -f $OUT
|
|
|
EOF
|
|
|
chmod +x foxypool.sh
|
|
|
mv foxypool.sh /home/wareck/chia/chia-gigahorse/cuda-plotter/linux/x86_64/foxypool.sh
|
|
@@ -574,17 +578,16 @@ ONLY)
|
|
|
*)
|
|
|
|
|
|
if [ $GigaHorse = "YES" ];then gigahorse;fi
|
|
|
-if [ $GigaHorse_farmer = "YES" ];then GigaHorse_farmer_;fi
|
|
|
-if [ $FoxyPool = "YES" ]; then foxypool_;fi
|
|
|
-exit
|
|
|
if [ $MadMax = "YES" ];then chia_plotter;fi
|
|
|
if [ $BladeBit = "YES" ];then bladebit;fi
|
|
|
if [ $ChiaPos = "YES" ];then chiapos;fi
|
|
|
-if [ $Miner = "YES" ];then miner_;fi
|
|
|
-if [ $ChiaService = "YES" ];then service_;fi
|
|
|
-if [ $ChiaProxy = "YES" ]; then chia_proxy;fi
|
|
|
-if [ $Gui = "YES" ]; then chia_blockchain;fi
|
|
|
+if [ $H9_Miner = "YES" ];then miner_;fi
|
|
|
+if [ $H9_ChiaService = "YES" ];then service_;fi
|
|
|
+if [ $H9_ChiaProxy = "YES" ]; then chia_proxy;fi
|
|
|
if [ $FoxyPool = "YES" ]; then foxypool_;fi
|
|
|
+if [ $GigaHorse_farmer = "YES" ];then GigaHorse_farmer_;fi
|
|
|
+if [ $Gui = "YES" ]; then chia_blockchain;fi
|
|
|
+
|
|
|
;;
|
|
|
esac
|
|
|
|