Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixclient: Wait for KEs from all attempted sessions #3463

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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.
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.

1 participant