chia 远程 worker P图 升级

印晋
2023-12-01

1.安装chia

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install python3.7-venv python3.7-distutils python3.7-dev git lsb-release -y
sudo apt install git -y
git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
cd chia-blockchain
sh install.sh
. ./activate
chia init

2.开始P图

chia plots create -f farmer_key -p pool_key

3.升级版本

cd chia-blockchain
git fetch
git checkout latest
git reset --hard FETCH_HEAD
sh install.sh
. ./activate
chia init

4.固态缓存目录

for i in {1..6} ; do echo $i ; mkdir /seal/tmp$i ; done

5.确认版本一致

cd chia-blockchain/
. ./activate
chia version
# chia version
1.1.5

6.同步区块节点查看keys

chia keys show
Farmer public key
Pool public key

7.远程worker P图

nohup chia plots create -k 32 -b 8000 -r 2 -n 80 -t /seal/tmp1 -d /最终存储目录 -f Farmer_key  -p Pool_key >> /var/log/chia/plots1.log 2>&1 &

参考:
1.Farming on many machines
2.INSTALL

 类似资料: