Skip to main content

nodedb_crdt/validator/
mod.rs

1// SPDX-License-Identifier: BUSL-1.1
2
3//! Constraint validator — checks deltas against committed state.
4//!
5//! This is the core of the CRDT/SQL bridge. When a delta arrives from a peer,
6//! the validator checks all applicable constraints against the leader's
7//! committed state. If any constraint is violated, the delta is rejected
8//! with a compensation hint.
9
10pub mod bitemporal;
11mod core;
12mod policy_dispatch;
13mod types;
14mod validate;
15
16#[cfg(test)]
17mod tests;
18
19pub use core::Validator;
20pub use types::{ProposedChange, ValidationOutcome, Violation};