keryx-miner-v0.5.4-PoM

keryx-miner-v0.5.4-PoM

31 août 2026

The pool-mining release: PoM proofs now travel over Stratum, pools can dispatch AI inference to workers, and the solo solver gets a set of measured performance ports.

Pool mining with PoM proofs (Stratum v3)

  • mining.submit now carries the canonical PoM proof (hex) alongside the share — pool mining is no longer proof-less. The legacy submit variants remain for transition, but a PoM network requires the proof for paid shares.
  • New keryx-stratum-v3 job format: DAA-aware mining.notify with the compact block target. Jobs without a DAA score are rejected instead of guessing the consensus era.
  • Idle mining.keepalive with a configurable response timeout (--stratum-keepalive-seconds, --stratum-keepalive-timeout-seconds), a 5-second connect timeout, writer-failure detection, and connection-local share tracking.
  • Valid block candidates are preserved even when the pool share target is harder than the block target.

Compatibility: pool mining v0.5.4 requires a v3-capable pool (DAA-aware jobs + keepalive). Solo/gRPC mining is unchanged.

Pool-dispatched AI inference

  • New mining.ai_request / mining.ai_response messages: the pool dispatches inference tasks, the worker runs them and returns the result. The pool owns IPFS pinning, signing, on-chain submission and escrow.
  • In pool mode the worker no longer generates an escrow key or starts a local IPFS daemon.
  • Strict validation on the worker side: 1 MiB payload caps, single-flight inference, PoW paused during generation.

Devfund removed

The devfund is retired everywhere — CLI flag, solo scheduling and the Stratum path (it had already been inert at consensus since H6). Mining always pays the configured user address, and pool connections are no longer recycled every fee window.

Solver performance (ported from the ocminer/suprnova fork)

  • Chaseless v4 tensor-core solver: one kernel per batch instead of the chase+walk pipeline — measured +4–11% across GDDR cards at default batch, more at small batches. HBM-class cards (CC 8.0/9.0) keep the previous pipeline by default; KERYX_POM_V4_NCF=0 forces the old path on any card.
  • Once-per-warp walk seed: the post-H10 keccak seed is computed once per warp instead of once per thread.
  • Merkle sibling memo: proof builds are up to 5x faster on cold caches (KERYX_POM_PATH_MEMO=0 to disable), shrinking the find-to-submit gap on winning blocks.

All three are byte-exact against the reference walk; consensus behavior is unchanged.

Fixes

  • Windows: managed Kubo now uses the native %USERPROFILE%\.ipfs repository (or an explihe working directory, and ipfs.exe is correctly discovered next to the miner.
  • Hardened Stratum parsing: pool difficulty validation, extranonce width guards, 2 MiB frame cap, panic-free share bookkeeping.
  • HiveOS launcher test runs as non-root.

Credits

Thanks to @neuropool for the entire Stratum v3 / pool-AI implementation, @rogersmitha51 for the Windows Kubo and HiveOS fixes, and @ocminer — the solver optimizations are ported from the suprnova fork.