Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 1;
Expand description

Wire-protocol version. Bump on any breaking change to the frame/request/ response/event shapes so a version-skewed daemon/overlayd pair can detect the mismatch instead of silently misparsing.