Files
testnet/scripts/stop-validators-computer2.sh
pezkuwichain 6fc40b89c3 Initial commit: Beta testnet configuration
- Chainspec file (5.2MB) with genesis hash 0xa017...54b1
- Validator startup scripts for Computer 2 (validators 5-8)
- Complete setup instructions in README
- Configuration for 8-validator beta testnet
2025-11-02 01:54:20 +03:00

20 lines
497 B
Bash
Executable File

#!/usr/bin/env bash
# Stop all validators on Computer 2
YELLOW='\033[1;33m'
GREEN='\033[0;32m'
NC='\033[0m'
echo -e "${YELLOW}🛑 Stopping Computer 2 Validators...${NC}"
for i in 5 6 7 8; do
if [ -f "/tmp/beta-validator-$i.pid" ]; then
PID=$(cat /tmp/beta-validator-$i.pid)
echo -e "${GREEN}Stopping Validator $i (PID: $PID)...${NC}"
kill $PID 2>/dev/null || true
rm /tmp/beta-validator-$i.pid
fi
done
echo -e "${GREEN}✅ All validators stopped${NC}"