rm -rf $LOTUS_PATH
rm -rf $LOTUS_MINER_PATH
rm -rf ~/.lotus/
rm -rf ~/.lotusminer/
rm -rf ~/.genesis-sectors/
rm -rf ~/devgen.car
rm -rf ~/localnet.json
rm -rf /root/v1.17.1-rc3/lotus-local-net/devgen.car
rm -rf /root/v1.17.1-rc3/lotus-local-net/localnet.json
./lotus-seed pre-seal --sector-size 8MiB --num-sectors 2
./lotus-seed genesis new localnet.json
./lotus-seed genesis add-miner localnet.json ~/.genesis-sectors/pre-seal-t01000.json
./lotus daemon --lotus-make-genesis=devgen.car --genesis-template=localnet.json --bootstrap=false
./lotus wallet import --as-default ~/.genesis-sectors/pre-seal-t01000.key
./lotus-miner init --genesis-miner --actor=t01000 --sector-size=8MiB --pre-sealed-sectors=~/.genesis-sectors --pre-sealed-metadata=~/.genesis-sectors/pre-seal-t01000.json --nosync
./lotus-miner run --nosync
运行
nohup lotus daemon --genesis=/root/v1.17.1-rc3/lotus-local-net/devgen.car --profile=bootstrapper >> /var/log/8MB/daemon.log 2>&1 &
nohup lotus-miner run --nosync >> /var/log/8MB/miner.log 2>&1 &