-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5930 from filecoin-project/feat/other-network-images
other network images
- Loading branch information
Showing
4 changed files
with
160 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This script sets up an initial configuraiton for the lotus daemon and miner | ||
# It will only run once. | ||
|
||
GATE="$LOTUS_PATH"/date_initialized | ||
|
||
# Don't init if already initialized. | ||
if [ -f "GATE" ]; then | ||
echo lotus already initialized. | ||
exit 0 | ||
fi | ||
|
||
# Not importing snapshot on butterflynet | ||
# | ||
# echo importing minimal snapshot | ||
# lotus daemon --import-snapshot https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car --halt-after-import | ||
|
||
# Block future inits | ||
date > "$GATE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This script sets up an initial configuraiton for the lotus daemon and miner | ||
# It will only run once. | ||
|
||
GATE="$LOTUS_PATH"/date_initialized | ||
|
||
# Don't init if already initialized. | ||
if [ -f "GATE" ]; then | ||
echo lotus already initialized. | ||
exit 0 | ||
fi | ||
|
||
# Not importing snapshot on nerpanet | ||
# | ||
# echo importing minimal snapshot | ||
# lotus daemon --import-snapshot https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car --halt-after-import | ||
|
||
# Block future inits | ||
date > "$GATE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters