Skip to main content

Module sync_frame_versioned

Module sync_frame_versioned 

Source
Expand description

Versioned encode/decode wrappers for nodedb_types::SyncFrame.

SyncFrame lives in nodedb-types and cannot reference nodedb-cluster, so versioning wrappers for the sync wire layer are provided here instead.

§PhysicalPlan bridge wire exclusion

The bridge::physical_plan::wire codec is NOT versioned here. It operates on the Control⟷Data SPSC boundary (within a single node, never across the network) and is already round-trip tested. Cross-cluster boundary versioning does not apply to it.

Functions§

decode_versioned_sync_frame
Decode a versioned-envelope-wrapped SyncFrame.
encode_versioned_sync_frame
Encode a SyncFrame and wrap its bytes in a v2 versioned envelope.