Zenon Phase 1 (ZNN-SPEC-PHASE1-v4)
For Humans & AI Coding Agents: Every chapter opens with a 60-second TL;DR, followed by byte-exact wire layouts, formal state-machine invariants, hardware/storage bounds, and qualification gates (
G1–G10+ZP-Q11–Q30) mapped against0x3639/go-zenon-v1,0x3639/zenon-rs,Zeno-L2, andsyrius.Iterative Hostile Review Tracking (
118Findings Across Rounds 1–4,v0 → v4): See Master Iteration History & Changelog, Round-2ZDC-ZP1-HR-001(37/37), Round-3ZDC-QS-DEEZ-HR-001(26/26), and Round-4v4-RC3+ Independent Crypto/Source Audit (14/14).Single-File LLM Ingestion:
/llms-full.txt(complete normativev4corpus) ·/llms.txt(structured index + raw.mdendpoints) ·go-zenon-v1PQ Validator Implementation Spec (ZNN-IMP-PQ-V1·v4).
60-Second Plain-English TL;DR
Alphanet (Phase 0, launched November 2021 on legacy zenon-network/go-zenon) proved Zenon's feeless dual-ledger account-chain model (Block-Lattice) and QSR Plasma / PoW anti-spam economics, while running on single-threaded goleveldb storage, legacy DevP2P RLPx networking, static Plasma limits, and a temporary 10-second single-leader DPoS chain secured by quantum-vulnerable elliptic curves (Ed25519 and secp256k1).
Zenon Phase 1 (ZNN-SPEC-PHASE1-v4) completes the 2020 Network of Momentum vision. Implementation begins independently at Phase 1.0 by upgrading mainnet from go-zenon to 0x3639/go-zenon-v1—unlocking multi-core pebble/v2 storage & 4-stage parallel sync (independently benchmarked under ZP-Q22), activating DynamicPlasmaSpork and Libp2pSpork, and preparing v1.1 (Go 1.27+ X25519MLKEM768 transport, uint64 SporkMask, 25/100 Mbps node shaper, and >= 85% active-stake spork readiness signaling).
Atop that qualified go-zenon-v1 foundation, five additive Spork stages (Phase 1A → 1E) deliver four unified architectural pillars:
- Pillar I — Post-Quantum Accounts,
BoundSigningDigest& Two-Lane Feeless Plasma (AccountBlock v2+O(1)-ExposurePoKoS): Upgrades user accounts to an algorithm-agile NIST post-quantum stack (0x01ML-DSA-44viaGo 1.27+stdlibcrypto/mldsa[E1],0x02FN-DSA-512pure-Gofn-dsa v0.3[E2], and0x03SLH-DSA-SHAKE-128spure Keccak) bound viaBoundSigningDigest(R4-01, eliminating0x81 <-> 0x00hybrid stripping and Path-C ransomware) while keepingtypes.Addressat 20 bytes (0x02z1q{2,f,g,t}...Bech32 +PrecommitKey), caching public keys inAccountStore[0x09](35.2%–57.4%witness savings) with sidecar[0x11]ProofWitnessstorage (R4-07), rotating lockedStake/Pillar/Sentinelkeys in place viaAuthRegistryContract(Embedded #14) underInclusionMomentumHeight(H_inc + 1) &179-bytePoP rules, and enabling Day-1Ed25519-PoKoSbacked by anO(1)legacy exposure resolver (R4-02, binding32BpubKey_Aat~2^126Grover on all exposed accounts). - Pillar II — Asynchronous Post-Quantum Meta-DAG Consensus (
Momentum-Mahistride = 5+ Pure-SHA3HashRand-PQ): Replaces 10-second single-leader slots (LegacyDposV1) with Non-Overlappingstride = 5Mahi-Mahi(Profile C-ASshipping default;SteelheadProfile Bgated onZP-Q11) over a direct1-hopvalidator mesh (3.83 Mbpsbase +1.49–2.54 Mbps1.0 Hzcoin =5.32–6.37 MbpsTX at5 Hz) behindZDC-MM-ER-01's 3-horizon adapter (1.0 sMomentum v4headers +qc_wal/znn/dag/qc/v2MomentumPQQC). UsesM_shares = 4,096 = 3 * 1,365 + 1voting shares (Q_vote = 2,731),FN-DSA-512(666 B) validator signatures, Pure-SHA3-256HashRand-PQ(M_coin = 256 = 3 * 85 + 1,2.03 MiBmatrix,AVID-FP0.69–1.34 Mbpsdealing,0lattice assumptionsR4-05),SunsetAnchorCheckpoint(<= MaxPreCRQCBitcoinHeight,R4-09), and30-day rolling Sovereign Pi 5 retention (<= 450 GBon1 TBNVMe). - Pillar III — Proof-First State &
ZenoExecution (Domain-Separatedsmt-v1+2^-128QROMWHIR-SHA3-v1STARKs): Commits a RFC-6962 domain-separated ([0x00]/[0x01])SHA3-256Sparse Merkle Tree (smt-v1,R4-07)StateRootin everyMomentum(1.2 KBproofs backed byEpochTerminalQClight-client chains) and anchors off-chainZenodomains (d_wasm,d_zvmEVM,d_accounts) inSettlementContract(Embedded #13). Eliminates bothBN254pairings andPoseidon2algebraic hashes on L1 by verifying pure-SHA3-256WHIR-SHA3-v1STARK proofs (57–86 KiBat full2^-128CMS19QROM security,<= 128 KiBcap,<= 8,000Keccak perms =<= 3.5 mson Pi 5 Cortex-A76R4-04). - Pillar IV — Trust-Minimized Bitcoin (
d_btc) & Adjudicated Edge Channels (ChannelContract #15): Mints feelesszBTCviaSHA-256dBitcoin SPV proven insided_btcPQ-STARKs, settles atomic multi-hop swaps over256-bit-entropySHA-256HTLCs / Lightning, classifiesFROSTandBitVM2(BN254+ Taproot[E3]) as pre-CRQC transitional vaults (with keyless covenants contingent on BitcoinBIP-360 P2MR+OP_CAT[E4]), and specifiesChannelContract(Embedded #15,z1qxemdeddedxchannelxxxxxxxxxxxxxxr7xsx2) with lockout-free in-CLOSINGClaimHTLC, hostage-freeFinalizeBasePayouts(R4-08), and a1,538 Bconstantfixed64wire vector.
Master Phase 0 → Phase 1 (v4) Comparison Matrix
| Architectural Dimension | Phase 0 Alphanet (zenon-network/go-zenon) | Zenon Phase 1 (0x3639/go-zenon-v1 · ZNN-SPEC-PHASE1-v4) |
|---|---|---|
Node Engine (Phase 1.0 Start) | Legacy Go + goleveldb, coarse locks, static Plasma, RLPx | go-zenon-v1 (Go 1.27+): pebble/v2, 4-stage parallel sync + DynamicPlasmaSpork + Libp2pSpork (X25519MLKEM768) (gate ZP-Q22) |
Consensus & Quorums (1B) | Single-leader 10s DPoS (30 block reorgs) | Mahi-Mahi (C-AS stride=5 default) + Steelhead (ZP-Q11) (M = 4,096 voting shares, Q = 2,731, 1.0 s Momentum v4 + qc_wal MomentumPQQC) |
Asynchronous Coin (1B) | Predictable height-seeded PRNG | Pure-SHA3-256 HashRand-PQ (M_coin = 256, T_coin = 86, 2.03 MiB matrix, AVID-FP 0.69–1.34 Mbps dealing, 0 lattice assumptions R4-05) |
User Crypto & Sunset (1A, 1E) | Classical Ed25519 & secp256k1 (0 PQ bits) | BoundSigningDigest (0x01 ML-DSA-44, 0x02 FN-DSA-512, 0x03 SLH-DSA-128s, 0x02 z1q{2,f,g,t}) + H_inc Sunset + O(1)-resolved PoKoS (R4-01..03) |
State & Bootstrap (1A, 1C, 1E) | Full-replay classical history | [0x00]/[0x01] smt-v1 StateRoot + SunsetAnchorCheckpoint (<= MaxPreCRQCBitcoinHeight) + 2^-128 QROM WHIR-SHA3-v1 (57–86 KiB, <= 8k Keccak perms R4-04, 07) |
| Sovereign Validator Floor | Unbounded history growth | Raspberry Pi 5 (4c, 8GB, 1 TB NVMe, 100/25 Mbps): 5.32–6.37 Mbps 5 Hz DAG+Coin TX, 16.4 MB/yr EpochTerminalQCs, <= 450 GB rolling NVMe |
Bitcoin & Edge (1D) | Centralized/TSS secp256k1 multisig | d_btc SPV STARK + 99B BTC checkpoints + SHA-256 HTLCs + transitional BitVM2 + ChannelContract (#15) (1,538 B wire, FinalizeBasePayouts R4-08) |