This is a long-term roadmap item for BitQuan's evolution.
Current Status: ON HOLD - waiting for:
Timeline: Earliest start date: 2027 Q4 (depends on prerequisites)
Prerequisites:
Contribute:
- Discuss design tradeoffs in comments
- Research similar implementations (Aptos Block-STM, Solana Sealevel, Sui parallel execution)
- Prototype proof-of-concepts in separate branch
- Write specs/RFCs for review
DO NOT: Start implementation yet - premature optimization kills projects.
Research Notes
Implementations to Study:
Open Questions:
- How to handle WASM contract calls in parallel?
- Aptos uses Move (deterministic by design)
- BitQuan uses WASM (needs sandboxing)
- Determinism testing strategy?
- Need CI infrastructure for multi-arch testing (x86_64, ARM64, different CPU counts)
- Dependency analysis for UTXO vs Account model?
- UTXO easier (explicit dependencies)
- Account model needs speculation
Potential Blockers:
- WASM VM not thread-safe - need instance pooling
- Reorg with parallel state - complex rollback logic
- Cost of re-execution if too many conflicts
- Non-determinism sources: thread scheduling, hashmap iteration, floating point
Success Criteria:
Contributors: Add links, papers, or ideas below
Original Task List
Goal: Transform the transaction execution model from sequential to concurrent, aiming for 50,000+ TPS using all available CPU cores.
Core Concept: Adopt Block-STM (Optimistic Concurrency Control) as the foundational model.
Tech Stack: Rust, Rayon, DashMap/ArcSwap
Task List (to break into separate issues):
- Refactor the main execution loop to use par_iter() (Rayon Parallel Iterator) instead of a standard for loop.
- Implement temporary MVCC (Multi-Version Concurrency Control) memory structure so each thread can read/write state without immediate conflicts.
- Build a Dependency Analyzer to detect transaction conflicts (e. g., multiple transfers to the same recipient in parallel).
- Implement logic to re-execute only conflicting transactions after the initial execution round.
- Write determinism test cases to ensure that 100 rounds on different hardware always yield the same block hash.
This is a long-term roadmap item for BitQuan's evolution.
Current Status: ON HOLD - waiting for:
Timeline: Earliest start date: 2027 Q4 (depends on prerequisites)
Prerequisites:
Contribute:
DO NOT: Start implementation yet - premature optimization kills projects.
Research Notes
Implementations to Study:
Open Questions:
Potential Blockers:
Success Criteria:
Contributors: Add links, papers, or ideas below
Original Task List
Goal: Transform the transaction execution model from sequential to concurrent, aiming for 50,000+ TPS using all available CPU cores.
Core Concept: Adopt Block-STM (Optimistic Concurrency Control) as the foundational model.
Tech Stack: Rust, Rayon, DashMap/ArcSwap
Task List (to break into separate issues):