[Paper Review] A Fair and Resilient Decentralized Clock Network for Transaction Ordering
This paper proposes the Decentralized Clock Network (DCN), a permissioned Byzantine agreement protocol that assigns fair timestamps to transactions using median-based consensus, ensuring fair ordering resistant to front-running. It achieves ⌈f/2⌉-Median Fairness under synchrony and f-Median Fairness under asynchrony, providing optimal fairness guarantees while decoupling timestamping from blockchain consensus for lower latency and simpler design.
Traditional blockchain design gives miners or validators full control over transaction ordering, i.e., they can freely choose which transactions to include or exclude, as well as in which order. While not an issue initially, the emergence of decentralized finance has introduced new transaction order dependencies allowing parties in control of the ordering to make a profit by front-running others' transactions. In this work, we present the Decentralized Clock Network, a new approach for achieving fair transaction ordering. Users submit their transactions to the network's clocks, which run an agreement protocol that provides each transaction with a timestamp of receipt which is then used to define the transactions' order. By separating agreement from ordering, our protocol is efficient and has a simpler design compared to other available solutions. Moreover, our protocol brings to the blockchain world the paradigm of asynchronous fallback, where the algorithm operates with stronger fairness guarantees during periods of synchronous use, switching to an asynchronous mode only during times of increased network delay.
Motivation & Objective
- To address the problem of front-running in DeFi, where miners or validators profit from manipulating transaction order.
- To design a decentralized, Byzantine-resilient system that ensures fair transaction ordering without relying on blockchain consensus for ordering.
- To provide strong fairness guarantees under both synchronous and asynchronous network conditions, with a novel fallback mechanism.
- To decouple timestamping from transaction ordering, reducing consensus complexity and improving system efficiency.
- To prevent tolerant front-running by ensuring transaction contents remain hidden until a timestamp is cryptographically agreed upon.
Proposed method
- The DCN uses a network of n nodes, resilient to f < n/3 Byzantine failures, to reach agreement on a timestamp for each transaction via a novel Byzantine agreement protocol.
- Timestamps are computed based on the median of honest nodes’ receipt times, with a δ-error parameter to quantify closeness to the true median.
- The protocol operates under an asynchronous model by default but improves fairness guarantees when network conditions become synchronous.
- Cryptographic primitives ensure that transaction contents are not visible to nodes before a timestamp is agreed upon, preventing pre-emptive manipulation.
- The system decouples timestamping from blockchain consensus: validators use DCN timestamps to order transactions, preserving the original blockchain’s consensus mechanism.
- The protocol introduces a new fairness metric, δ-Median Fairness, which quantifies how close the agreed timestamp is to the median of honest receipt times.
Experimental results
Research questions
- RQ1Can a decentralized system achieve fair transaction ordering under both synchronous and asynchronous network conditions without relying on blockchain consensus for ordering?
- RQ2What fairness guarantees can be achieved when network delays are unpredictable, and how do they compare to existing models?
- RQ3How can a system prevent front-running attacks while maintaining low latency and Byzantine resilience?
- RQ4Can a median-based timestamping protocol be made robust against manipulation by Byzantine nodes?
- RQ5What is the optimal fairness bound achievable in asynchronous and synchronous settings, and can it be achieved without compromising efficiency?
Key findings
- The DCN achieves ⌈f/2⌉-Median Fairness under synchronous network conditions, which is optimal and stronger than previous fairness models.
- In asynchronous conditions, the protocol guarantees f-Median Fairness, which matches the best-known bound for such settings and coincides with Honest-Range Fairness in the worst case.
- The protocol is resilient to f < n/3 Byzantine failures and ensures that all honest nodes agree on a timestamp that is close to the median of honest receipt times.
- By hiding transaction contents until a timestamp is agreed upon, the system prevents pre-emptive front-running attacks.
- The decoupling of timestamping from consensus reduces system complexity and enables lower-latency transaction ordering.
- The system is compatible with existing permissionless blockchains and can be integrated without reducing censorship resistance or decentralization of the consensus layer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.