Skip to main content

Layer 1: Direct 1-Hop Validator Mesh, Sentinel D1 Sidecar, 2D AVID Economics & 25 Mbps Shaper

60-Second TL;DR (ZNN-SPEC-PHASE1-v4): Reconciles ZDC-ZP1-HR-001 (M01, H08, M08) and Round-4 HashRand-PQ + stride = 5 bandwidth accounting (R4-05):

  1. Direct 1-Hop Point-to-Point Validator Mesh (M01 + R4-05 fix): Active Pillars (N <= 100) exchange compact DAG vertices (840 B), 1.0 Hz HashRand-PQ coin shares (1,638–2,785 B avg), and 1.0 Hz MomentumPQQC votes directly over N - 1 authenticated X25519MLKEM768 streams with zero multi-hop GossipSub vertex forwarding—locking Pillar DAG+Coin TX at 5.32–6.37 Mbps (5 Hz default) (6.88–7.93 Mbps steady w/ QC + batch, 7.57–9.27 Mbps during AVID-FP replenishment)!
  2. Native vs. Coded Possession Mode (H08 fix): Normal L1 WorkerBatchProto blocks (<= 7.9 Mbps max burst) use NATIVE_FULL possession (0 44.6 KiB CustodyCert overhead), while CustodyCertProto (M_slots = 100, FN-DSA-512) is reserved strictly for >= 1 MiB DA_BATCHED Zeno rollup blobs and 60 s ManifestV1 cold archival segments!
  3. Sentinel Custody Economics & Objective Slashing (M08 fix): 5,000 ZNN + 50,000 QSR bond, protocol epoch custody rewards + znnPerMiBDaBlob DA fees, and 50% objective slashing on conflicting 2D AVID root signatures.

1. Separating Transport (T), Native Possession (A_L1), and Coded DA / Retention (R) (H08 Fix)​

PlaneScope in ZNN-SPEC-PHASE1-v4Wire & Security Invariant (H08 + R4-05 Reconciled)
T — Direct 1-Hop Validator Mesh + D1 Sentinel IngressValidators (N <= 100) unicast DAG vertices directly (1-hop, 0 re-gossip M01); Sentinels (~200 Mbps) pre-verify & push WorkerBatchProtos (10% D0 direct Pillar quota reserved).Zero Consensus Trust (SSEL-02): Sentinels cannot vote, finalize, or censor; Pillar control + batch plane stays <= 9.3 Mbps framed TX (5 Hz DAG + 1 Hz Coin + 1 Hz QC + AVID-FP).
A_L1 — NATIVE_FULL L1 Execution PossessionEvery Pillar holds and Stage-2 verifies 100% of raw L1 WorkerBatchProto bytes (<= 5.8 Mbps user + 2.1 Mbps ProofWitness) before strong-linking.0 CustodyCert Amplification on Small L1 Batches (H08): Pillars never attach a 44.6 KiB CustodyCertProto to a 10–64 KiB L1 batch!
R — Coded 2D AVID DA & ManifestV1 ArchivalUsed only for (a) DA_BATCHED Zeno rollup blobs (>= 1 MiB) and (b) 60 s ManifestV1 cold archival history segments (>= 4 MiB), certified by CustodyCertProto (~44.6 KiB = < 1.1–4.4% overhead).SHA3-256 row/column Merkle roots + GF(2^16) Reed-Solomon across M_slots = 100 equal slots (rank >= 67, 100% Post-Quantum).

2. Canonical go-libp2p Protocol Registry, PQ Peer Auth (M08) & Direct Mesh Math (M01 + R4-05)​

Reconciling ZDC-QS-DEEZ-HR-001 (M08), ZNN-SPEC-PHASE1-v4 explicitly separates transport confidentiality (KEM) from authenticated peer identity (Host Sig) and consensus message validity:

  1. Confidentiality (v1.1 Day 1): All streams negotiate X25519MLKEM768 via Go 1.27+ crypto/tls (CurvePreferences: []tls.CurveID{tls.X25519MLKEM768}), immediately closing Harvest-Now-Decrypt-Later (HNDL).
  2. Authenticated PQ Peer Identity (/znn/tls-pq/1.0.0, M08 Fix): Because upstream go-libp2p (v0.52.0) uses classical Ed25519/Secp256k1 libp2p-tls X.509 extensions and libp2p-noise (Noise_XX_25519), Phase 1A registers custom libp2p key type KeyType_MLDSA44 (algID = 0x01) inside a custom security transport /znn/tls-pq/1.0.0 binding the TLS 1.3 exporter key to the peer's ML-DSA-44 host key (CommitteeManifest binds each active Pillar's ML-DSA-44 transport peer.ID directly!). At Spork #14 (LegacyCryptoSunsetSpork), classical libp2p-noise and Ed25519 TLS fallback are disabled completely (0 downgrade path).
  3. Zero Consensus Trust in Transport Auth: Even if a transport session were ever MITM'd, consensus safety and liveness never rely on peer.ID—every DAG vertex (FN-DSA-512), QC vote (FN-DSA-512), WorkerBatchProto (ML-DSA-44/FN-DSA-512), and AccountBlock v2 carries its own independent domain-separated PQ signature!
/znn/dag/vertex/v2 // Direct 1-hop validator unicast ONLY (0 GossipSub forwarding! M01)
/znn/dag/map/v2 // Equivocation-only unicast GET_MAP / MAP_REPLY (34B/entry, Class 0 H16)
/znn/dag/qc/v2 // 1 Hz post-execution MomentumPQQC partial signature broadcast (0.65 Mbps H09)
/znn/dag/avss/v4 // Background HashRand-PQ AVID-FP + 1-hop share replenishment (0.69-1.34 Mbps R4-05)
/znn/dag/batch/v2 // Authenticated L1 WorkerBatchProto chunks (D1 Sentinel & D0 Pillar)
/znn/archive/manifest/v2 // Content-addressed 2D AVID ManifestV1 cold segments & Zeno DA blobs
  • DAG Vertex Direct 1-Hop Unicast (99 peers × 840 B):
    • Default 5 Hz round pace (1.0 s non-overlapping stride = 5 Profile C-AS wave / ~600 ms Profile B): 99 × 5 × 840 B × 8 × 1.15 = 3.825 Mbps TX / 3.825 Mbps RX.
    • High-tempo 10 Hz round pace (500 ms stride = 5 wave / ~350 ms Profile B): 99 × 10 × 840 B × 8 × 1.15 = 7.651 Mbps TX / 7.651 Mbps RX.
    • Pure-SHA3-256 HashRand-PQ Online Coin Reveal (stride = 5 -> 1 round in 5 = 1.0 Hz at 5 Hz, R4-05): Average Pillar (c_j = 2.56 shares, K_d = 20..34 agreed dealers -> 1,638–2,785 B) adds +1.49 – 2.54 Mbps at 5 Hz (+2.98 – 5.08 Mbps at 10 Hz).
  • 1 Hz MomentumPQQC Partial Vote Broadcast (99 peers × 710 B): 0.647 Mbps TX / 0.647 Mbps RX.
  • L1 WorkerBatchProto Origin Share (1/100th of 7.9 Mbps max burst across 99 peers): ~0.91 Mbps TX / 7.90 Mbps RX.
  • Background HashRand-PQ AVID-FP + 1-Hop Dealing (256 s bank window, R4-05): 0.69 – 1.34 Mbps TX / 0.73 – 1.23 Mbps RX.
  • Total Sovereign Pi 5 Validator TX (N = 100, 5 Hz Profile C-AS): 6.88 – 7.93 Mbps steady (5.32–6.37 DAG+Coin + 0.65 QC + 0.91 batch) / 7.57 – 9.27 Mbps during background AVID-FP replenishment—leaving > 15.7 Mbps (> 62%) headroom below the 25 Mbps residential uplink limit!

WorkerBatchProto With Summary Binding (PQ-10 + R4-07)​

syntax = "proto3";
package znn.dag.v2;

message BlockSummaryProto {
bytes address = 1; // 20B: AccountBlock.Address (0x00, 0x01, or 0x02)
uint64 height = 2; // 8B: AccountBlock.Height
bytes block_hash = 3; // 32B: AccountBlock.Hash (exact 306B SHA3-256 preimage)
uint32 flags = 4; // bit 0: IsSend, bit 1: ToEmbedded, bit 2: HasProofWitness
bytes from_block_hash = 5; // 32B iff IsReceive, else empty
uint64 priority_ratio = 6; // Quantized DynamicPlasma priority (includes WitnessPlasma)
}

message WorkerBatchProto {
uint32 version = 1; // 2 (Zenon Phase 1 PQ v4)
uint64 chain_identifier = 2;
uint64 epoch = 3;
bytes assembler_address = 4; // 20B Sentinel or Pillar origin
uint64 reservation_nonce = 5; // Bound to §4 Canonical Credit Ticket
repeated bytes raw_blocks = 6;// Canonical AccountBlockProto v2 bytes (<= 1,048,576 B batch cap)
bytes batch_digest = 7; // SHA3-256("ZNN/batch/v2" || chain_id || epoch || assembler || nonce || blocks_root || summaries_root)
bytes pq_signature_wire = 8; // [algID] || RawSig (0x01 ML-DSA-44 = 2,421B or 0x02 FN-DSA-512 = 667B)
}

3. Verifiable Coded Custody & Sentinel Operator Economics (C09, C10, M08 Fix)​

  1. Equal-Slot 2D AVID Custody (M_slots = 100):
    • Large DA_BATCHED Zeno blobs (>= 1 MiB) and 60 s ManifestV1 cold archival segments (>= 4 MiB) are GF(2^16) Reed-Solomon encoded across M_slots = 100 equal storage slots (SHA3-256 row roots R_1..R_{n_r} and column roots C_1..C_{n_c}).
    • Custodians re-encode their assigned row & column before signing CustodyCertProto (FN-DSA-512 666 B × >= 67 slots = ~44.6 KiB, ctx = "zenon-avid:v2").
  2. Sentinel Incentives, Collateral & Objective Slashing (M08 Fix):
    • Collateral Bond (SentinelContract): Operators lock 5,000 ZNN + 50,000 QSR (>= 30-day unbonding delay aligned with Joint-Epoch Freeze) and register a dedicated FN-DSA-512 (0x02) slot public key.
    • Dual Revenue Stream:
      1. Epoch Archival Rewards: Existing protocol Sentinel emission pool is distributed strictly pro-rata to verified slot signatures inside committed ManifestV1 archival CustodyCertProtos (requiring >= 80% segment participation in Epoch E to qualify).
      2. Zeno DA_BATCHED Blob Custody Fees: Sequencers submitting DA_BATCHED batches pay znnPerMiBDaBlob in SettlementContract (#13): 30% is burned and 70% is credited directly to the signing CustodyCertProto slot operators!
    • Objective Slashing & Slot Eviction:
      • Equivocation (SlashCustodyEquivocation): Submitting two valid FN-DSA-512 slot signatures by the same slot custodian over distinct (row_root, col_root) commitments for the same (epoch, blob_id) burns 50% (2,500 ZNN) of the Sentinel bond, pays 10% (500 ZNN) to the proof submitter, and immediately evicts the slot.
      • Retrieval / Liveness Audits: Custodians failing >= 20% of ManifestV1 certifications in an epoch forfeit 100% of epoch Sentinel rewards and rotate out of M_slots at E + 1.

4. Progressive Censorship-Free Routing (H07) & 25 Mbps Root Shaper (H12)​

  1. Progressive Non-Exclusive Routing: t = 0 ms -> HomePillar(Address, E); t = 250 ms -> Rank_2..Rank_5; t = 600 ms -> direct D0 Bypass to >= 34 Pillars inside the mandatory 10% D0 admission quota.
  2. Node-Wide Sliding-Window Shaper: internal/protocol/budget.go enforces 25 Mbps TX / 100 Mbps RX (<= 15 Mbps control plane; 2–6 Mbps protected Class 0 recovery floor) and five-state byte credits (B_reserved + B_certified <= W_avail), capping Sovereign Pi 5 RSS at <= 6.5 GB.