Repository navigation
Q-Coin v0.0.2 testnet
Pre-releaseπ Q Coin Testnet v0.0.2 - Auto-Reset & Stability Improvements
MAJOR UPDATE: This release introduces automatic blockchain reset functionality and critical stability improvements. The testnet chain will restart with this release.
π Auto-Reset Functionality
The biggest feature in this release is automatic blockchain reset when genesis parameters change. This enables seamless testnet development without manual database management.
How It Works:
- π Auto-Detection: Nodes automatically detect when genesis parameters differ from stored blockchain
β οΈ Smart Logging: Clear warnings when reset occurs with old/new genesis hashes- π§Ή Complete Wipe: Automatically removes all blockchain data (headers, bodies, receipts, state)
- π Fresh Start: Restarts from block 1 with new genesis parameters
- β Safe Operation: Only resets when genesis actually changes, not on every startup
Benefits:
- No manual database deletion when genesis changes
- Perfect for development with evolving parameters
- Seamless testnet updates without user intervention
- Cross-platform consistency between Windows, Linux, and VPS deployments
π‘οΈ Critical Stability Fixes
Difficulty Collapse Prevention
- Fixed: Minimum difficulty floor set to 200 (was 1)
- Problem: Difficulty could drop to 1, making mining trivially easy and destabilizing the blockchain
- Solution: ASERT-Q algorithm now enforces minimum difficulty of 200 across all code paths
- Impact: Prevents instant mining and ensures stable block times
Network Improvements
- β qmpow API properly exposed in all releases for external miners
- β Enhanced error handling for missing genesis files
- β Improved logging with clear status messages and debugging info
π Cross-Platform Alignment
Both Windows and Linux platforms now have identical functionality:
Windows Releases
- Genesis files (
genesis_quantum_testnet.json,genesis_quantum_dev.json) included in every release - Enhanced PowerShell and batch launchers with auto-reset
- Fixed command syntax issues
Linux & VPS
- Enhanced
start-geth.shwith auto-reset functionality - VPS bootstrap scripts automatically benefit from new features
- Removed deprecated mainnet references for clarity
π Testnet Restart Details
- New Genesis Hash: Fresh blockchain with updated parameters
- Starting Difficulty: 200 (0xC8) - properly protected minimum
- Timestamp: Updated for v0.0.2 release
- Chain ID: 73235 (unchanged)
- Network: All existing bootnodes remain functional
π¦ Downloads
Windows (Ready to Run)
quantum-geth-0-0-2.zip(30.32 MB) - Q Coin blockchain node with auto-resetquantum-miner-0-0-2.zip(4.13 MB) - Compatible quantum miner
Linux/VPS (Source + Build Scripts)
Q-Coin-0-0-2.rar(106.58 MB) - Complete source with enhanced build scripts and auto-reset functionality
π Quick Start
Windows
# Extract quantum-geth-0-0-2.zip
.\start-geth.ps1 testnet # Start testnet node
.\start-geth.ps1 testnet -mining # Start with mining enabled
# Extract quantum-miner-0-0-2.zip for external mining
.\start-miner.ps1 -threads 8 -coinbase 0xYourAddressLinux
# Extract Q-Coin-0-0-2.rar and build
./scripts/linux/start-geth.sh testnet
./scripts/linux/start-geth.sh testnet --miningVPS Deployment
# Bootstrap script automatically uses v0.0.2 features
curl -sSL https://raw.githubusercontent.com/fourtytwo42/Qgeth3/main/bootstrap-qgeth.sh | sudo bashπ§ Technical Improvements
- Auto-Reset Engine: Implemented in
SetupGenesisBlockWithOverride()with intelligent hash comparison - Difficulty Algorithm: Enhanced ASERT-Q with floor protection in
applyASERTAdjustmentPrecise() - Cross-Platform Scripts: Unified behavior between Windows and Linux deployments
- Enhanced Logging: Better visibility into node operations and reset triggers
- Memory Safety: Improved error handling and resource cleanup
π Network Information
- Testnet Chain ID: 73235
- RPC Endpoint:
http://localhost:8545(or your VPS IP) - WebSocket:
ws://localhost:8546 - P2P Port: 30303
- Consensus: QMPoW (Quantum Micro-Puzzle Proof of Work)
π Upgrade Instructions
From v0.0.1:
- Stop existing nodes (the auto-reset will handle blockchain transition)
- Download v0.0.2 releases
- Start nodes normally (auto-reset will detect and apply new genesis)
- Mining continues with improved stability
VPS Users:
- Existing VPS deployments will auto-update via systemd service
- Manual restart recommended:
sudo systemctl restart qgeth.service
π Resources
- Documentation: Project README
- VPS Guide: Bootstrap Deployment
- Mining Guide: Linux Mining
- Troubleshooting: Installation Issues
π‘ What's Next
- Enhanced mining pool compatibility
- Advanced quantum puzzle optimizations
- Additional network monitoring tools
- Extended API functionality
π Welcome to the enhanced Q Coin testnet! This release represents a major step forward in blockchain automation and stability. The auto-reset functionality makes Q Coin perfect for rapid development and testing cycles.
Join the quantum blockchain revolution! π