Skip to content

Conversation

jrick
Copy link
Member

@jrick jrick commented Dec 9, 2024

This commit modifies the mixing client to consider fully formed sessions (where all peers have sent a KE with matching sessions), even if other sessions have already been attempted after. Previously, only the most recently attempted session would ever be used, and clients would only ratchet-down the peers they would mix with.

With this change, initial session disagreement can be recovered from more gracefully, as some peers will form an alternate session matching the session that other peers originally tried.

This commit also introduces a fix for a race that could result in root-solving wallets not publishing their solutions in a timely manner, which would result in non-solving wallets eventually being blamed for DC timeout.

@davecgh davecgh modified the milestones: 2.1.0, 2.0.6 Feb 20, 2025
This commit modifies the mixing client to consider fully formed sessions
(where all peers have sent a KE with matching sessions), even if other
sessions have already been attempted after.  Previously, only the most
recently attempted session would ever be used, and clients would only
ratchet-down the peers they would mix with.

With this change, initial session disagreement can be recovered from more
gracefully, as some peers will form an alternate session matching the session
that other peers originally tried.

This commit also introduces a fix for a race that could result in root-solving
wallets not publishing their solutions in a timely manner, which would result
in non-solving wallets eventually being blamed for DC timeout.
@jrick jrick force-pushed the parallel_sessions branch from 0bfa9a1 to b77edc3 Compare February 20, 2025 16:35
@jrick jrick merged commit b77edc3 into decred:master Feb 20, 2025
2 checks passed
@jrick jrick deleted the parallel_sessions branch February 20, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants