Skip to main content

PROTOCOL_VERSION

Constant PROTOCOL_VERSION 

Source
pub const PROTOCOL_VERSION: u32 = 3;
Expand description

Wire protocol version for the daemon IPC framing.

Increment this constant whenever the request or response frame shape changes in a backward-incompatible way. The client sends its version in every request; the daemon rejects mismatches with an explicit error that names both sides so the operator knows exactly what to do (make local rebuilds the client binary). See docs/api/daemon.md#protocol_version for the version-by-version history.