Mining/pkg/node
snider 34f860309f refactor: Add reliability fixes and architecture improvements
Reliability fixes:
- Fix HTTP response body drainage in xmrig, ttminer, miner
- Fix database init race condition (nil before close)
- Fix empty minerType bug in P2P StartMinerPayload
- Add context timeout to InsertHashratePoint (5s default)

Architecture improvements:
- Extract HashrateStore interface with DefaultStore/NopStore
- Create ServiceContainer for centralized initialization
- Extract protocol response handler (ValidateResponse, ParseResponse)
- Create generic FileRepository[T] with atomic writes

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 12:43:46 +00:00
..
bundle.go refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00
bundle_test.go feat: Add multi-node P2P mining management system 2025-12-29 19:49:33 +00:00
controller.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
identity.go refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00
identity_test.go fix: Add NewNodeManagerWithPaths for testing isolation 2025-12-31 03:25:43 +00:00
message.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
message_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
peer.go refactor: Replace log.Printf with structured logging 2025-12-31 11:48:45 +00:00
peer_test.go refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00
protocol.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
protocol_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
transport.go refactor: Replace log.Printf with structured logging 2025-12-31 11:48:45 +00:00
worker.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
worker_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00