Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 8;
Expand description

Wire protocol version.

Additive optional fields (new serde-defaulted Option<T> fields, new variants behind #[non_exhaustive]) keep the version. Removing, renaming, or retyping anything serialized bumps it, recorded in the CHANGELOG. Byte fixtures in each protocol module pin the deserialize direction.