lotus/scripts/dev/gen-daemon
Jakub Sztandera 3f9cde28fc
Update go-log, reduce drand entry log level, add TAG env for dev scripts
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 16:19:21 +02:00

12 lines
441 B
Bash
Executable File

#!/usr/bin/env sh
set -o xtrace
export TRUST_PARAMS=1
tag=${TAG:-debug}
go run -tags=$tag ./cmd/lotus-seed pre-seal --sector-size 2048 --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