[Paper Review] Correctness and Fairness of Tendermint-core Blockchains
This paper formally verifies the correctness and fairness of Tendermint-core blockchains, proving that a modified version of the protocol achieves one-shot and repeated consensus under eventual synchrony with fewer than 1/3 Byzantine validators. It establishes that a fair reward mechanism exists if and only if the system is eventually synchronous, and shows that the original Tendermint reward mechanism is not fair, but can be made eventually fair with refined timeouts and message content.
Tendermint-core blockchains (e.g. Cosmos) are considered today one of the most viable alternatives for the highly energy consuming proof-of-work blockchains such as Bitcoin and Ethereum. Their particularity is that they aim at offering strong consistency (no forks) in an open system combining two ingredients (i) a set of validators that generate blocks via a variant of Practical Byzantine Fault Tolerant (PBFT) consensus protocol and (ii) a selection strategy that dynamically selects nodes to be validators for the next block via a proof-of-stake mechanism. However,the exact assumptions on the system model under which Tendermint underlying algorithms are correct and the exact properties Tendermint verifies have never been formally analyzed. The contribution of this paper is two-fold. First, while formalizing Tendermint algorithms we precisely characterize the system model and the exact problem solved by Tendermint. We prove that in eventual synchronous systems a modified version of Tendermint solves (i) under additional assumptions, a variant of one-shot consensus for the validation of one single block and (ii) a variant of the repeated consensus problem for multiple blocks. These results hold even if the set of validators is hit by Byzantine failures, provided that for each one-shot consensus instance less than one third of the validators is Byzantine. Our second contribution relates to the fairness of the rewarding mechanism. It is common knowledge that in permisionless blockchain systems the main threat is the tragedy of commons that may yield the system to collapse if the rewarding mechanism is not adequate. Ad minimum the rewarding mechanism must be fair, i.e.distributing the rewards in proportion to the merit of participants. We prove, for the first time in blockchain systems, that in repeated-consensus based blockchains there exists an (eventual) fair rewarding mechanism if and only if the system is (eventual) synchronous. We also show that the original Tendermint rewarding is not fair, however, a modification of the original protocol makes it eventually fair.
Motivation & Objective
- To formally analyze the correctness of the Tendermint-core consensus protocol under realistic system assumptions.
- To identify and fix subtle bugs in the original Tendermint protocol that compromise consensus safety and liveness.
- To define and prove fairness of the reward mechanism in repeated-consensus blockchains based on validator merit.
- To establish the necessary and sufficient conditions for the existence of an eventually fair reward mechanism in blockchain systems.
- To bridge the gap between practical blockchain implementations and formal distributed systems theory.
Proposed method
- Formal modeling of the Tendermint-core protocol using a distributed systems framework with eventual synchrony assumptions.
- Introduction of a refined timeout mechanism to correct liveness issues in the original protocol.
- Definition of a merit-based reward mechanism where validators are rewarded proportionally to their correct participation and message delivery.
- Proof of consensus termination and validity under the condition that fewer than 1/3 of validators are Byzantine.
- Use of a modified consensus model where commit messages include distinguishing information to identify correct vs. Byzantine processes.
- Double implication proof to establish that an eventual fair reward mechanism exists iff the system is eventually synchronous.
Experimental results
Research questions
- RQ1Under what system assumptions does the original Tendermint protocol achieve consensus correctness?
- RQ2Can the original Tendermint protocol be formally corrected to ensure liveness and safety in the presence of Byzantine validators?
- RQ3What conditions are necessary and sufficient for a reward mechanism in repeated-consensus blockchains to be considered fair?
- RQ4Is fairness of rewards in Tendermint-core blockchains possible in asynchronous systems?
- RQ5Can the original Tendermint reward mechanism be modified to achieve eventual fairness?
Key findings
- A modified version of the Tendermint protocol achieves one-shot and repeated consensus in eventual synchronous systems, provided that fewer than one-third of validators are Byzantine.
- The original Tendermint protocol is not correct under standard assumptions due to liveness bugs, but can be fixed with a refined timeout mechanism.
- A fair reward mechanism in repeated-consensus blockchains exists if and only if the system is eventually synchronous or synchronous.
- The original Tendermint reward mechanism is not fair, even in eventually synchronous systems, due to incomplete message visibility during synchronization.
- An improved reward mechanism—based on receiving more than 2n/3 messages and proper timeout tuning—can achieve eventual fairness in eventually synchronous systems.
- In asynchronous systems, no (eventual) fair reward mechanism exists, even if all validators are correct, proving a fundamental limitation of fairness in such environments.
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.