Add capture-checked BM1370 wire primitives #6

Merged
noah merged 3 commits from os-bm1370-next into next 2026-10-19 12:17:43 -06:00
Owner

Adds a pure Rust BM1370 job encoder and nonce report parser against the captured S21 Pro wire frames. The encoder only accepts the observed single-midstate, zero-start-nonce, work-ID-step-8 shape. The parser validates preamble, report marker, and CRC5 and leaves bytes 6-9 raw. The final byte is a marker plus CRC5, not a chip index.

Evidence: firmware-analysis/prong-b/s21-192/c2-steady.strace SHA-256 c0aac1222e05e95bdcbd1de5a8ee244a581256e8f28e3dadf5300df6110229c7. Local cargo test --locked, clippy --all-targets -D warnings, fmt --check pass.

Scope: no chain initialization, PSU control, pool work mapping, share attribution, simulator conformance, or mining acceptance claim. These remain release gates.

Adds a pure Rust BM1370 job encoder and nonce report parser against the captured S21 Pro wire frames. The encoder only accepts the observed single-midstate, zero-start-nonce, work-ID-step-8 shape. The parser validates preamble, report marker, and CRC5 and leaves bytes 6-9 raw. The final byte is a marker plus CRC5, not a chip index. Evidence: firmware-analysis/prong-b/s21-192/c2-steady.strace SHA-256 c0aac1222e05e95bdcbd1de5a8ee244a581256e8f28e3dadf5300df6110229c7. Local cargo test --locked, clippy --all-targets -D warnings, fmt --check pass. Scope: no chain initialization, PSU control, pool work mapping, share attribution, simulator conformance, or mining acceptance claim. These remain release gates.
noah added 1 commit 2026-10-19 12:11:32 -06:00
noah added 1 commit 2026-10-19 12:12:59 -06:00
Run protected Alkane OS source checks on pull requests
source-pr / source (pull_request) Failing after 5s
f7aeeaa2eb
noah added 1 commit 2026-10-19 12:15:40 -06:00
Install rustfmt in Alkane OS pull request job
source-pr / source (pull_request) Successful in 12s
b65e6bc9f1
noah merged commit ba286758c7 into next 2026-10-19 12:17:43 -06:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blueflare/alkane-os#6