Skip to main content

Module protocol_floor

Module protocol_floor 

Expand description

The committed MIN_SUPPORTED_PROTOCOL_VERSION floor check.

Functions§

committed_floor_at_least
True when the committed floor parses and is at least min. Missing or malformed floors read as below.
committed_floor_exceeding
Returns the group’s committed MIN_SUPPORTED_PROTOCOL_VERSION floor when it exceeds own_version, reading ONLY the pre-commit AppData dict — committed, already-validated state.
committed_floor_exceeding_in_extensions
Extensions-only variant of committed_floor_exceeding, split out so unit tests can exercise the parse-and-compare logic without materializing an OpenMlsGroup.