Skip to main content

Module validated_commit

Module validated_commit 

Source

Structs§

ValidatedCommit
A ValidatedCommit is a summary of changes coming from a MLS commit, after all of our validation rules have been applied

Enums§

CommitValidationError
Commit validation failed. CommitRuleError holds rule violations; the other variants need client state (identity proofs, the database).

Functions§

validate_proposal
Validates a single proposal by checking if the proposer has the required permissions. Returns Ok(()) if the proposal is valid, or an error if validation fails.