Expand description
Single source of truth for the WIRE_FORMAT_VERSION constant
shared between every crate that needs to stamp or interpret it.
This is the cluster-wide wire format version, distinct from:
nodedb_cluster::wire::WIRE_VERSION(the binary frame layout version of theVShardEnvelope),- the RPC frame header version in
nodedb_cluster::rpc_codec::header(a private constant of that module).
Bump this when the SPSC bridge, WAL, or RPC payload schemas change in a way that requires a coordinated upgrade. Readers MUST reject messages stamped with a version other than their own.
Constantsยง
- MIN_
WIRE_ FORMAT_ VERSION - Minimum wire format version this build can read. Equal to
WIRE_FORMAT_VERSION: floor == ceiling, no backward compat window. - WIRE_
FORMAT_ VERSION - Cluster-wide wire format version. Stamped on every
NodeInfoand returned bynodedb::version::WIRE_FORMAT_VERSION(a re-export).