Twin Turbo Consensus
How Paxeer's consensus stack combines Twin Turbo pipelining with machineRFT negative attestations to achieve sub-second deterministic finality.
Two layers, one consensus stack
Paxeer's consensus is a two-layer stack. Twin Turbo provides the pipelined BFT engine that overlaps proposal, voting, and execution phases. machineRFT layers on top with a negative-attestation model that transforms consensus from a state-verification problem into a pure ordering problem.
Together, they deliver ~250ms average block time, a 0.45ms record low, 5,000 TPS, and instant deterministic finality with zero reorgs.
Layer 1: Twin Turbo (pipelined BFT)
Twin Turbo is an aggressively optimized CometBFT engine. It achieves sub-second block times through deep pipelining of the standard BFT flow.
What Twin Turbo does
Traditional CometBFT proceeds through propose, prevote, precommit, and commit sequentially for each block. Twin Turbo overlaps these phases:
-
Aggressive timeout tuning - configuration overrides (
UnsafeProposeTimeoutOverride,UnsafeCommitTimeoutOverride) enforce much shorter durations for each BFT round. Faster gossip propagation reduces inter-validator communication latency. -
Pre-consensus transaction preparation - before a block proposal arrives for height
H, validators are already collecting transactions, decoding them concurrently (DecodeTransactionsConcurrently), analyzing state dependencies (GenerateEstimatedWritesets), and pre-fetching data from SeiDB. -
Optimistic parallel execution - when a validator receives a proposal for height
H, it dispatches transactions to the parallelization engine immediately, running execution concurrently with prevote/precommit voting. State changes are buffered viaCacheMultiStoreuntil consensus is reached. -
Rapid commit - because execution overlaps with voting, the gap between achieving 2/3+ precommits and having state changes ready for commit is near-zero.
(Consensus reached) → Finalize state and commit to SeiDB
Layer 2: machineRFT (negative attestation)
Twin Turbo makes the pipeline fast. machineRFT changes what validators agree on.
The problem with positive attestation
Every major BFT protocol (PBFT, Tendermint, HotStuff) uses a positive attestation model: validators execute transactions, verify state transitions, and vote to commit. Execution is on the consensus critical path, which prevents sub-second finality.
machineRFT inverts the model
machineRFT uses negative attestation. Instead of voting on what did happen, validators agree on what did not happen:
- Order without executing - the consensus critical path handles pure transaction ordering, not state verification.
- Sign negative attestations - validators cryptographically attest they have not observed conflicting transactions for the same state keys.
- Execute after consensus - state transitions happen after the block is committed, not during the voting phase.
- Enforce via fraud proofs - validators who sign false negative attestations are slashed through a post-consensus fraud-proof mechanism.
This reduces the consensus critical path from network latency + full transaction execution to network latency + ed25519 signing operations.
Theoretical foundation
The SOSP 2003 paper "Separating Agreement from Execution for Byzantine Fault Tolerant Services" (Yin et al.) proved that separating agreement from execution improves fault tolerance: 3f+1 replicas for agreement, but only 2f+1 for execution. Tendermint's thesis later formalized this through TMSP. machineRFT takes this to its logical conclusion.
How the layers compose
| Component | Role | What it optimizes |
|---|---|---|
| Twin Turbo | Pipelined BFT engine | Overlaps proposal, voting, and execution phases |
| machineRFT | Negative attestation layer | Removes execution from the consensus critical path |
| Parallelization engine | Concurrent TX execution | Processes non-conflicting transactions in parallel |
| SeiDB | Storage layer | High-throughput state reads/writes |
Twin Turbo makes the pipeline fast. machineRFT makes the consensus decision a pure ordering problem. The parallelization engine handles execution concurrently. SeiDB provides storage throughput.
Performance
| Metric | Value |
|---|---|
| Average block time | ~250ms |
| Record sustained low | 0.45ms |
| Peak throughput | 5,000 TPS |
| Finality | Deterministic (instant) |
| Reorgs | Zero |
| Consensus path | Network RTT + ed25519 signing |
What this means for developers
- No confirmation delays - a confirmed transaction is final.
- Predictable latency - the consensus path is bounded by network propagation, not computation.
- M2M-ready - designed for high-frequency automated transactions from autonomous agents.
- Standard EVM - the consensus stack is transparent to smart contract developers.