Update Artela.sh

This commit is contained in:
smeb y 2024-04-19 11:11:56 +08:00 committed by GitHub
parent 08be0688cf
commit b1d5c5e1df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,11 +95,11 @@ function install_node() {
# 获取初始文件和地址簿
curl -s https://t-ss.nodeist.net/artela/genesis.json > $HOME/.artelad/config/genesis.json
curl -s https://t-ss.nodeist.net/artela/addrbook.json > $HOME/.artelad/config/addrbook.json
wget -O $HOME/.artelad/config/addrbook.json https://testnet-files.itrocket.net/artela/addrbook.json
# 配置节点
SEEDS=""
PEERS="b23bc610c374fd071c20ce4a2349bf91b8fbd7db@65.108.72.233:11656"
PEERS="5c9b1bc492aad27a0197a6d3ea3ec9296504e6fd@artela-testnet-peer.itrocket.net:30656,13db40d2414b94a7aa112b5f0ad4e5db9cecd85e@[2a03:4000:4a:f20:58db:a3ff:fecf:350e]:26656,d7397785f30c764459edba3aabcc98cb40ab5304@89.117.58.61:45656,635fda81fe7aedcc755f29069a09afbc852e475f@143.198.70.161:26656,3c95560d9782e9e7cec5a45e67ad1a6e0aa68ff0@37.27.39.241:26656,a4b81662b44c89696cef0e37bb84a0f921c9e164@37.120.178.205:56656,117cf4dac7838128b3ae61e11626b7e55b1476d6@167.86.93.193:26656,31582a1e8ee7276e9a669dcfb609e2d4f47b029b@193.164.4.110:45656,887a45dca2fbbe73e7c8bcf836d81a3c2e4cfa53@37.60.229.253:30656,978dee673bd447147f61aa5a1bdaabdfb8f8b853@47.88.57.107:26656,30fb0055aced21472a01911353101bc4cd356bb3@47.89.230.117:26656"
sed -i 's|^seeds *=.*|seeds = "'$SEEDS'"|; s|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.artelad/config/config.toml
# 配置端口