Mining/cmd/mining/cmd
snider 757526e60e feat: Add WebSocket events, simulation mode, and redesigned Miners page
WebSocket Real-Time Events:
- Add EventHub for broadcasting miner events to connected clients
- New event types: miner.starting/started/stopping/stopped/stats/error
- WebSocket endpoint at /ws/events with auto-reconnect support
- Angular WebSocketService with RxJS event streams and fallback to polling

Simulation Mode (miner-ctrl simulate):
- SimulatedMiner generates realistic hashrate data for UI development
- Supports presets: cpu-low, cpu-medium, cpu-high, gpu-ethash, gpu-kawpow
- Features: variance, sine-wave fluctuation, 30s ramp-up, 98% share rate
- XMRig-compatible stats format for full UI compatibility
- NewManagerForSimulation() skips autostart of real miners

Miners Page Redesign:
- Featured cards for installed/recommended miners with gradient styling
- "Installed" (green) and "Recommended" (gold) ribbon badges
- Placeholder cards for 8 planned miners with "Coming Soon" badges
- Algorithm badges, GitHub links, and license info for each miner
- Planned miners: T-Rex, lolMiner, Rigel, BzMiner, SRBMiner, TeamRedMiner, GMiner, NBMiner

Chart Improvements:
- Hybrid data approach: live in-memory data while active, database historical when inactive
- Smoother transitions between data sources

Documentation:
- Updated DEVELOPMENT.md with simulation mode usage
- Updated ARCHITECTURE.md with WebSocket, simulation, and supported miners table

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 07:11:41 +00:00
..
doctor.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
install.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
list.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
node.go feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
peer.go feat: Add multi-node P2P mining management system 2025-12-29 19:49:33 +00:00
remote.go feat: Add multi-node P2P mining management system 2025-12-29 19:49:33 +00:00
root.go feat: Add WebSocket events, simulation mode, and redesigned Miners page 2025-12-31 07:11:41 +00:00
serve.go fix: Address race conditions and network blocking issues 2025-12-31 01:55:24 +00:00
simulate.go feat: Add WebSocket events, simulation mode, and redesigned Miners page 2025-12-31 07:11:41 +00:00
start.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
status.go fix: Address race conditions and network blocking issues 2025-12-31 01:55:24 +00:00
stop.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
uninstall.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
update.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00