Mining/pkg/mining
snider 006dd3712e fix: Address critical security and concurrency issues
Security fixes:
- Remove hardcoded wallet address from CLI defaults (start.go, serve.go)
  Pool and wallet are now required flags or must be provided explicitly
- Change file permissions from 0644 to 0600 for sensitive config files
  Affects: xmrig config, profiles, settings, config cache
- Fix path traversal in untar() - now returns error instead of silently skipping

Concurrency fix:
- Fix race condition in GetStats() - was using RLock while writing m.FullStats
  Changed to Lock/Unlock in both xmrig_stats.go and ttminer_stats.go

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 00:50:06 +00:00
..
component feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
component.go feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
config_manager.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
dual_mining_test.go feat: Rebrand xmrig to miner and vendor XMRig ecosystem 2025-12-30 19:43:02 +00:00
manager.go feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
manager_interface.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
manager_test.go feat: add _Good, _Bad, _Ugly tests 2025-11-13 21:24:25 +00:00
miner.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
mining.go feat: Add dual CPU+GPU mining support with separate pools/algos 2025-12-30 17:23:59 +00:00
mining_profile.go feat: Add setup wizard and profile management components with styling 2025-12-10 22:17:38 +00:00
mining_test.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
node_service.go feat: Add multi-node P2P mining management system 2025-12-29 19:49:33 +00:00
profile_manager.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
service.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
service_test.go feat: Add avg difficulty per share statistic to dashboard 2025-12-29 23:41:26 +00:00
settings_manager.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
settings_manager_test.go feat: Add CPU throttling, settings manager, and multi-miner tests 2025-12-30 16:35:02 +00:00
syslog_unix.go windows build fix 2025-11-09 19:13:48 +00:00
syslog_windows.go windows build fix 2025-11-09 19:13:48 +00:00
throttle_test.go feat: Add CPU throttling, settings manager, and multi-miner tests 2025-12-30 16:35:02 +00:00
ttminer.go feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
ttminer_start.go feat: Add stdin console commands, SQLite persistence, and P2P enhancements 2025-12-29 23:30:19 +00:00
ttminer_stats.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
version.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
xmrig.go feat: Add dual CPU+GPU mining support with separate pools/algos 2025-12-30 17:23:59 +00:00
xmrig_gpu_test.go feat: Add OpenCL GPU support for ProgPowZ, ETChash, and Blake3DCR 2025-12-30 23:01:16 +00:00
xmrig_start.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
xmrig_stats.go fix: Address critical security and concurrency issues 2025-12-31 00:50:06 +00:00
xmrig_test.go feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00