Update 0g.sh
This commit is contained in:
parent
120ec7ce5c
commit
6264b51a7b
3
0g.sh
3
0g.sh
@ -89,11 +89,10 @@ function install_node() {
|
||||
|
||||
# 配置节点
|
||||
wget https://raw.githubusercontent.com/a3165458/0g.ai/main/gensis.json -O $HOME/.evmosd/config/genesis.json
|
||||
wget -O $HOME/.evmosd/config/addrbook.json https://raw.githubusercontent.com/a3165458/0g.ai/main/addrbook.json
|
||||
|
||||
|
||||
# 下载快照
|
||||
PEERS="1248487ea585730cdf5d3c32e0c2a43ad0cda973@peer-zero-gravity-testnet.trusted-point.com:26326,19b17dad1fc415922e1feb942d262735cbe1ed2e@95.216.42.217:26656,9859010f4b76f74d4091552fbbb520f4edcc9d96@95.111.243.106:13456" && \
|
||||
PEERS="813d6b668bc7e6b12141911205b0eade56eda18a@95.141.241.48:26656,187703290cb35ebabc909a054e6b50a5884f4e0a@158.220.114.57:13456,3c6854be5b111241594d4989884f66526e343128@5.189.170.145:26656,19b17dad1fc415922e1feb942d262735cbe1ed2e@95.216.42.217:26656,9859010f4b76f74d4091552fbbb520f4edcc9d96@95.111.243.106:13456,20d25530b222311b2114eff0934386f5063d411c@94.250.202.241:13456,20d25530b222311b2114eff0934386f5063d411c@31.220.102.142:13456" && \
|
||||
SEEDS="8c01665f88896bca44e8902a30e4278bed08033f@54.241.167.190:26656,b288e8b37f4b0dbd9a03e8ce926cd9c801aacf27@54.176.175.48:26656,8e20e8e88d504e67c7a3a58c2ea31d965aa2a890@54.193.250.204:26656,e50ac888b35175bfd4f999697bdeb5b7b52bfc06@54.215.187.94:26656" && \
|
||||
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.evmosd/config/config.toml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user