Skip to content

v0.0.26 - fast-ack queued share validation

Choose a tag to compare

@JustAResearcher JustAResearcher released this 19 Jun 01:34
· 7 commits to main since this release

What changed

  • Fixes the remaining miner-reported ping delta: mining.submit now fast-ACKs after cheap job sanity checks and queues proof validation in the background.
  • Full share-target proof verification now runs off the stratum ACK path in a worker thread, so proof verification time no longer appears as miner ping.
  • Unverified shares are not inserted into the sharechain, gossiped, counted for payout, or checked for block submission. Those actions only happen after background validation succeeds.
  • Duplicate pending submits are coalesced so repeated sends of the same share do not schedule repeated proof validation work.
  • Adds P2PEARL_SUBMIT_VALIDATION timing logs for post-ACK validation/follow-up when validation exceeds P2PEARL_SUBMIT_TIMING_MS or when P2PEARL_TRACE_SUBMIT=1.
  • Bumps P2Pearl to 0.0.26 and test coverage to 133 passing tests.

Why

A user could traceroute to the pool in about 30 ms while the miner UI reported about 130 ms. After v0.0.25, the remaining synchronous delta was the pool's proof verification work. This release makes miner ACK latency track the network request/response path instead of proof verification time.

Operational note

The ACK now means the submit was received and queued for validation. Honest miners should see lower ping; invalid or low-difficulty proofs will be dropped after background validation and will not affect payout/sharechain state.

Assets

  • p2pearl.exe: Windows x64 GUI/CLI app with bundled production node support.
  • P2Pearl-v0.0.26-windows-x86_64.zip: Windows x64 zip containing p2pearl.exe.
  • p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includes the production proof stack.
  • pearld-windows-x86_64.zip: standalone pearld 1.1.1 + prlctl bundle.

Verification

  • python -m pytest -q -> 133 passed.
  • Windows artifact reports p2pearl 0.0.26 and passes p2pearl demo.
  • Linux artifact reports p2pearl 0.0.26 and passes p2pearl demo.

SHA256

  • p2pearl.exe: 4635248929FA6A7DB807E87A5E44AA966A996650E654EAF50D0E38D89E382C18
  • P2Pearl-v0.0.26-windows-x86_64.zip: 25FA065483F244956ABC3E1481B5CC3D2B9BC08877CA12FDEE4FE09A02CDD3FA
  • p2pearl-linux-x86_64: 62CE03F0B57C4314F7F26AA45425DCDE1CF5F851488CA82C9B39E55CC1204816
  • pearld-windows-x86_64.zip: 593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028