Skip to main content

FORMAT_VERSION

Constant FORMAT_VERSION 

Source
pub const FORMAT_VERSION: u32 = 1;
Expand description

Journal record format. Bumped only for an incompatible change; new fields are additive, exactly as the op log’s own rule (invariant 1).

Unlike a persisted op this version guards no hash, because nothing hashes the journal. It is here so a reader can tell which fields to expect rather than guess from their presence.