Update Artela.sh
This commit is contained in:
parent
7692bffb2f
commit
234aa6fe8c
@ -102,7 +102,11 @@ 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 's|^pruning *=.*|pruning = "custom"|; s|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|; s|^pruning-interval *=.*|pruning-interval = "10"|' $HOME/.artelad/config/app.toml
|
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.artelad/config/app.toml
|
||||||
|
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.artelad/config/app.toml
|
||||||
|
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"0\"/" $HOME/.artelad/config/app.toml
|
||||||
|
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"10\"/" $HOME/.artelad/config/app.toml
|
||||||
|
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.artelad/config/config.toml
|
||||||
|
|
||||||
# 配置端口
|
# 配置端口
|
||||||
node_address="tcp://localhost:3457"
|
node_address="tcp://localhost:3457"
|
||||||
|
Loading…
Reference in New Issue
Block a user