MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / local_version_range

Function local_version_range

nodedb-cluster/src/wire_version/handshake_io.rs:36–40  ·  view source on GitHub ↗

The local version range derived from the compile-time constants in `rpc_codec::header`. Single source of truth for both sides.

()

Source from the content-addressed store, hash-verified

34/// The local version range derived from the compile-time constants in
35/// `rpc_codec::header`. Single source of truth for both sides.
36pub fn local_version_range() -> VersionRange {
37 // Supported range: [1, WIRE_VERSION]. Min is 1 (oldest supported);
38 // max is the current build's wire version.
39 VersionRange::new(WireVersion(1), WireVersion(WIRE_VERSION))
40}
41
42/// Write a length-prefixed zerompk message to `send`.
43async fn write_framed<T: serde::Serialize + zerompk::ToMessagePack>(

Calls 1

WireVersionClass · 0.85