Commit Graph

4 Commits

Author SHA1 Message Date
AetherForge
f0c4506e96 feat(gpu): fix shutdown race, add RVN pool rotation, full test suite. Fix run() deadlock: proc.Kill() on Stop(), dedicated pollStop channel, stopCh checked in retry delay. Add buildPoolList() using RVNBackupPools (was wired in config/UI but unused). 29 new GPU tests covering detection gates, pool URL building, pool rotation, avg(), itoa(), zip extract, mock miner API (T-Rex + TRM), process stop. RVN wallet defaults set. Download URLs verified 200. 2026-06-02 23:58:15 -07:00
AetherForge
f6b692e232 feat(agent): mine immediately on startup using baked-in credentials. Reduce Stratum fallback trigger: C2 offline threshold 30s->8s, no-job threshold 60s->15s. Initialize disconnectedSince at manager start (not first tick) so hashing begins within ~10s regardless of C2 availability. C2 remains optional control layer - baked wallet+pool are always the primary source of truth. Default wallet set in builtin.go. 2026-06-02 23:50:54 -07:00
AetherForge
1965fab67a fix(miner): initialize RandomX SuperScalar programs - mining was never hashing. Critical: Randomx_init_cache only populates Argon2d blocks; Programs[] stayed nil causing nil-ptr crash in every hash. Fix: build all 8 SuperScalar programs after cache init. Validator confirms 1.7 MH/s live. Also: blob fix, stratum job-timeout rotation, hashrate watchdog. 2026-06-02 23:40:22 -07:00
AetherForge
34c12107ed fix: mining always starts, RVN pool in Calibrate, USB repacked 2026-06-02 23:17:53 -07:00