-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mixclient: Wait for KEs from all attempted sessions
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.
- Loading branch information
Showing
4 changed files
with
772 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.