Update IPC for 32.1 #2

Merged
parabit merged 46 commits from parabit/upstream-32.1-update into master 2026-10-30 20:12:00 +00:00
Owner
No description provided.
Noise completion no longer counts as a protocol message. Incomplete
handshakes drop after 10s, peers without SetupConnection.Success after
60s from accept, and setup-ok sessions with no mining channel or JD
token after 60s from Success.
ProvideMissingTransactions.Success is correlated to a pending request
before any cache insert, and only matching wtxids are accepted. Those
raw txs are copied onto the pending and token so JDS rebuild no longer
depends on the evictable global cache.
The first successful declare still binds material to the Allocate token.
A later declare that reuses those bytes creates a distinct token and
returns it in DeclareMiningJob.Success, leaving prior reconstruction
material immutable for retained job_ids.
Only mining.submit is recorded, duplicate ids are ignored, and in-flight
records are bounded per client and globally. Matching replies drop the
id whether accepted or not, and the receiver tick expires stale entries.
Only track redirector shares for authorised clients and clear request IDs
across authentication transitions, preventing auth responses from being
mistaken for accepted shares.

Synchronise SV2 connection phase updates with the idle reaper. Bound JD
transaction and retained-token memory, expose snapshot usage in status,
and start declared-token expiry when reconstruction material is installed.
Oversized cache fills return invalid-template.
Successful re-authentication preserves in-flight share IDs; clearing occurs only on unauthorised → authorised transitions.
The reaper’s final expiry check and invalidation now occur atomically under the same write lock.

Authorization is now success-only; failed re-authentication cannot revoke existing redirect eligibility.
Identical snapshot matching no longer compares newly derived extranonce length, preserving the parent’s checkBlock-approved value.
parabit force-pushed parabit/upstream-32.1-update from 5ec0f60bce to f10f5b3416 2026-10-30 16:49:01 +00:00 Compare
paratoxic approved these changes 2026-10-30 16:52:44 +00:00
parabit merged commit a1bcf8b716 into master 2026-10-30 20:12:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
parasitepool/ckpool!2
No description provided.