Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #299 from dirvine/master
Browse files Browse the repository at this point in the history
chore(refactor) Remove Client Challenge types
  • Loading branch information
dirvine committed Dec 26, 2020
2 parents 040ef4a + 6328722 commit c13653c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ pub enum HandshakeRequest {
Bootstrap(PublicKey),
/// Sent to destination nodes as a response to `HandshakeResponse::Join`.
Join(PublicKey),
/// Response to `HandshakeResponse::Challenge` sent by a node.
ChallengeResult(Signature),
}

/// Handshake responses sent from nodes to clients.
Expand All @@ -168,8 +166,6 @@ pub enum HandshakeResponse {
Rebootstrap(Vec<(XorName, SocketAddr)>),
/// Sent by nodes when a client reaches its destination section.
Join(Vec<(XorName, SocketAddr)>),
/// Sent by nodes as a response to a valid `HandshakeRequest::Join`.
Challenge(PublicKey, Vec<u8>),
/// Sent by nodes as a response to an invalid `HandshakeRequest::Join` (when a client attempts to join a wrong section).
InvalidSection,
}

0 comments on commit c13653c

Please sign in to comment.