Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 1;
Expand description

Protocol version. Bump on non-additive changes (removing variants, changing field types). Additive changes (new variants, new optional fields) do not require a bump, but the daemon must tolerate unknown additive fields from newer clients without erroring.