Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update init.sh #290

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/akash-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# Versions are expected to follow Semantic Versioning (https://semver.org/)

# Major version bit highlights the mainnet release (e.g. mainnet4 = 4.x.x, mainnet5 = 5.x.x, ...)
version: 11.1.0
version: 11.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -26,4 +26,4 @@ version: 11.1.0
# Refs
# https://github.com/akash-network/node/releases
# https://github.com/akash-network/net/blob/main/mainnet/version.txt
appVersion: 0.36.0
appVersion: 0.36.1
andy108369 marked this conversation as resolved.
Show resolved Hide resolved
7 changes: 7 additions & 0 deletions charts/akash-node/scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ else
tar -xf snapshot.tar -C "$AKASH_HOME/data"
rm -rf snapshot.tar
;;

"decloudnodeslab")
SNAPSHOT_URL="https://akash.declab.pro/latest.tar.lz4"
aria2c --out=snapshot.tar.lz4 --check-certificate=false --max-tries=99 --retry-wait=5 --always-resume=true --max-file-not-found=99 --conditional-get=true -s 8 -x 8 -k 1M -j 1 "${SNAPSHOT_URL}"
tar -xf snapshot.tar -C "$AKASH_HOME"
rm -rf snapshot.tar
;;

*)
SNAPSHOTS_DIR_URL="https://snapshots.polkachu.com/snapshots/"
Expand Down
3 changes: 2 additions & 1 deletion charts/akash-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ debug: "false"
# Defaults to mainnet
akash_node:
enabled: true
# snapshot_provider can be : "polkachu" (1Gi), "c29r3" (2Gi), or "autostake" (3Gi)
# snapshot_provider can be : "polkachu" (1Gi), "c29r3" (2Gi), "autostake" (3Gi), or "decloudnodeslab"(5Gi)
# Nov/02 2023: disabled polkachu since it is now behind Cloudflare's "Verify you are human" CAPTCHA
# Nov/14 2023: autostake snapshot is unavailable, fixed polkachu and set as default, fix "c29r3" snapshot provider
# Aprl/14 2024: peers updated and autostake working again
# Sep/16 2024: add decloudnodeslab snapshot provider

snapshot_provider: "polkachu"
api_enable: false
Expand Down