Layer 1: Direct 1-Hop Validator Mesh, Sentinel D1 Sidecar, 2D AVID Economics & 25 Mbps Shaper
60-Second TL;DR (
ZNN-SPEC-PHASE1-v4): ReconcilesZDC-ZP1-HR-001(M01, H08, M08) and Round-4HashRand-PQ+stride = 5bandwidth accounting (R4-05):
- Direct
1-HopPoint-to-Point Validator Mesh (M01+R4-05fix): Active Pillars (N <= 100) exchange compact DAG vertices (840 B),1.0 HzHashRand-PQcoin shares (1,638–2,785 Bavg), and1.0 HzMomentumPQQCvotes directly overN - 1authenticatedX25519MLKEM768streams with zero multi-hop GossipSub vertex forwarding—locking Pillar DAG+Coin TX at5.32–6.37 Mbps(5 Hzdefault) (6.88–7.93 Mbpssteady w/ QC + batch,7.57–9.27 MbpsduringAVID-FPreplenishment)!- Native vs. Coded Possession Mode (
H08fix): Normal L1WorkerBatchProtoblocks (<= 7.9 Mbpsmax burst) useNATIVE_FULLpossession (044.6 KiBCustodyCertoverhead), whileCustodyCertProto(M_slots = 100,FN-DSA-512) is reserved strictly for>= 1 MiBDA_BATCHEDZenorollup blobs and60 sManifestV1cold archival segments!- Sentinel Custody Economics & Objective Slashing (
M08fix):5,000 ZNN + 50,000 QSRbond, protocol epoch custody rewards +znnPerMiBDaBlobDA fees, and50%objective slashing on conflicting2D AVIDroot signatures.
1. Separating Transport (T), Native Possession (A_L1), and Coded DA / Retention (R) (H08 Fix)
| Plane | Scope in ZNN-SPEC-PHASE1-v4 | Wire & Security Invariant (H08 + R4-05 Reconciled) |
|---|---|---|
T — Direct 1-Hop Validator Mesh + D1 Sentinel Ingress | Validators (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 Possession | Every 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 Archival | Used 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:
- Confidentiality (
v1.1Day 1): All streams negotiateX25519MLKEM768via Go 1.27+crypto/tls(CurvePreferences: []tls.CurveID{tls.X25519MLKEM768}), immediately closing Harvest-Now-Decrypt-Later (HNDL). - Authenticated PQ Peer Identity (
/znn/tls-pq/1.0.0,M08Fix): Because upstreamgo-libp2p(v0.52.0) uses classicalEd25519/Secp256k1libp2p-tlsX.509 extensions andlibp2p-noise(Noise_XX_25519), Phase 1A registers customlibp2pkey typeKeyType_MLDSA44(algID = 0x01) inside a custom security transport/znn/tls-pq/1.0.0binding the TLS 1.3 exporter key to the peer'sML-DSA-44host key (CommitteeManifestbinds each active Pillar'sML-DSA-44transportpeer.IDdirectly!). AtSpork #14(LegacyCryptoSunsetSpork), classicallibp2p-noiseandEd25519TLS fallback are disabled completely (0downgrade path). - 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), andAccountBlock v2carries 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
Sovereign Raspberry Pi 5 Validator Uplink Budget (N = 100, 1.15x QUIC/Yamux Framing M01 + R4-05)
- DAG Vertex Direct
1-HopUnicast (99peers ×840 B):- Default
5 Hzround pace (1.0 snon-overlappingstride = 5Profile C-ASwave /~600 msProfile B):99 × 5 × 840 B × 8 × 1.15 = 3.825 MbpsTX /3.825 MbpsRX. - High-tempo
10 Hzround pace (500 msstride = 5wave /~350 msProfile B):99 × 10 × 840 B × 8 × 1.15 = 7.651 MbpsTX /7.651 MbpsRX. - Pure-
SHA3-256HashRand-PQOnline Coin Reveal (stride = 5->1round in5=1.0 Hzat5 Hz,R4-05): Average Pillar (c_j = 2.56shares,K_d = 20..34agreed dealers ->1,638–2,785 B) adds+1.49 – 2.54 Mbpsat5 Hz(+2.98 – 5.08 Mbpsat10 Hz).
- Default
1 HzMomentumPQQCPartial Vote Broadcast (99peers ×710 B):0.647 MbpsTX /0.647 MbpsRX.- L1
WorkerBatchProtoOrigin Share (1/100th of7.9 Mbpsmax burst across99peers):~0.91 MbpsTX /7.90 MbpsRX. - Background
HashRand-PQAVID-FP+1-HopDealing (256 sbank window,R4-05):0.69 – 1.34 MbpsTX /0.73 – 1.23 MbpsRX. - Total Sovereign Pi 5 Validator TX (
N = 100,5 HzProfile C-AS):6.88 – 7.93 Mbpssteady (5.32–6.37DAG+Coin +0.65QC +0.91batch) /7.57 – 9.27 Mbpsduring backgroundAVID-FPreplenishment—leaving> 15.7 Mbps(> 62%) headroom below the25 Mbpsresidential 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)
- Equal-Slot
2D AVIDCustody (M_slots = 100):- Large
DA_BATCHEDZenoblobs (>= 1 MiB) and60 sManifestV1cold archival segments (>= 4 MiB) areGF(2^16)Reed-Solomon encoded acrossM_slots = 100equal storage slots (SHA3-256row rootsR_1..R_{n_r}and column rootsC_1..C_{n_c}). - Custodians re-encode their assigned row & column before signing
CustodyCertProto(FN-DSA-512666 B×>= 67slots =~44.6 KiB,ctx = "zenon-avid:v2").
- Large
- Sentinel Incentives, Collateral & Objective Slashing (
M08Fix):- Collateral Bond (
SentinelContract): Operators lock5,000 ZNN + 50,000 QSR(>= 30-day unbonding delay aligned withJoint-Epoch Freeze) and register a dedicatedFN-DSA-512(0x02) slot public key. - Dual Revenue Stream:
- Epoch Archival Rewards: Existing protocol
Sentinelemission pool is distributed strictly pro-rata to verified slot signatures inside committedManifestV1archivalCustodyCertProtos (requiring>= 80%segment participation in EpochEto qualify). ZenoDA_BATCHEDBlob Custody Fees: Sequencers submittingDA_BATCHEDbatches payznnPerMiBDaBlobinSettlementContract (#13):30%is burned and70%is credited directly to the signingCustodyCertProtoslot operators!
- Epoch Archival Rewards: Existing protocol
- Objective Slashing & Slot Eviction:
- Equivocation (
SlashCustodyEquivocation): Submitting two validFN-DSA-512slot signatures by the same slot custodian over distinct(row_root, col_root)commitments for the same(epoch, blob_id)burns50%(2,500 ZNN) of the Sentinel bond, pays10%(500 ZNN) to the proof submitter, and immediately evicts the slot. - Retrieval / Liveness Audits: Custodians failing
>= 20%ofManifestV1certifications in an epoch forfeit 100% of epoch Sentinel rewards and rotate out ofM_slotsatE + 1.
- Equivocation (
- Collateral Bond (
4. Progressive Censorship-Free Routing (H07) & 25 Mbps Root Shaper (H12)
- Progressive Non-Exclusive Routing:
t = 0 ms->HomePillar(Address, E);t = 250 ms->Rank_2..Rank_5;t = 600 ms-> directD0Bypass to>= 34Pillars inside the mandatory10%D0admission quota. - Node-Wide Sliding-Window Shaper:
internal/protocol/budget.goenforces25 MbpsTX /100 MbpsRX (<= 15 Mbpscontrol plane;2–6 MbpsprotectedClass 0recovery floor) and five-state byte credits (B_reserved + B_certified <= W_avail), capping Sovereign Pi 5 RSS at<= 6.5 GB.