Skip to content
CCPEDIAby Unity Nodes
Incoming#224 Pull request

Proposal: Bipartite Supervalidator Architecture

Opened 16-04-2026 by elliottdehn, last activity 28d ago

  1. Incoming188 days so far16-04-2026
  2. Needs Championnot reached
  3. In Reviewnot reached
  4. Ready for Votenot reached
  5. Voting Livenot reached
  6. Approvednot reached
Waiting on
Nobody has picked it up
idle 188 days
Champion named in file
need Champion
Discussion
0 messages
0 people

Development Fund Proposal Submission

Proposal file: /proposals/bipartite-supervalidator-architecture.md


Summary

This proposal separates CPU-bound cryptographic operations (ECIES view encryption/decryption, Speedy reinterpretation) from IO-bound state management (BFT consensus, sequencer DB writes, ACS updates) into two independently scalable machine classes. A proof-of-concept using Canton's actual crypto primitives demonstrates 4x throughput improvement and 7x latency reduction at 32 concurrent transactions. The architecture is backward-compatible and opt-in — existing Daml applications require no changes.


Checklist

  • Proposal file added under /proposals/
  • Milestones and funding amounts defined
  • Acceptance criteria included
  • Alignment with Canton priorities described

Notes for Reviewers

  • This work is complementary to the ISS-based BFT ordering grant (approved 2026-03-23). Once ordering scales to 2500+ TPS, per-node ECIES encryption becomes the next binding throughput constraint. This proposal addresses that.
  • The PoC benchmark source code is available in the CIPs repo under bipartite-poc/. It uses real JDK 21 crypto (ECDH P-256, AES-256-GCM, Ed25519) and real PostgreSQL writes — not simulated delays.
  • The key architectural insight: ECIES encryption for Canton's sub-transaction privacy model is stateless (needs only read access to packages, contracts, topology) but consumes 35-43% of per-transaction CPU. Separating it from stateful DB/consensus work allows each to scale along its natural axis.
  • Funding request: 3,500,000 CC across 5 milestones over ~24 weeks.

Milestones 5

  1. Design & Proof of Concept Validation6 weeks from grant approval
  2. Core Implementation — A Node (Crypto Engine)10 weeks from grant approval
  3. Core Implementation — B Node (State Coordinator) + Integration16 weeks from grant approval
  4. Production Hardening & Documentation20 weeks from grant approval
  5. Deployment on Global Synchronizer TestNet24 weeks from grant approval