Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 5;
Expand description

The protocol version. Bump on any incompatible change; the daemon reports it in HELLO, clients refuse a mismatch, and the default socket name includes it, so an upgraded client never talks to a stale daemon.