Repository navigation
Releases
P2Pearl v0.0.33
What's changed
- Adds adaptive per-worker vardiff on top of v5 share targets.
- Raises the default initial target factor to 256, then auto-hardens or eases each worker toward about one accepted submit per minute.
- Tracks stratum worker labels independently, so rigs sharing a wallet can tune separately.
- Updates CLI, GUI, and README wording for adaptive vardiff.
Verification
python -m pytest -q-> 146 passed- Windows
p2pearl.exe --version-> 0.0.33 - Linux
p2pearl-linux-x86_64 --version-> 0.0.33
P2Pearl v0.0.32
What's changed
- Adds v5 vardiff shares: every share now carries an actual
share_targetplus a retarget-derivedtarget_limit, so harder shares are peer-verifiable and credited with their real work. - Defaults connected miners to
--stratum-target-factor 16, reducing large Pearl proof submit frequency without under-crediting miners. - Hardens the default bootstrap target limit to difficulty
2^50, avoiding the old restart-time flood from difficulty-64 genesis shares. - Exposes Target factor in the GUI Advanced panel and CLI.
Operator note
This is a sidechain consensus bump (SIDECHAIN_VERSION = 5). Peered pool nodes must update together; v4 and v5 shares intentionally reject each other.
Verification
python -m pytest -q-> 143 passed- Windows
p2pearl.exe --version-> 0.0.32 - Linux
p2pearl-linux-x86_64 --version-> 0.0.32
v0.0.31 - log stratum wire submit timing
Diagnostics
v0.0.31 adds stratum wire-read timing to slow submit logs. A real Pearlhash mining.submit carries a large base64 plain proof, commonly hundreds of KB. Miner-reported "ping" can include the time to upload that JSON frame over the WAN, while the previous P2Pearl timing only started after the full line had already arrived.
Slow submit log lines now include:
read_ms: time from first byte of the stratum frame to newlinetotal_ms: server-side parse/handler/response time after the full frame arrivedwire_ms:read_ms + total_msframe_bytes: submitted frame size
This should tell us whether remaining 120-300 ms miner ping is server work or large proof upload/transport time. No consensus or payout behavior changes from v0.0.30.
Verification
python -m pytest -p no:xdist -q-> 139 passed- Windows
p2pearl.exe --version->p2pearl 0.0.31 - Windows
p2pearl.exe demopassed - Windows zip extract smoke ->
p2pearl 0.0.31 - Linux
p2pearl-linux-x86_64 --version->p2pearl 0.0.31 - Linux
p2pearl-linux-x86_64 demopassed
SHA-256
p2pearl.exe:3FC95E7E5927CEB07F4523EF9566D5F3398D1A7C1D179981D621C4C4D8E80716P2Pearl-v0.0.31-windows-x86_64.zip:55DF190FC891AF4DB35E54CD1F8764EEE0DB0C9C37996718F214B310C64E0AEAp2pearl-linux-x86_64:26CCA4E8E4715BB3623C3CD19F793781589D4FD00B161ABB9BD6DE60BB00BC51pearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.30 - refresh miners before block checks
Fix
v0.0.30 moves miner job refresh earlier in the accepted-share path: once a submitted share is verified and inserted as the best sidechain tip, P2Pearl immediately refreshes miner jobs before doing the parent-block target check / block assembly path.
That matters for the live symptom where miners accepted a few shares and then appeared to stop receiving useful jobs. v0.0.29 fixed idle target recovery; v0.0.30 additionally prevents the block-check path from holding miners on the previous sidechain tip after a share lands.
Operator notes
- Stop older GUI/daemon processes and run this v0.0.30 binary.
- SIDECHAIN_VERSION remains v4 from v0.0.29, so do not peer with older v3 nodes.
- No
.p2pearlwipe or pearld resync should be required. - Based on local probing, this still looks like a P2Pearl scheduling/retarget issue rather than your desktop needing to move to EPYC.
Verification
python -m pytest -p no:xdist -vv -s-> 138 passed- Windows
p2pearl.exe --version->p2pearl 0.0.30 - Windows
p2pearl.exe demopassed - Windows zip extract smoke ->
p2pearl 0.0.30 - Linux
p2pearl-linux-x86_64 --version->p2pearl 0.0.30 - Linux
p2pearl-linux-x86_64 demopassed
SHA-256
p2pearl.exe:BAC40609724756844FA06408729FBF705E97E866FDF633816CDBD0B04A2862F6P2Pearl-v0.0.30-windows-x86_64.zip:8361C637F7404EC80390A0B678C726FE74B56E0CDDF3B617A97BA00E506FFD82p2pearl-linux-x86_64:9FF99DC32E794A393F3353BF3D53D181F130E5100C5238BD125A2A1460F30A9Dpearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.29 - recover share target after idle gaps
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_VERSIONto4because this changes share-target consensus. All peered P2Pearl nodes must update together. - Bumps P2Pearl to
0.0.29and 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 containingp2pearl.exe.p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includes the production proof stack.pearld-windows-x86_64.zip: standalonepearld1.1.1 +prlctlbundle.
Verification
.venv\\Scripts\\python.exe -m pytest -q-> 137 passed.- Windows artifact reports
p2pearl 0.0.29and passesp2pearl demo. - Linux artifact reports
p2pearl 0.0.29and passesp2pearl 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:040A5185D9B0FB714000BAD7ED8B09B6C2A26B20E8B0A428E0CC503F6273EDCEP2Pearl-v0.0.29-windows-x86_64.zip:A5A2B60063F366B5A28973838A51EB5CC3665C16E4B841205CCA4B8E7FFCB313p2pearl-linux-x86_64:AEE9B8C76D1BC3745842C45133574074C8E245FD808D4F8ADC63DCBFAEE0B5FApearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.28 - live share job timestamps
What changed
- Fixes miners appearing to stop receiving useful jobs / stop hashing after a few accepted shares.
- Each new per-miner job now uses a fresh live, monotonic timestamp instead of reusing the parent
getblocktemplate.curtimefor every share on the same Pearl tip. - The candidate share timestamp and the 76-byte mining header timestamp now stay identical, so the proof commits to exactly the share being credited.
- Adds a regression test proving that multiple accepted shares on the same parent template, spaced at the sidechain target interval, do not artificially harden the next share target.
- Bumps P2Pearl to
0.0.28and test coverage to 135 passing tests.
Why
The previous builds reused getblocktemplate.curtime while the parent Pearl tip stayed unchanged. If the pool accepted several shares before a new parent block, those sidechain shares could have identical timestamps. The retarget logic interpreted that as shares arriving in zero seconds and clamped the target 4x harder per share. After a handful of shares, the miner could be given work that was effectively too hard, which looked like jobs stopped or hashing stalled.
This release stamps jobs with wall-clock time, never earlier than the parent template time or previous share timestamp + 1 second.
Operational note
Stop the currently running P2Pearl process and start v0.0.28. The sharechain is in memory, so restarting also clears any over-hardened target state created by the older timestamp bug. 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.28-windows-x86_64.zip: Windows x64 zip containingp2pearl.exe.p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includes the production proof stack.pearld-windows-x86_64.zip: standalonepearld1.1.1 +prlctlbundle.
Verification
.venv\\Scripts\\python.exe -m pytest -q-> 135 passed.- Windows artifact reports
p2pearl 0.0.28and passesp2pearl demo. - Linux artifact reports
p2pearl 0.0.28and passesp2pearl demo.
SHA256
p2pearl.exe:288EC06AF0656C413CF79F4E1DBAE3F422C713A9485D2B5AF32AA14BA06F7AAAP2Pearl-v0.0.28-windows-x86_64.zip:5203E71154AB54BA1023D280C955E5D5CE302AA7C2502671A2ED1EB365753B36p2pearl-linux-x86_64:37085B44AFAE49A19570C6C481DFBBA80018EF39689E76EF83911152294FAC27pearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.27 - resilient stratum job fanout
What changed
- Fixes a stratum job-delivery stall where one slow, half-open, or backpressured miner socket could block
mining.notifybroadcasts to other miners. - Job broadcasts now fan out concurrently to ready miners instead of sending to connections serially.
- Stratum writes now have a bounded 5 second drain timeout; timed-out or already-closing sockets are dropped instead of staying in the broadcast path forever.
- Connection-close failures during broadcast are logged without noisy shutdown tracebacks.
- Adds a regression test proving a slow connection cannot prevent another miner from receiving a fresh job.
- Bumps P2Pearl to
0.0.27and test coverage to 134 passing tests.
Why
Your stratum port was reachable publicly and WAN miners had established TCP sessions, so this was not a closed-port problem. The bug was inside the pool's job fanout: _broadcast() pushed jobs one connection at a time, and each send waited on writer.drain() with no timeout. A stale or slow WAN socket could therefore stop later miners from getting fresh jobs, which looked like the pool stopped serving users outside the LAN.
Assets
p2pearl.exe: Windows x64 GUI/CLI app with bundled production node support.P2Pearl-v0.0.27-windows-x86_64.zip: Windows x64 zip containingp2pearl.exe.p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includes the production proof stack.pearld-windows-x86_64.zip: standalonepearld1.1.1 +prlctlbundle.
Verification
.venv\\Scripts\\python.exe -m pytest -q-> 134 passed.- Windows artifact reports
p2pearl 0.0.27and passesp2pearl demo. - Linux artifact reports
p2pearl 0.0.27and passesp2pearl demo.
SHA256
p2pearl.exe:1282E5D2F50C0400E04B81FF2E1A0D0501C6F39E3EAEAAF39D691CBB1298683AP2Pearl-v0.0.27-windows-x86_64.zip:AFB9922E6BEC4BB38000AD64983C7CC509EB906FF0E5FC895A89EB2EFD27B309p2pearl-linux-x86_64:206CEE6D607692192BD3797A02B64070C9F743A7B76125E6F6239F2DA9AB7E24pearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.26 - fast-ack queued share validation
What changed
- Fixes the remaining miner-reported ping delta:
mining.submitnow 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_VALIDATIONtiming logs for post-ACK validation/follow-up when validation exceedsP2PEARL_SUBMIT_TIMING_MSor whenP2PEARL_TRACE_SUBMIT=1. - Bumps P2Pearl to
0.0.26and 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 containingp2pearl.exe.p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includes the production proof stack.pearld-windows-x86_64.zip: standalonepearld1.1.1 +prlctlbundle.
Verification
python -m pytest -q-> 133 passed.- Windows artifact reports
p2pearl 0.0.26and passesp2pearl demo. - Linux artifact reports
p2pearl 0.0.26and passesp2pearl demo.
SHA256
p2pearl.exe:4635248929FA6A7DB807E87A5E44AA966A996650E654EAF50D0E38D89E382C18P2Pearl-v0.0.26-windows-x86_64.zip:25FA065483F244956ABC3E1481B5CC3D2B9BC08877CA12FDEE4FE09A02CDD3FAp2pearl-linux-x86_64:62CE03F0B57C4314F7F26AA45425DCDE1CF5F851488CA82C9B39E55CC1204816pearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.25 - keep submit ACK path minimal
What changed
- Tightens the PING fix on top of
v0.0.24: accepted-share miner ACKs now return immediately after share-target verification and local sharechain acceptance. - Moves peer share gossip off the ACK path, so slow or backpressured P2P peers cannot inflate miner-reported submit latency.
- Moves the duplicate block-target proof check into post-ACK follow-up work using a worker thread, so normal share ACKs are no longer held behind the second proof verification.
- Keeps block-candidate submission, payout stats, peer gossip, and stratum job refresh behavior intact as post-ACK background work.
- Bumps P2Pearl to
0.0.25and test coverage to 132 passing tests.
Assets
p2pearl.exe: Windows x64 GUI/CLI app with bundled production node support.P2Pearl-v0.0.25-windows-x86_64.zip: Windows x64 zip containingp2pearl.exe.p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includes the production proof stack.pearld-windows-x86_64.zip: standalonepearld1.1.1 +prlctlbundle.
Verification
python -m pytest -q-> 132 passed.- Windows artifact reports
p2pearl 0.0.25and passesp2pearl demo. - Linux artifact reports
p2pearl 0.0.25and passesp2pearl demo.
SHA256
p2pearl.exe:1919357CA3DE2AEF8C3823F9A71CF647BCF0C8312249166748E97EB4255C1CFCP2Pearl-v0.0.25-windows-x86_64.zip:C037FB262C8088453A9071CC7820AEC9B9B69A5D9C40FF000216EEE1911C0B1Bp2pearl-linux-x86_64:E050C4E393A5F4BFA18EE0B069854A9F3E65D90ED7DA43C1F3F821BA1442800Bpearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028
v0.0.24 - keep miners connected through RPC hiccups
What changed
- Keeps the stratum and P2P services alive when the parent
pearldRPC has a transientgetblocktemplatefailure after startup. This was the failure mode that could close P2Pearl and disconnect all miners at once. - Refreshes miner jobs in the background and coalesces repeated refresh requests, so share ACKs are no longer blocked behind slow socket/job refresh work.
- Adds slow-submit timing logs for diagnosing latency:
P2PEARL_SUBMIT_TIMINGandP2PEARL_STRATUM_TIMINGemit when a submit path exceedsP2PEARL_SUBMIT_TIMING_MS(default75ms), or for every submit withP2PEARL_TRACE_SUBMIT=1. - Bumps P2Pearl to
0.0.24and test coverage to 131 passing tests.
Assets
p2pearl.exe: Windows x64 GUI/CLI app with bundled production node support.P2Pearl-v0.0.24-windows-x86_64.zip: Windows x64 zip containingp2pearl.exe.p2pearl-linux-x86_64: Linux x86_64 CUDA prover build; includespearl_mining.abi3.soandlibcudart.so.13.pearld-windows-x86_64.zip: standalonepearld1.1.1 +prlctlbundle.
Verification
python -m pytest -q-> 131 passed.- Windows and Linux artifacts both report
p2pearl 0.0.24and passp2pearl demo. - Packaged daemon smoke test: fake RPC succeeded at startup, then returned
getblocktemplateerrors; stratum stayed up and loggedkeeping miners connected and retrying.
SHA256
p2pearl.exe:CB3B47929E61628B948B1C326A7A04283A0BBB9CD7BCE796CE96B38953E9EBA9P2Pearl-v0.0.24-windows-x86_64.zip:EA0A122DDFD8A12D54AD4A375E94D6E0E41786756523B05741B17DCF1129103Dp2pearl-linux-x86_64:DA00EE62546472961D8D0B6FD5903FCD9483A5E4E4A9E4669BA2A2207911AE2Cpearld-windows-x86_64.zip:593223C939972D39B7B358B303FFDC6294EA8006DF8D78F0814A7656709E8028