Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 1;
Expand description

Current protocol version.

  • Adding required fields to requests/responses
  • Changing the serialization format
  • Removing commands or response variants

Do NOT increment for:

  • Adding new optional fields
  • Adding new commands (backwards compatible)