Mining/ui/e2e/fixtures/test-data.ts
snider 8460b8f3be feat: Add multi-miner dashboard support and TT-Miner implementation
Dashboard:
- Add aggregate stats across all running miners (total hashrate, shares)
- Add workers table with per-miner stats, efficiency, and controls
- Show hashrate bars and efficiency badges for each worker
- Support stopping individual workers or all at once

TT-Miner:
- Implement Install, Start, GetStats, CheckInstallation, Uninstall
- Add TT-Miner to Manager's StartMiner and ListAvailableMiners
- Support GPU-specific config options (devices, intensity, cliArgs)

Chart:
- Improve styling with WA-Pro theme variables
- Add hashrate unit formatting (H/s, kH/s, MH/s)
- Better tooltip and axis styling

Also:
- Fix XMRig download URLs (linux-static-x64, windows-x64)
- Add Playwright E2E testing infrastructure
- Add XMR pool research documentation

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 22:48:20 +00:00

27 lines
639 B
TypeScript

export const API_BASE = 'http://localhost:9090/api/v1/mining';
// Test XMR wallet address
export const TEST_XMR_WALLET = '89qpYgfAZzp8VYKaPbAh1V2vSW9RHCMyHVQxe2oFxZvpK9dF1UMpZSxJK9jikW4QCRGgVni8BJjvTQpJQtHJzYyw8Uz18An';
// Test mining pool
export const TEST_POOL = 'pool.supportxmr.com:3333';
export const testProfile = {
name: 'Test Profile',
minerType: 'xmrig',
config: {
pool: TEST_POOL,
wallet: TEST_XMR_WALLET,
tls: false,
hugePages: true,
},
};
export const testProfileMinimal = {
name: 'Minimal Test Profile',
minerType: 'xmrig',
config: {
pool: TEST_POOL,
wallet: TEST_XMR_WALLET,
},
};