Update Nimble.sh

This commit is contained in:
smeb y 2024-07-08 23:30:22 +08:00 committed by GitHub
parent 56b6b72e57
commit 5645279902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,8 +23,6 @@ function install_node() {
apt install -y git python3-venv bison screen binutils gcc make bsdmainutils python3-pip build-essential apt install -y git python3-venv bison screen binutils gcc make bsdmainutils python3-pip build-essential
# 安装numpy
pip install numpy==1.24.4
# 安装GO # 安装GO
rm -rf /usr/local/go rm -rf /usr/local/go
@ -65,6 +63,7 @@ function install_node() {
cd $HOME/nimble cd $HOME/nimble
git clone https://github.com/nimble-technology/nimble-miner-public.git git clone https://github.com/nimble-technology/nimble-miner-public.git
cd nimble-miner-public cd nimble-miner-public
pip install numpy==1.24.4
make install make install
source ./nimenv_localminers/bin/activate source ./nimenv_localminers/bin/activate
screen -dmS nim bash -c "make run addr=$wallet_addr" screen -dmS nim bash -c "make run addr=$wallet_addr"