feat: Add Clock abstraction for testable time and implement Hybrid Logical Clock (HLC).

This commit is contained in:
2025-12-20 14:29:08 +01:00
parent e1405bb910
commit 2f48483d0e
3 changed files with 393 additions and 0 deletions
+6
View File
@@ -5,13 +5,19 @@
//! - **SigChain**: Append-only cryptographically signed log
//! - **Entry**: Atomic operations in the log
//! - **VectorClock**: Causality tracking for reconciliation
//! - **HLC**: Hybrid Logical Clock for ordering
//! - **Clock**: Time abstraction for testability
pub mod node;
pub mod sigchain;
pub mod entry;
pub mod vector_clock;
pub mod hlc;
pub mod clock;
pub use node::Node;
pub use sigchain::SigChain;
pub use entry::Entry;
pub use vector_clock::VectorClock;
pub use hlc::HLC;
pub use clock::{Clock, SystemClock, MockClock};