diff --git a/documentation/en/local-dev-net.md b/documentation/en/local-dev-net.md index 6be024ad2..0b352fe8a 100644 --- a/documentation/en/local-dev-net.md +++ b/documentation/en/local-dev-net.md @@ -14,7 +14,7 @@ Download the 2048 byte parameters: Pre-seal some sectors: ```sh -./lotus-seed pre-seal --sector-size 2048 --num-sectors 2 +./lotus-seed pre-seal --sector-size 2KiB --num-sectors 2 ``` Create the genesis block and start up the first node: @@ -34,7 +34,7 @@ Then, in another console, import the genesis miner key: Set up the genesis miner: ```sh -./lotus-storage-miner init --genesis-miner --actor=t01000 --sector-size=2048 --pre-sealed-sectors=~/.genesis-sectors --pre-sealed-metadata=~/.genesis-sectors/pre-seal-t01000.json --nosync +./lotus-storage-miner init --genesis-miner --actor=t01000 --sector-size=2KiB --pre-sealed-sectors=~/.genesis-sectors --pre-sealed-metadata=~/.genesis-sectors/pre-seal-t01000.json --nosync ``` Now, finally, start up the miner: diff --git a/documentation/en/mining-troubleshooting.md b/documentation/en/mining-troubleshooting.md index 4fa97068b..111ae44f2 100644 --- a/documentation/en/mining-troubleshooting.md +++ b/documentation/en/mining-troubleshooting.md @@ -51,7 +51,7 @@ If you suspect that your GPU is not being used, first make sure it is properly c First, to watch GPU utilization run `nvtop` in one terminal, then in a separate terminal, run: ```sh -lotus-bench --sector-size=2048 +lotus-bench --sector-size=2KiB ``` This process uses a fair amount of GPU, and generally takes ~4 minutes to complete. If you do not see any activity in nvtop from lotus during the entire process, it is likely something is misconfigured with your GPU. diff --git a/scripts/dev/gen-daemon b/scripts/dev/gen-daemon index ba896b5d6..9877f0c0c 100755 --- a/scripts/dev/gen-daemon +++ b/scripts/dev/gen-daemon @@ -4,7 +4,7 @@ set -o xtrace export TRUST_PARAMS=1 -go run -tags=debug ./cmd/lotus-seed pre-seal --sector-size 2048 --num-sectors 2 +go run -tags=debug ./cmd/lotus-seed pre-seal --sector-size 2KiB --num-sectors 2 go run -tags=debug ./cmd/lotus-seed genesis new localnet.json go run -tags=debug ./cmd/lotus-seed genesis add-miner localnet.json ~/.genesis-sectors/pre-seal-t01000.json go run -tags=debug ./cmd/lotus daemon --lotus-make-genesis=devel.gen --genesis-template=localnet.json --bootstrap=false diff --git a/scripts/devnet.bash b/scripts/devnet.bash index ce259e77e..4fe81eea4 100755 --- a/scripts/devnet.bash +++ b/scripts/devnet.bash @@ -12,11 +12,11 @@ faucet="http://t01000.miner.interopnet.kittyhawk.wtf" PLEDGE_COUNT="${1:-20}" -if [ -z "$BRANCH" ]; then +if [ -z "$BRANCH" ]; then BRANCH="interopnet" fi -if [ -z "$BUILD" ]; then +if [ -z "$BUILD" ]; then BUILD="no" fi @@ -65,7 +65,7 @@ cat > "${BASEDIR}/scripts/create_miner.bash" < "${BASEDIR}/scripts/pledge_sectors.bash" <