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

Commit

Permalink
upgrade to test.0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shannon-6block committed Jul 4, 2020
1 parent 4e79fac commit f3501d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lotus fetch-params 32GiB
```
# 确定版本
lotus -v
lotus version 0.4.17+git.045440aa
lotus version 0.4.1+git.ee7bdf38
# 启动lotus
nohup lotus daemon > ~/lotus.log 2>&1 &
Expand Down Expand Up @@ -141,7 +141,6 @@ lotus-storage-miner sectors list

# TODO
* 有时会因为worker运行任务过多,资源不够,导致部分sector出现短时间的SealPreCommit1Failed状态,可忽略。
* 因为CPU和GPU计算Commit2的时间相近,所以当GPU被占用时,Commit2会降级为CPU计算,导致出现CL_MEM_OBJECT_ALLOCATION_FAILURE错误,可忽略。
* 程序在推荐配置下顺利运行,没有做过其他环境的测试,如果遇到问题可以提issue。
* 会及时合入官方的代码改动。
* 运行前请保证可用内存和SSD空间充裕。
3 changes: 1 addition & 2 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Start lotus.
```
# Check the version
lotus -v
lotus version 0.4.17+git.045440aa
lotus version 0.4.1+git.ee7bdf38
# Start lotus
nohup lotus > ~/lotus.log 2>&1 &
Expand Down Expand Up @@ -139,7 +139,6 @@ Or you can use the block explorer, like https://filfox.io/, to check it.

# TODO
* Due to handling too many tasks and lack of resources of the worker, sometimes, part of sectors will stay in the state of SealPreCommit1Failed for a short while, as can be ignored.
* Because time is similar for CPU and GPU to calculate Commit2, when the GPU is in use, Commit2 will be downgraded to use CPU, resulting in CL_MEM_OBJECT_ALLOCATION_FAILURE errors, which can be ignored.
* The program runs smoothly under the recommended configuration, and has not been tested in other environments. If you encounter problems, please raise an issue.
* The official code changes will be merged in time.
* Before running, please ensure that available memory and SSD spaces are sufficient.
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/test.0.4.0.17/lotus-miner.tar.gz
wget https://github.com/shannon-6block/lotus-miner/releases/download/test.0.4.1/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 f3501d5

Please sign in to comment.