Update 0g.sh

This commit is contained in:
smeb y 2024-06-12 16:19:40 +08:00 committed by GitHub
parent 6f7d8cbe8e
commit 2ecb7b8113
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
0g.sh
View File

@ -207,7 +207,7 @@ function install_storage_node() {
# 克隆仓库
git clone -b v0.2.0 https://github.com/0glabs/0g-storage-node.git
git clone -b v0.3.0 https://github.com/0glabs/0g-storage-node.git
#进入对应目录构建
cd 0g-storage-node
@ -226,8 +226,8 @@ sed -i "s/miner_key = \"\"/miner_key = \"$minerkey\"/" config.toml
screen -dmS zgs_node_session ../target/release/zgs_node --config config.toml
echo '====================== 安装完成 ==========================='
echo '===进入对应路径:/0g-storage-node/run/log使用tail -f logs文件名查看logs 即可========================'
echo '====================== 安装完成使用screen命令查询即可 ==========================='
}