This commit is contained in:
xnico31 2024-12-12 23:16:28 +01:00
commit e0191aa42b
2 changed files with 3 additions and 5 deletions

View File

@ -16,8 +16,7 @@ client_version=$6
\mkdir tig_pool
cd tig_pool
pkill pool_tig
pkill slave_tig
screen -ls | grep pool_tig | awk '{print $1}' | xargs -I {} screen -S {} -X kill
wget https://raw.githubusercontent.com/tig-pool-nk/client/refs/heads/main/scripts/tig_pool_master.sh
sudo chmod +x tig_pool_master.sh

View File

@ -103,13 +103,12 @@ cargo build -p tig-worker --release
cd $current_path
python3 -m venv venv
source venv/bin/activate
mkdir -p tig-benchmarker
cd tig-benchmarker
wget https://raw.githubusercontent.com/tig-pool-nk/client/refs/heads/main/tig-benchmarker/slave.py -O slave.py
wget https://raw.githubusercontent.com/tig-pool-nk/client/refs/heads/main/tig-benchmarker/requirements.txt -O requirements.txt
pip install -r requirements.txt
./venv/bin/pip3 install -r requirements.txt
# Create a directory client_xnico_pool and navigate to it
cd $current_path
@ -160,4 +159,4 @@ screen -dmS pool_tig bash -c "cd \"$current_path\" && ./pool_tig_launch_${id_sla
sleep 5
# Attach to the screen
screen -r pool_tig
screen -d -r pool_tig