pub fn version_compatible(their_version: &str) -> boolExpand description
Whether a peer advertising their_version is wire-compatible with this
crate’s PROTOCOL_VERSION.
Compatibility is by major version — a breaking wire change bumps the major (2.x → 3.0), a compatible additive change bumps only the minor. A missing or malformed version string is treated as incompatible (fail closed): a peer that cannot state a version it speaks is exactly the legacy client this gate exists to turn away.