Skip to main content

truthlinked_runtime/
lib.rs

1//! Deterministic Axiom cell runtime primitives for TruthLinked.
2//!
3//! This crate exposes runtime records and conflict-aware helpers used by nodes to
4//! keep parallel execution deterministic, auditable, and aligned across validators.
5
6pub mod cells;
7pub mod compiler_aware;
8pub mod types;
9
10pub trait ConflictAwareCell {
11    fn rw_set(
12        &self,
13        intent: &truthlinked_core::pq_execution::TransactionIntent,
14    ) -> (
15        Vec<truthlinked_core::pq_execution::AccountId>,
16        Vec<truthlinked_core::pq_execution::AccountId>,
17    );
18}