Update Artela.sh

This commit is contained in:
smeb y 2024-07-09 14:50:14 +08:00 committed by GitHub
parent 2b3f004ef4
commit 2ffec71f75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,8 +129,7 @@ function install_node() {
# 下载快照
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
wget -O lasted_snapshot.tar.lz4 https://public-snapshot-storage-develop.s3.amazonaws.com/artela/artela_11822-1/snapshots/artela_9622238.tar.lz4
lz4 -c -d lasted_snapshot.tar.lz4 | tar -x -C $HOME/.artelad
curl https://snapshots-testnet.nodejumper.io/artela-testnet/artela-testnet_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.artelad
# 使用 PM2 启动节点进程