Update Artela.sh
This commit is contained in:
parent
d7435a16f2
commit
6aa1601a2c
@ -102,11 +102,7 @@ function install_node() {
|
|||||||
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.artelad/config/config.toml
|
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.artelad/config/config.toml
|
||||||
|
|
||||||
# 配置裁剪
|
# 配置裁剪
|
||||||
sed -i \
|
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
|
||||||
-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
|
|
||||||
|
|
||||||
# 配置端口
|
# 配置端口
|
||||||
node_address="tcp://localhost:3457"
|
node_address="tcp://localhost:3457"
|
||||||
|
Loading…
Reference in New Issue
Block a user