From ebe1f6d53f0e44ab2ebfcb20b3b29fb5b93c2c7d Mon Sep 17 00:00:00 2001 From: shannon-6block Date: Fri, 19 Jun 2020 09:42:14 +0800 Subject: [PATCH] upgrade to testnet 0.4.0 --- README.md | 10 +++++++++- README_en.md | 10 +++++++++- script/install.sh | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2c51124..8b2a6f7 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,10 @@ * 自动设置FIL_PROOFS_MAXIMIZE_CACHING环境变量。 * 默认不使用LOTUS_STORAGE_PATH来存储文件,分离目录。 +# 注意 +* 开始之前请确保有足够的空闲内存。 +* 请确保所有设备能够正常连接互联网。 + # 安装配置 将会安装挖矿程序、必要的库、时间校准、显卡驱动、ulimit、swap内存(64 GB)。 ``` @@ -55,13 +59,17 @@ lotus fetch-params --proving-params 32GiB 启动lotus。 ``` +# 确定版本 +lotus -v +lotus version 0.4.16+git.d48181cd + # 启动lotus nohup lotus daemon > ~/lotus.log 2>&1 & # 查看日志 tail -f ~/lotus.log -# 生成account。需要去 https://t01000.miner.interopnet.kittyhawk.wtf/ 领取测试币和创建矿工账户 +# 生成account。需要去 https://faucet.testnet.filecoin.io/ 领取测试币和创建矿工账户 lotus wallet new bls # 等待节点同步完成 diff --git a/README_en.md b/README_en.md index 925664d..e27f7ba 100644 --- a/README_en.md +++ b/README_en.md @@ -22,6 +22,10 @@ Not tested. If there is any problem, please raise an issue. * Automatically set environment variable FIL_PROOFS_MAXIMIZE_CACHING. * Don't use LOTUS_STORAGE_PATH to store files, separating directories. +# Notice +* Make sure there is enough spare RAM before you get started. +* Make sure all your hardware can connect to the Internet. + # Installation The mining program, necessary libraries, time calibration , GPU driver, swap memory (64 GB) will be installed. ``` @@ -54,13 +58,17 @@ lotus fetch-params --proving-params 32GiB Start lotus. ``` +# Check the version +lotus -v +lotus version 0.4.16+git.d48181cd + # Start lotus nohup lotus > ~/lotus.log 2>&1 & # View logs tail -f ~/lotus.log -# Generate an account. Need to go to https://t01000.miner.interopnet.kittyhawk.wtf/ to get test coins and create a miner account. +# Generate an account. Need to go to https://faucet.testnet.filecoin.io/ to get test coins and create a miner account. lotus wallet new bls # Wait for node synchronized diff --git a/script/install.sh b/script/install.sh index f6d6b7a..433c4a1 100755 --- a/script/install.sh +++ b/script/install.sh @@ -1,7 +1,7 @@ #!/bin/bash rm -rf lotus-miner.tar.gz cmd -wget https://github.com/shannon-6block/lotus-miner/releases/download/interop.6.8.1/lotus-miner.tar.gz +wget https://github.com/shannon-6block/lotus-miner/releases/download/test.0.4.0/lotus-miner.tar.gz mkdir cmd tar zxvf lotus-miner.tar.gz -C cmd/ cp cmd/* /usr/local/bin/