Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
upgrade to testnet 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shannon-6block committed Jun 19, 2020
1 parent 283b927 commit ebe1f6d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
* 自动设置FIL_PROOFS_MAXIMIZE_CACHING环境变量。
* 默认不使用LOTUS_STORAGE_PATH来存储文件,分离目录。

# 注意
* 开始之前请确保有足够的空闲内存。
* 请确保所有设备能够正常连接互联网。

# 安装配置
将会安装挖矿程序、必要的库、时间校准、显卡驱动、ulimit、swap内存(64 GB)。
```
Expand Down Expand Up @@ -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
# 等待节点同步完成
Expand Down
10 changes: 9 additions & 1 deletion README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
```
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/install.sh
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit ebe1f6d

Please sign in to comment.