Introduction
Traditional blockchains like Bitcoin rely on a linear chain of blocks, which creates a significant performance bottleneck. When multiple blocks are generated concurrently, the network must discard all but one to maintain a single chain, leading to wasted computational work and slow transaction confirmation. To avoid high fork rates, these systems intentionally limit block generation speed, resulting in low throughput (e.g., ~7 TPS for Bitcoin). Conflux addresses this by introducing a Directed Acyclic Graph (DAG)-based consensus protocol that processes concurrent blocks optimistically rather than discarding them as wasted forks.
The Conflux Protocol: DAG-based Consensus
Conflux replaces the linear chain with a DAG structure to incorporate concurrent blocks safely. It utilizes two types of links to organize the ledger:
- Parent Edges: Each block points to a single parent, forming a "parental tree." Conflux identifies a secure pivot chain within this tree using a modified GHOST rule (selecting the heaviest subtree).
- Reference Edges: Blocks also include reference links to all other known blocks that are not yet reachable via parent edges. This establishes a "happens-before" relationship across the entire DAG.
The protocol uses the pivot chain to divide the DAG into epochs. Blocks within each epoch are topologically sorted based on reference edges, creating a deterministic global order for all transactions. If conflicting transactions appear (e.g., double-spends), the system executes the first one in the sequence and discards the rest.
Node Architecture and Optimistic Processing
Conflux nodes operate by optimistically packing transactions into blocks without waiting for global consensus on ordering. This "lazy reconciliation" approach shifts the consensus bottleneck away from the protocol itself and toward physical hardware limits.
As shown in the architecture, nodes maintain a local Transaction Pool and a DAG State. The Block Generator packs transactions and broadcasts new blocks via a Gossip Network. Upon receiving blocks, nodes update their local DAG and re-calculate the transaction order based on the updated pivot chain and reference edges.
Performance and Scalability
The system was evaluated using a prototype deployed on Amazon EC2 with up to 20,000 nodes, simulating realistic global network latency by assigning VMs to 20 major cities.
- Massive Throughput: Conflux achieved a throughput of up to 6,400 TPS (under a 40Mbps bandwidth limit), outperforming Bitcoin and GHOST by over 11x under identical network conditions.
- Fast Confirmations: Despite the high throughput, Conflux achieves high-confidence transaction irreversibility in just 4.5 to 7.4 minutes.
- High Scalability: The protocol scales gracefully; even at 20,000 full nodes, the network diameter remains manageable and confirmation times stay under 11 minutes.
Limitations and Future Work
While Conflux significantly improves throughput, it pushes the bottleneck to the network layer. Nodes with poor internet connections or low bandwidth may struggle to keep up with the rapid propagation of the DAG. Additionally, the current work focuses on the consensus mechanism; the authors leave the design of compatible economic incentive models and the optimization of complex, state-dependent smart contracts for future research.
Summary updated