mirror of
https://github.com/pezkuwichain/pezkuwi-validator-v1.0.0.git
synced 2026-06-13 06:31:01 +00:00
feat: Upgrade to validator v2.0.0 with beta testnet real keys
Major upgrade from v1.0.0 to v2.0.0 with complete restructure: Features: - One-command validator setup (setup.sh) - Automated dependency checking (Git, Rust, Node.js, build tools, Nginx) - Shared Pezkuwi-SDK build (single build for all validators) - Single DKSweb frontend with auto-update from GitHub - 8 beta testnet validators (corrected from 10) - Real validator keys from currently running beta testnet - Helper scripts (start.sh, stop.sh, status.sh, logs.sh) - Systemd service management - Nginx-based frontend deployment - Comprehensive README with usage instructions Structure: - validators/validator1-8/ - Individual validator configurations - Each validator has real keys (BABE, GRANDPA, PARA, ASGN, AUDI, BEEF) - Port allocation: RPC 9944-9951, P2P 30333-30340 - Validator 1 acts as bootnode Breaking Changes: - Removed docker support - Removed old installation scripts (linux/windows) - Removed LICENSE file - Complete restructure of directory layout 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Stop validator script
|
||||
# Usage: ./stop.sh [validator_number]
|
||||
|
||||
set -e
|
||||
|
||||
GREEN='\033[0;32m'
|
||||
RED='\033[0;31m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m'
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo -e "${RED}Error: Validator number required${NC}"
|
||||
echo "Usage: $0 [validator_number]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VALIDATOR_NUM=$1
|
||||
|
||||
echo -e "${YELLOW}Stopping Validator $VALIDATOR_NUM...${NC}"
|
||||
sudo systemctl stop pezkuwi-validator-$VALIDATOR_NUM
|
||||
|
||||
# Wait for service to stop
|
||||
sleep 2
|
||||
|
||||
# Check status
|
||||
if sudo systemctl is-active --quiet pezkuwi-validator-$VALIDATOR_NUM; then
|
||||
echo -e "${RED}✗ Failed to stop Validator $VALIDATOR_NUM${NC}"
|
||||
exit 1
|
||||
else
|
||||
echo -e "${GREEN}✓ Validator $VALIDATOR_NUM stopped successfully${NC}"
|
||||
fi
|
||||
Reference in New Issue
Block a user