- Add GetType() method to Miner interface for proper type identification - Create MinerType constants (MinerTypeXMRig, MinerTypeTTMiner, MinerTypeSimulated) - Add MinerTypeRegistry for centralized miner type discovery - Create FetchJSONStats generic helper to reduce HTTP stats code duplication - Replace fragile string prefix matching in manager.go with GetType() calls - Simplify xmrig_stats.go and ttminer_stats.go using shared HTTPStatsConfig 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database | ||
| logging | ||
| mining | ||
| node | ||