lotus/scripts/dev/gen-daemon

12 lines
441 B
Plaintext
Raw Permalink Normal View History

2019-11-30 09:25:31 +00:00
#!/usr/bin/env sh
set -o xtrace
export TRUST_PARAMS=1
tag=${TAG:-debug}
2019-11-30 09:25:31 +00:00
go run -tags=$tag ./cmd/lotus-seed pre-seal --sector-size 2KiB --num-sectors 2
go run -tags=$tag ./cmd/lotus-seed genesis new localnet.json
go run -tags=$tag ./cmd/lotus-seed genesis add-miner localnet.json ~/.genesis-sectors/pre-seal-t01000.json
go run -tags=$tag ./cmd/lotus daemon --lotus-make-genesis=devel.gen --genesis-template=localnet.json --bootstrap=false