What We Built & Why
Earlier Silica commits decoupled transaction dissemination from execution using a modified proposal DAG, but left parts of commit closure sensitive to downstream heuristics. Moving ordering truth directly into Tephra—a gossip-about-gossip hashgraph event DAG—ensures that identical communication graphs always produce identical ordered proposals across honest nodes.
Equally critical is crash and restart safety across the boundary between consensus signing and local state storage:
- No Stale-Backup Equivocation: If validator signing state lives inside the same database snapshot as ledger state, restoring a backup can trick an honest node into double-signing an earlier height.
- No Broadcast-Buffer Network Stalls: Earlier validator builds multiplexed consensus, transactions, recovery, and VRF messages over a single shared
broadcast::channel—so one stalled worker causedRecvError::Laggedpacket drops and network hangs. - No Unauthenticated Sync or Compute Confusion: State catch-up must never trust a donor’s unverified manifest for post-state roots or account owner bindings, and external oracle/compute receipts must never bypass typed wire checks into WASM execution.
- Deterministic Crash Recovery on Generation Swap: Replacing an offline state directory must resolve cleanly even if power loss interrupts execution immediately before or after an atomic pointer rename.
How Ordering, Transport Isolation & Recovery Fit Together
- Canonical Ordering (Tephra → Crystallite): Each 145-byte canonical
TephraEventbody records explicitself_parentandother_parentlinks. Honest nodes derive witness, fame, and proposal order locally via virtual voting, and Crystallite applies committed order deterministically over MVCC lanes without inventing a second commit rule. - Independent Creator
SigningFence: Validator event reservation and signing use a dedicated WAL-synced RocksDB fence pinned to a 98-byte(genesis, roster, epoch, creator)key and 40-byte monotonic height head. On reopen, the fence checks against an independent higher anchor and refuses stale backups that lag behind it. - Hybrid
X25519MLKEM768QUIC & Bounded Router Isolation: Peer links pair X25519 with FIPS 203 ML-KEM-768 bound to genesis validator keys, andConsensusMessageRouterreplaces lossy shared broadcasts with isolated bounded MPSC queues (consensus: 4,096,transaction: 1,024 / 64 MiB,recovery: 512,vrf/pq-pvss: 512,gpod: 256 / 64) plus per-peer token buckets so noisy traffic drops inside its own lane without stalling ABFT ordering or finality. - 16-Ary State Commitments & Switch Intent Reconciliation: Canonical BLAKE3 state trees (
LEAF_OVERHEAD = 39 B,BRANCH_OVERHEAD = 36 B,MAX_BRANCH_LEN = 548 B) authenticate balances, owner tombstones, and supply. Offline generation swaps write and fsyncCURRENT.tmpbefore sealing a 377-byteDP33IN01intent record; crashes on either side of the atomic rename resolve cleanly toKeptPreviousorCompletedTargetbefore deletingINTENT. - Typed
SOCE-v1Oracle Boundary (Disabled State Dispatch): Oracle traffic carryingentry_point = "oracle"validates version 1 and authoritativeu16operation tags (0x0001..0x0300) up front; live external compute payout settlement stays deliberately disabled until authenticated miner assignment verification lands (SPR-009).
Production & Endurance Observations
Deployment Status & Soak Diagnostics:
- Tephra Consensus & Hybrid QUIC Routing: Active across validator nodes and passing multi-node finality and router DoS isolation suites.
- Authenticated State & Generation Switch: Qualified across isolated staging and crash-recovery fixtures alongside ledger account-projection tests; continuous live ledger cutover remains gated.
- Long-Run Memory Soak Transparency: An 86,403-second (24-hour) baseline Falcon soak confirmed 8,455/8,455 transfers with zero restarts or OOMs (finalized floor 229,014), but tripped its memory-trend guard at 98.5 MiB/h vs. a 20 MiB/h ceiling—an active investigation tracked prior to uncapped production sign-off.
Verified Test Suites
| Subsystem / Filter | Observed Pass Count | Covered Scope |
|---|---|---|
consensus::hashgraph:: | 206/206 pass (18.08 s) | DAG convergence, multi-branch repair, 64 MiB journal drain, view safety, and signing_fence:: (3/3) |
storage::authenticated_state:: | 31/31 pass (0.09 s) | Node codec bounds, corruption fail-closed checks, crash-intent reconciliation + SigningFence continuity |
finality::state_statement:: | 14/14 pass (0.08 s) | Quorum finality certification, Falcon verification, and recent-anchor ancestry checks |
ledger::account_projection:: | 8/8 pass (0.18 s) | Owner tombstones, supply binding, sparse certified-time cuts, and unclassified-write rejection |
Related Silica Protocol Research (SPR) Specifications