diff --git a/tools/ca3-v4/g2-recheck.sh b/tools/ca3-v4/g2-recheck.sh new file mode 100755 index 000000000..aa6bb73eb --- /dev/null +++ b/tools/ca3-v4/g2-recheck.sh @@ -0,0 +1,45 @@ +#!/usr/bin/env bash +# Counter ASIC 3.0 gate G2, the Mac re-check (6 October 2026). Derives the found-lines file a serve-mode G2 job writes +# (g2-.found: "found g2 " for nonces 0..1023 at prehash 00..01, LF, nonce order) from the Rust +# verifier on the same pack, and compares by sha256 digest. A digest match is 1,024 of 1,024 with no file moved; on a +# mismatch, or when a found file is given, the lines are compared one by one and the differing nonces printed. +# tools/ca3-v4/g2-recheck.sh [--digest ] [--file .found>] +# The pack's seeds come from its program.h (IGNEUM_SEED_BYTES_HEX, IGNEUM_DAY_BYTES_HEX, IGNEUM_ERA_SEED_HEX) and its class +# from IGNEUM_LOAD_CLASS ("-era