Skip to content

v0.0.29 - recover share target after idle gaps

Choose a tag to compare

@JustAResearcher JustAResearcher released this 19 Jun 19:11
· 4 commits to main since this release

What changed

  • Fixes the pool getting stranded at an over-hard share target after an early burst of shares.
  • Share-target calculation can now use the candidate share timestamp, so an idle gap lets the next job ease instead of requiring a miner to solve an already-too-hard target first.
  • The daemon now refreshes jobs periodically while the Pearl parent tip is unchanged, so miners receive the eased target even when no share has landed recently.
  • Bumps SIDECHAIN_VERSION to 4 because this changes share-target consensus. All peered P2Pearl nodes must update together.
  • Bumps P2Pearl to 0.0.29 and test coverage to 137 passing tests.

Why

The live node was running on a Ryzen 9 9950X3D with low overall CPU load and local stratum submit ACK measured at about 0.2 ms, so the desktop itself was not the obvious bottleneck. A passive stratum observer received an initial job immediately, but the current pool difficulty was extremely high and did not ease across a long no-share gap.

The remaining failure mode was the retarget loop: once the target overshot too hard, the previous logic derived the next target only from the existing tip. It could not ease until a miner found another share at the too-hard target. That makes miners look like they stopped receiving useful jobs. v0.0.29 makes the next job target account for elapsed time and refreshes miners periodically so the pool can recover.

Operational note

Stop the currently running v0.0.28 node and start v0.0.29. Since SIDECHAIN_VERSION is now 4, do not peer v0.0.29 nodes with older v3 nodes. The sharechain is in memory, so restarting also clears the current over-hard target state. You do not need to delete ~/.p2pearl or resync pearld.

Assets

  • p2pearl.exe: Windows x64 GUI/CLI app with bundled production node support.
  • P2Pearl-v0.0.29-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

  • .venv\\Scripts\\python.exe -m pytest -q -> 137 passed.
  • Windows artifact reports p2pearl 0.0.29 and passes p2pearl demo.
  • Linux artifact reports p2pearl 0.0.29 and passes p2pearl demo.
  • Live local stratum submit ACK probe against v0.0.28 measured ~0.2 ms, supporting the conclusion that the host was not the ACK bottleneck.

SHA256

  • p2pearl.exe: 040A5185D9B0FB714000BAD7ED8B09B6C2A26B20E8B0A428E0CC503F6273EDCE
  • P2Pearl-v0.0.29-windows-x86_64.zip: A5A2B60063F366B5A28973838A51EB5CC3665C16E4B841205CCA4B8E7FFCB313
  • p2pearl-linux-x86_64: AEE9B8C76D1BC3745842C45133574074C8E245FD808D4F8ADC63DCBFAEE0B5FA
  • pearld-windows-x86_64.zip: 593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028