Lotus 文档

1,Lotus 文档

  • 安装依赖
go version
gcc --version
git --version
bzr --version
jq --version
pkg-config --version
apt install ocl-icd-* opencl-headers clinfo llvm clang
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • 删除数据
# rm -rf ~/.lotus ~/.lotusstorage/
  • Ubuntu 18.04 LTS 安装lotus
  • git clone下载缓慢设置终端代理
# systemctl status  shadowsocks-libev-local@config
# export ALL_PROXY=socks5://127.0.0.1:1080
# git clone https://github.com/filecoin-project/lotus.git
# cd lotus/
# make clean all && make install
  • error报错
go: github.com/filecoin-project/go-amt-ipld@v0.0.0-20191203073133-f941215342ed: Get https://proxy.golang.org/github.com/filecoin-project/go-amt-ipld/@v/v0.0.0-20191203073133-f941215342ed.mod: dial tcp 172.217.24.17:443: i/o timeout
# vim /root/lotus/build/paramfetch.go
//const gateway = "https://ipfs.io/ipfs/"
const gateway = "https://ipfs.globalupload.io/"
  • 重新编译安装
# export GO111MODULE=on
# export GOPROXY=https://goproxy.io
# make clean all && make install

go build  -o lotus-storage-miner ./cmd/lotus-storage-miner
go run github.com/GeertJohan/go.rice/rice append --exec lotus-storage-miner -i ./build
install -C ./lotus /usr/local/bin/lotus
install -C ./lotus-storage-miner /usr/local/bin/lotus-storage-miner
  • 后台运行
# lotus daemon >> /var/log/lotus.log 2>&1 &
  • 复制证明参数下载
# tail -f /var/log/lotus.log
2019-12-05T23:24:24.372+0800	INFO	repo	repo/fsrepo.go:97	Initializing repo at '/root/.lotus'
2019-12-05T23:24:24.373+0800	INFO	build	build/paramfetch.go:139	Fetching /var/tmp/filecoin-proof-parameters/v20-proof-of-spacetime-election-6c7cbfe7eed40b6c0b23a213a70648770aed65d9ca03ae85451573c18532304b.vk from https://ipfs.globalupload.io/
  • 节点连接
# lotus net peers | wc -l
71
  • 查看区块高度同步
# lotus sync wait
  • 列出钱包地址
# lotus wallet list
  • 创建钱包地址
# lotus wallet new bls
t3wggxlcbmesgpugp7uwobgyycbi3l6xsr4v26x3kuueyyymicfjgnwxh2ma2pyzhx5rs2us2qbn62frusr2ca

2,显卡GPU

            ("GeForce RTX 2080 Ti".to_string(), 4352),
            ("GeForce RTX 2080 SUPER".to_string(), 3072),
            ("GeForce RTX 2080".to_string(), 2944),
            ("GeForce GTX 1080 Ti".to_string(), 3584),
            ("GeForce GTX 1080".to_string(), 2560),
            ("GeForce GTX 1060".to_string(), 1280),

参考:

  1. LOTUS DOCUMENTATION 0.2
  2. lotus documentation
  3. lotus web 统计界面
  4. Goproxy 中国
  5. Filecoin Proofs 复制证明参数
  6. Filecoin Docs
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值