Update Artela.sh
This commit is contained in:
parent
6b71aeb109
commit
402b4edff6
@ -119,7 +119,7 @@ function install_node() {
|
|||||||
|
|
||||||
# 下载快照
|
# 下载快照
|
||||||
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
|
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
|
||||||
curl -o - -L https://snapshots.polkachu.com/testnet-snapshots/artela/artela_9126948.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.artelad
|
curl -L https://snapshots.dadunode.com/artela/artela_latest_tar.lz4 | tar -I lz4 -xf - -C $HOME/.artelad/data
|
||||||
mv $HOME/.artelad/priv_validator_state.json.backup $HOME/.artelad/data/priv_validator_state.json
|
mv $HOME/.artelad/priv_validator_state.json.backup $HOME/.artelad/data/priv_validator_state.json
|
||||||
|
|
||||||
# 使用 PM2 启动节点进程
|
# 使用 PM2 启动节点进程
|
||||||
|
Loading…
Reference in New Issue
Block a user