-
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.
wire: Add epoch field to mix key exchange message
The epoch will be included in the derivation of the session hash, instead of only deriving a session from previous pair requests. This allows new messages in following epochs to not conflict with previous session attempts of the same pair request set. This also provides a decent heuristic to discover and exclude any peers that were unresponsive for a full epoch or more. This is a breaking API change but the wire module has not seen a release since mixing messages were added.
- Loading branch information
Showing
3 changed files
with
27 additions
and
21 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
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
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