Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 1;
Expand description

Protocol version for wire compatibility.

This version is included in handshake messages to ensure client and server can communicate properly. When the protocol changes in incompatible ways, this version should be incremented.