export LOTUS_PATH=/cephfs/lotuswork/lotus
export LOTUS_STORAGE_PATH=/cephfs/lotuswork/lotusstorage
export WORKER_PATH=/cephfs/lotuswork/lotusworker
export TMPDIR=/cephfs/lotuswork/tmpdir
export FIL_PROOFS_PARAMETER_CACHE=/cephfs/filecoin-proof-parameters-v27
export IPFS_GATEWAY=https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/
export FIL_PROOFS_PARENT_CACHE=/cephfs/lotuswork/filecoin-parents
export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1
export FIL_PROOFS_USE_GPU_TREE_BUILDER=1
export FIL_PROOFS_MAXIMIZE_CACHING=1
export RUST_BACKTRACE=full
export RUST_LOG=debug
# go env GOPROXY
# go env GO111MODULE
# go env -w GOPROXY=https://goproxy.cn,direct
# go env -w GO111MODULE=on
# export ALL_PROXY=socks5://127.0.0.1:1080
# git config --global http.proxy 'socks5://127.0.0.1:1080'
git clone --branch ntwk-calibration https://github.com/filecoin-project/lotus.git
# git show
commit b84030b3bdf19b953cbf330710453d20f3f3abfd (HEAD -> ntwk-calibration, tag: ntwk-calibration-7.21.1, origin/ntwk-calibration)
Author: Jakub Sztandera <[email protected]>
Date: Tue Jul 21 03:41:18 2020 +0200
Fix nonce setting in gas estimation
env RUSTFLAGS="-C target-cpu=native -g" FFI_BUILD_FROM_SOURCE=1 make clean all bench
env RUSTFLAGS="-C target-cpu=native -g" FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1 FIL_PROOFS_USE_GPU_TREE_BUILDER=1 FFI_BUILD_FROM_SOURCE=1 make clean all bench
make install
nohup lotus daemon >> /cephfs/lotus.log 2>&1 &
lotus sync status
lotus sync wait
lotus wallet new bls
lotus wallet list
ntwk-calibration 水龙头
# lotus wallet balance
192000 FIL
lotus-miner init --owner=钱包地址 --sector-size=32GiB
nohup lotus-miner run >> /cephfs/miner.log 2>&1 &
lotus-miner info
lotus-miner sectors pledge
# lotus-miner sectors list
0: CommitFailed sSet: NO active: NO tktH: 267 seedH: 2153 deals: [0]
lotus-miner sectors update-state --really-do-it 矿工ID FaultedFinal
# lotus-miner sectors update-state --really-do-it 0 FaultedFinal
# lotus-miner sectors list
0: FaultedFinal sSet: NO active: NO tktH: 267 seedH: 2153 deals: [0]