Mining/pkg
snider 50cde8bdf3 refactor: Add MinerFactory to centralize miner instantiation
- Create pkg/mining/miner_factory.go with factory pattern
- Support for miner type aliases (e.g., "ttminer" -> "tt-miner")
- Add global convenience functions: CreateMiner, IsMinerSupported, etc.
- Replace 5 duplicate switch statements in manager.go and service.go
- Makes adding new miner types simpler (single registration point)
- Full test coverage in miner_factory_test.go

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 11:12:33 +00:00
..
database test: Add race condition tests and fix AVG float64 scan bug 2025-12-31 11:07:29 +00:00
mining refactor: Add MinerFactory to centralize miner instantiation 2025-12-31 11:12:33 +00:00
node refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00