arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.08429cs.DCcs.NI
收藏

软核区块链的正确性和公平性

Correctness and Fairness of Tendermint-core Blockchains

Yackolley Amoussou-Guenou, Antonella Del Pozzo, Maria Potop-Butucaru, Sara Tucci-Piergiovanni

摘要:

Tendermint-core区块链(例如Cosmos)被认为是当今高能耗工作量证明区块链(如比特币和以太坊)的最可行的替代品之一。它们的特殊性在于,它们旨在在开放系统中提供强一致性(无分叉),该系统结合了两种成分:(i)一组验证器,通过实用拜占庭容错(PBFT)共识协议的变体生成块;(ii)选择策略,通过权益证明机制动态选择节点作为下一个块的验证器。然而,Tendermint底层算法正确的系统模型的确切假设和Tendermint验证的确切属性从未被正式分析过。本文的贡献是双重的。首先,在形式化Tendermint算法的同时,我们精确地描述了系统模型和Tendermint解决的确切问题。我们证明了在最终的同步系统中,Tendermint的修改版本解决了(i)在额外的假设下,一个单一块的验证的一次共识的变体和(ii)多个块的重复共识问题的变体。即使验证器集被拜占庭失败击中,这些结果仍然有效,前提是对于每个一次性共识实例,少于三分之一的验证器是拜占庭的。我们的第二个贡献涉及奖励机制的公平性。众所周知,在无需许可的区块链系统中,主要威胁是公地悲剧,如果奖励机制不充分,可能会导致系统崩溃。奖励机制至少必须公平,即按参与者的成绩按比例分配奖励。我们首次在区块链系统中证明,在基于重复共识的区块链中,当且仅当系统(最终)同步时,存在(最终)公平的奖励机制。我们还表明,原来的Tendermint奖励是不公平的,然而,修改原来的协议,使其最终公平。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑