asic-rs has no lock-state signal (a wrong-password miner just silently returns
fewer fields, because the collector drops the 401). This builds the real check
ON TOP of asic-rs:
- access_probe.rs: a NON-mutating, digest-authenticated GET to a privileged
endpoint (Antminer get_miner_conf.cgi, read-only). The HTTP status is decisive
-- 200 = credentials authenticate (writable -> unlocked), 401/403 = rejected
(view-only -> locked); anything else -> indeterminate. Pure classifier +
unit tests; shells out to curl --digest (no HTTP crate) so the offline build
is unaffected.
- Right-click "Check access (auth)" on the selected miners runs start_access_probe
on a background thread using the saved scan (web) credentials (default root/root),
updating write_locked in the rows as results arrive. Fake-scan mode returns
deterministic demo results. Guarded against a flash / concurrent probe.
Replaces the previous capability-based inference for the miners the user
explicitly checks. cargo check --release --tests clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y8h447BPyJR4fioYZvQ9bh