Update Artela.sh
This commit is contained in:
parent
cc901fe829
commit
07e6daed48
@ -107,6 +107,7 @@ function install_node() {
|
|||||||
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"0\"/" $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/^pruning-interval *=.*/pruning-interval = \"10\"/" $HOME/.artelad/config/app.toml
|
||||||
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.artelad/config/config.toml
|
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.artelad/config/config.toml
|
||||||
|
sed -i -e 's/max_num_inbound_peers = 40/max_num_inbound_peers = 100/' -e 's/max_num_outbound_peers = 10/max_num_outbound_peers = 100/' $HOME/.artelad/config/config.toml
|
||||||
|
|
||||||
# 配置端口
|
# 配置端口
|
||||||
node_address="tcp://localhost:3457"
|
node_address="tcp://localhost:3457"
|
||||||
|
Loading…
Reference in New Issue
Block a user