Protocol Architecture

Silica Engine Deep Dive

A technical breakdown of Tephra ingress, Tephra, Crystallite, Lithification, and Cali in the Silica architecture.

Silica Network Team • 2024-12-04 • 10 min read

⏱ The Branded Layer Stack

Silica uses a named layered architecture, with each layer owning a distinct responsibility:

  • Tephra ingress: batching and dissemination front end for batching and payload dissemination.
  • Tephra: Gossip-about-gossip ordering layer that reconstructs the event DAG and derives deterministic order.
  • Crystallite: Deterministic execution/apply layer that turns ordered proposals into visible state transitions.
  • Lithification: Proof/checkpoint layer that packages anchors, receipts, and finalized surfaces.
  • Cali: Monitoring and recovery layer that tracks health and restart safety.
pub struct TephraEvent {
    creator: u16,
    self_parent: Option<EventRef>,
    other_parent: Option<EventRef>,
    round: u64,
    payload_hash: Option<[u8; 32]>,
    payload_tx_count: u32,
}

Consensus Pipeline:

  1. Tephra ingress: Transactions are admitted, batched, and disseminated into consensus.
  2. Tephra: Peers exchange missing events, extend the shared event DAG, and derive deterministic order.
  3. Crystallite: Ordered proposals are executed in deterministic lanes and applied locally.
  4. Lithification: Anchors and certificates package the result into proofs and checkpoints.
  5. Cali: Watchdog and recovery flows observe the finalized chain and keep restart paths clean.

Source of Truth (SOT):

  • Ordering SOT: Tephra consensus order is the only ordering truth.
  • Apply SOT: Crystallite applies Tephra order; it does not invent a new one.
  • Proof SOT: Lithification packages proofs and checkpoints; it does not decide order.
  • Certificates/receipts are proofs (reports), not gates.

🧵 Sharded Execution Engine

Silica is designed for massive throughput:

Multi-Shard MVCC Architecture:

  • StateStore Trait: Pluggable storage backend with MVCC transaction support
  • Lane-Based Parallelism: 4-16 execution lanes per shard for non-conflicting transactions
  • Cross-Shard Coordination: Async receipts with Merkle proofs for inter-shard transfers
  • Access List Analysis: Automatic conflict detection via transaction key declarations

Per-shard TPS: 20-40k transactions.

Cross-shard: Lightweight proofs ensure correctness.

Parallel lanes: Transactions are partitioned by keyspace or access list.

async fn execute_lane(&mut self, lane_id: LaneId, txs: Vec<Transaction>) -> Result<LaneResult>;

// MVCC transaction interface
trait MVCCTxn {
    fn read(&mut self, key: &StateKey) -> Result<Option<Vec<u8>>>;
    fn write(&mut self, key: StateKey, value: Vec<u8>) -> Result<()>;
    fn commit(self: Box<Self>) -> Result<()>;
    fn abort(self: Box<Self>);
}

This architecture is designed for high throughput across the network without congestion. Exact benchmark numbers will be published with methodology.

🔁 Validator Rotation

To ensure fairness and security, validator sets rotate frequently:

  • VRF-based selection: Ephemeral keys generate proofs against epoch seeds.
  • Weighting: Stake × reputation × Geographic Proof of Distribution.
  • Rolling churn: 10–25% replaced per epoch, ~30m default.
  • Fallback: Automated monitoring and recovery can trigger mid-epoch re-rolls if liveness halts.

fn concave_weight(w: &Weights, a: f64, b: f64, c: f64) -> f64 {<br>&nbsp;&nbsp;(1.0 + w.stake).powf(a) * w.rep.powf(b) * w.geo.powf(c)<br>}

🌍 Geographic Proof of Distribution (GPoD)

Silica enforces geographic decentralization via GPoD:

  • Quota grid: H3_Rp = 4 (state-level quotas), verified at H3_Rs = 7 (city precision).
  • Probe scheduling: Each node runs K near/far probes per epoch.
  • Reward formula:
placement_c = clamp(1 + α*(1 - n_c/target_c) - β*max(0, n_c/target_c - 1), 0.5, 3.0)

Linger bonus: Early movers retain part of their boost even after a region fills.

G_n = g1*placement_c + g2*quality_n + g3*uptime_n - penalties_n

Geo score (G_n): Weighted combination of placement, quality, uptime.

reward_n = R_epoch * (G_n / Σ G)

Reward share: Proportional to geo score relative to network sum.

Anti-gaming: Cooldowns, warmups, rep velocity throttles.

🛡 Reliability & Safety

Silica ensures liveness even under stress:

Adversarial validator handling:

  • <1/3 Byzantine → safe, live.
  • 1/3–2/3 → safe, stalls until rotation.
  • ≥2/3 → breach possible, extremely unlikely.

Automated Restart Protocol:

  1. Detection: No lineation >2× expected interval.
  2. Challenge: Nodes present missed signatures.
  3. Action: Slash offenders, reseed randomness.
  4. Resume: New validator set finalizes backlog.

Emergency fallback: Resume from last clean lineation.

🔒 Post-Quantum Cryptography

Silica is future-proofed:

  • ML-DSA PQ signatures (FIPS 204, release requirement) secure validator certificates and lineations.
  • PQ VRFs on roadmap (EC-VRF today with optional PQ attestation).
  • Pluggable cryptography: Rust traits abstract cryptographic primitives, allowing seamless PQ upgrades.

📊 Performance Targets

Finality: 0.8–1.5s per lineation
Pre-final UX: 100–300ms
Throughput: Target: high throughput across shards
Validator set size: 64–96 validators
Epoch: 30 minutes with ~20% churn

✅ Takeaway

The Silica Engine combines:

  • Tephra ingress batching and dissemination.
  • Tephra gossip sync and deterministic ordering.
  • Crystallite execution/apply.
  • Lithification proofs and checkpoints.
  • Sharded, parallel execution.
  • Geographic fairness via GPoD.
  • Cali-driven resilience under adversarial load.
  • Post-quantum cryptography for future safety.

This architecture makes Silica one of the fastest and most resilient blockchains ever designed.