Research & Protocol Evolution

Research areas and papers that may inform future Lattice development.

Trust Foundation (Future)

Goal: Ensure signed Wasm blobs can be independently verified as the output of known source code.

Reproducible Build Attestation:

Remote Attestation Protocol:

ChallengeMitigation
Rust/LLVM non-determinismPinned toolchain + SOURCE_DATE_EPOCH + locked Cargo.lock
Build environment varianceNix flake or Docker for hermetic builds
Builder trust modelNamed orgs, stake-weighted, or web-of-trust attesters

Byzantine Fork Detection

Formal framework for detecting equivocation (same seq# with different content). Generate FraudProof for permanent blocklisting.

Sybil Resistance & Gossip Scaling

Mechanisms to handle millions of nodes and prevent gossip flooding from malicious actors.

Byzantine Fault Tolerance (BFT)

Ensure system resilience against malicious peers who may lie, omit messages, or attempt to corrupt state (beyond simple forks).

Deep vs. Shallow Log Architecture

Goal: Enable seamless collaboration while preserving privacy and history ownership.

Concept

The Architecture

You don’t create a separate database for the friend. You simply refuse to serve them the raw log.

The Mechanism: The “Synthetic Genesis”

When a friend connects to sync, your node performs a specific sequence to “scrub” the history.

Handling the “Write Back” (The Merge)

How does a friend edit a document without the history?

The Privacy Guarantee (Forward Secrecy)

If a friend’s device is seized or malicious:

Summary

Use Case: The Serverless Compute Grid

By implementing Shallow Views (Snapshot-only) and Blind Operations (State-based updates), this architecture naturally enables a Serverless Compute Grid.

If a connected node can view a specific “Current State” (a task context) and submit a “Future Op” (the computation result) without needing access to the causal history, it effectively functions as a stateless Worker.

This allows offloading compute to ephemeral peers without exposing the project’s edit history or sensitive development timeline.