keryx-miner-v0.3.81-OPoI

keryx-miner-v0.3.81-OPoI

24 juil. 2026

⚠️ MANDATORY UPDATE. Miners running v0.3.8 or older will stop producing valid Pair with keryx-node v1.3.41+.

Why this release

H5 is a security hardfork. A modified miner binary was proven to mine with inference disabled by exploiting a weakness in the possession walk: the v1 transition folded the 32-byte weight chunk with a XOR, so only 8 of the 32 bytes were actually load-bearing — enabling a shrunken lookup table instead of the real model weights (see the published reverse-r4 report). Credit to @Texonja for first spotting the foldable-transition weakness.

walk_v2 replaces the fold with a chained mix64 transition. Every byte of the weights is now load-bearing and the read order matters — the shortcut is closed. H5 relaunches the chain with a difficulty reset at the activation DAA.

Changes

Proof-of-Model

  • walk_v2 transition (chained mix64, order-dependent, non-foldable), active from DAA 59,009,037 (consensus-gated, lockstep with the node).
  • GPU kernels regenerated with walk_v2 for the full hardware range: legacy fatbin (sm_61 → sm_86) and nextgen fatbin (sm_89 / 90 / 100 / 120).
  • Proof cap N = 20 per block (H5 consensus rule).

Model line-up

  • Tier 0 is now Qwen3-8B-abliterated (Q4_K_S, ~6 GB VRAM). EXAONE-4.0-1.2B is retired and fully removed from the miner.
  • Tier floors now include VRAM headroom so cards reporting slightly under a boundary keep their tier — e.g. the tier-0 floor is 5,700 MiB, so every 6 GB card qualifies even when the driver reports less than 6,000 MiB.

Build & compatibility fixes

  • CPUs without AVX2/FMA are now supported by the bundled llama engine (dedicated no-AVX build line).
  • Forward-compatible CUDA kernels for the inference engine: PTX is embedded so newer GPU generations JIT-compile instead of failing to load.
  • --testnet now switches all DAA activation gates to their testnet values at runtime (no more testnet-specific builds).
  • Safer dynamic library loading (libloading calls properly wrapped).

Expected hashrate change

walk_v2 performs 4 mix64 operations per step where v1 performed 1. Displayed hashrates are 30% lower than v0.3.7 — this is by design, identical for every miner, and difficulty retargets accordingly. Your relative share of rewards is unchanged.

H5.1 — PoM seed salt rotation

  • New seed salt for the possession walk, active from DAA 59,027,921 (consensus-gated, lockstep with keryx-node v1.3.41). After the H5 relaunch, outdated nodes kept extending a stale branch; beyond this gate only blocks mined with the new salted seed are valid, which permanently caps that branch. All prior history remains valid — no balances are affected.
  • GPU kernels rebuilt once more with the salted seed (both legacy and nextgen fatbins ship regenerated — the kernel now takes the seed words directly).
  • Action required: run this miner against keryx-node v1.3.41 with a fresh re-bootstrap from the published datadir. Mining with v0.3.8 or older produces invalid blocks past DAA 59,027,921.

Credits

Huge thanks to the community contributors on this cycle:

  • @Texonja — spotted the foldable-transition weakness closed by the H5 non-foldable walk (mix64-chained), and the verify_merkle DoS bound
  • @ocminer — spotted the unbounded parallel-block issue, fixed by the H5 cap (N = 20 per selected parent)
  • @CLusmi — VRAM headroom on tier floors (#19), no-AVX llama build for older CPUs (#17)
  • @ryancole03 — forward-compatible CUDA kernels for the llama engine (#18)
  • @pakak67 — safe libloading call sites (#20)