feat: Introduce Hybrid Logical Clocks in protobuf, update architecture documentation, and add HLC test cases.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "lattice-net"
|
||||
description = "Networking layer for Lattice using Iroh"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
lattice-core = { workspace = true }
|
||||
iroh = { workspace = true }
|
||||
iroh-gossip = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
bytes = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = { workspace = true }
|
||||
@@ -0,0 +1,3 @@
|
||||
//! Gossip protocol for broadcasting changes
|
||||
|
||||
// TODO: Implement gossip using iroh-gossip
|
||||
@@ -0,0 +1,8 @@
|
||||
//! Lattice Networking
|
||||
//!
|
||||
//! Networking layer using Iroh:
|
||||
//! - **Gossip**: Broadcasting changes across the mesh
|
||||
//! - **Unicast**: Point-to-point communication for reconciliation
|
||||
|
||||
pub mod gossip;
|
||||
pub mod unicast;
|
||||
@@ -0,0 +1,3 @@
|
||||
//! Unicast communication for direct peer-to-peer messaging
|
||||
|
||||
// TODO: Implement unicast using iroh
|
||||
Reference in New Issue
Block a user