keryx-miner-v0.4.5-PoM

keryx-miner-v0.4.5-PoM

14 ago 2026

▎ ⚠️ Mandatory upgrade for H6. Requires node v1.4.5. H6 activates on mainnet at DAA 77,203,262 (≈ Sunday 16 August 2026, 18:00 CEST). Mining with an older miner past the gate will get your blocks rejected.

Proof-of-Model v3 — the matrix-state walk

The miner now grinds the H6 matrix-state walk and builds the v3 possession proof for the winning nonce.

  • Bit-exact with the node's v3 verifier; the walk reads the resident GGUF weights in place (zero-copy).
  • Multi-arch fatbins (sm_61…90 + PTX fallback; sm_120 native on CUDA ≥ 12.8).
  • Proof construction (re-walk + state trees + openings) runs off the hot path, only for the winning nonce.
  • Optional --resident-tree (in-RAM Merkle tree + mmap chunks) for faster proof build, with a RAM guard-rail.

H6 model lineup

Download the weights for the tier you intend to mine before the gate:

  • tier 0 Qwen3.5-9B · tier 1 GLM-4-9B · tier 2 Gemma-4-12B (16 GB cards) · tier 3 Qwen3.6-27B · tier 4 Kimi-48B

Per-model chat templates are read from the GGUF headers. The miner skips the models of eras the chain has already left and verifies each GGUF against its pinned CID.

Escrow delegation — authorise your miner

From H6, a miner must be authorised by the wallet that holds its payout address:

  1. On start, the miner prints its escrow key.
  2. Paste it into your wallet's “Authorise a miner” card (or keryx-cli delegate-escrow).
  3. Pass the returned cert with --escrow-cert <128 hex> — it is then saved to escrow.cert, so you never re-enter it.

The miner refuses to start as soon as H6 is scheduled without a valid cert — a loud, individual failure while you are at the keyboard, not a silent one at the gate. When the payout address is the miner's own key, the delegation is signed locally with nothing to set up.

Service-bond

The miner tracks its coinbase escrow outputs and claims them once mature. Under the service-bond, escrows tied to a missed inference assignment are burned; the miner now drops the exact outpoints the node names and re-batches the rest, instead of retrying. It signs AiResponses with the escrow key (payload V2), polls its service-bond strikes, and the status bar shows the running version and the current standing.

Fixes

  • Fixed mixed (multi-model) rigs — a GPU keeps advertising the model it can serve even while the shared engine hosts another, and in-flight walks are drained before their tensors are freed on a model swap (no more races on heterogeneous rigs).
  • --escrow-cert is now persisted to escrow.cert (no more re-passing it every start).
  • Added the missing H6 chat templates that leaked / channel markers into responses.
  • DRY sampler to stop the sentence loops a flat repeat penalty misses.
  • A fatal startup error is now reported on the terminal instead of being hidden under the TUI.
  • Stops paying the devfund past H6; seeds the tip from the node at startup.

Acknowledgements

  • @ryancole03 — CUDA loader validation and ops hardening, durable escrow key & state across miner upgrades, GGUF-CID model verification and cached weight-tree authentication, GPU telemetry keying, and model-load error reporting.
  • @DragonKeeper — GPU telemetry, device-aware mining logs and TUI metrics display (#24); per-GPU recovery from transient GPU runtime faults (#25).

Thanks to everyone who tested the H6 miner on the testnet.