/ components / runtime / R003-parallel_consensus.component.cspec
R003-parallel_consensus.component.cspec
 1  # R003-parallel_consensus.component.cspec
 2  
 3  metadata:
 4    id: R003
 5    name: parallel_consensus
 6    version: 1.1.0
 7    domain: runtime
 8    stability: high_change
 9    updated: 2026-01-15
10    cascade_priority: 40
11    roles:
12      primary: [Dev, Arch]
13      review: []
14    expertise:
15      required: [consensus, architecture]
16      helpful: [distributed_systems]
17    context_tags: [parallel, consensus, alpha_rounds, delta_rounds, independent]
18  
19  dependencies:
20    upstream: [R001, R002]
21    downstream: [R004, R005]
22  
23  interface:
24    types_ref: _registry/types.cspec
25    types:
26      ALPHA: privacy_chain, vm:alphavm, state:record_sparse_merkle, program:credits.alpha_only, block:15s, port_p2p:4130, port_api:3030
27      DELTA: exchange_chain, vm:deltavm, state:account_based, programs:full_vm, block:3s, port_p2p:4131, port_api:4030
28    functions:
29      alpha_consensus_round: independent ALPHA block production
30      delta_consensus_round: independent DELTA block production
31      sync_epoch_boundary: validator set synchronization
32    events:
33      - alpha_block_finalized
34      - delta_block_finalized
35      - epoch_boundary_reached
36      - sax_lock_attested
37      - governance_executed
38  
39  spec:
40    independence: alpha_and_delta_run_separate_rounds
41  
42    timing_example:
43      alpha: |--B1--|--B2--|--B3--|--B4--|  (15s each)
44      delta: |1|2|3|4|5|6|7|8|9|...|20|    (3s each)
45      ratio: 5_delta_per_alpha
46  
47    rationale:
48      - different_throughput_requirements
49      - independent_failure_domains
50      - chain_specific_optimizations
51      - simpler_reasoning
52  
53    coordination_points:
54      - sax_lock_unlock: attestation_required
55      - joint_governance: platform_wide_software_changes -> both_chains_attest
56      - epoch_boundaries: validator_set_synchronized
57      # Note: Alpha-specific governance (GID, config) is Alpha-only
58      # Note: Delta-specific governance (fees, markets) is Delta-only
59  
60  changelog:
61    - version: 1.1.0
62      date: 2026-01-15
63      type: fix
64      description: "Clarified cross-chain governance: only joint (platform-wide) changes require both chains"
65      breaking: false
66  
67    - version: 1.0.0
68      date: 2026-01-07
69      type: initial
70      description: "Migrated from consensus.cspec"
71      breaking: false