Update Artela.sh

This commit is contained in:
smeb y 2024-06-08 11:48:08 +08:00 committed by GitHub
parent d7435a16f2
commit 6aa1601a2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,11 +102,7 @@ function install_node() {
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.artelad/config/config.toml
# 配置裁剪
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "17"|' \
$HOME/.artelad/config/app.toml
sed -i 's|^pruning *=.*|pruning = "custom"|; s|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|; s|^pruning-interval *=.*|pruning-interval = "17"|' $HOME/.artelad/config/app.toml
# 配置端口
node_address="tcp://localhost:3457"