Skip to content

Commit

Permalink
Update iroh-net/src/relay/codec.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Kasey <kasey@n0.computer>
  • Loading branch information
dignifiedquire and ramfox committed Apr 11, 2024
1 parent 8dbe2f0 commit dc85bbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iroh-net/src/relay/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ pub(super) const PER_CLIENT_READ_QUEUE_DEPTH: usize = 512;
/// NOTE: we are techincally running a modified version of the protocol.
/// `FrameType::PeerPresent`, `FrameType::WatchConn`, `FrameType::ClosePeer`, have been removed.
/// The server will error on that connection if a client sends one of these frames.
/// We have split with the DERP protocol significantly starting with our relay protocol 3
/// `FrameType::PeerPresent`, `FrameType::WatchConn`, `FrameType::ClosePeer`, `FrameType::ServerKey`, and `FrameType::ServerInfo` have been removed.
/// The server will error on that connection if a client sends one of these frames.
/// This materially affects the handshake protocol, and so relay nodes on version 3 will be unable to communicate
/// with nodes running earlier protocol versions.
pub(super) const PROTOCOL_VERSION: usize = 3;

///
Expand Down

0 comments on commit dc85bbd

Please sign in to comment.