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

最优灵活共识及其在以太坊中的应用

Optimal Flexible Consensus and its Application to Ethereum

Joachim Neu, Srivatsan Sridhar, Lei Yang, David Tse

AI总结:

本文提出首个模块化构造,使每个客户端可同时实现最优安全性-活性权衡,并将其适配到以太坊协议中,推导出客户端可单方面采用的最优灵活确认规则。

摘要:

经典拜占庭容错(BFT)共识协议保证,如果少于三分之一的副本存在故障,则所有客户端的安全性和活性都能得到保障。然而,在高价值支付等应用中,一些客户端可能希望优先考虑安全性而非活性。灵活共识允许每个客户端选择更高的安全性弹性,尽管以降低活性弹性为代价。我们提出了首个能够同时为每个客户端实现最优安全性-活性权衡的构造。该构造是模块化的,并作为现有共识协议之上的附加组件实现。该附加组件由副本执行的一轮额外投票和永久锁定组成,以规避先前解决方案中存在的次优的基于法定人数交集的约束。我们将该构造适配到现有的以太坊协议中,推导出最优的灵活确认规则,客户端可以单方面采用这些规则,而无需进行系统范围的更改。这是可能的,因为现有的以太坊协议特性可以兼作额外的投票和锁定。我们展示了使用以太坊共识API的实现。

英文摘要:

Classic BFT consensus protocols guarantee safety and liveness for all clients if fewer than one-third of replicas are faulty. However, in applications such as high-value payments, some clients may want to prioritize safety over liveness. Flexible consensus allows each client to opt for a higher safety resilience, albeit at the expense of reduced liveness resilience. We present the first construction that allows optimal safety--liveness tradeoff for every client simultaneously. This construction is modular and is realized as an add-on applied on top of an existing consensus protocol. The add-on consists of an additional round of voting and permanent locking done by the replicas, to sidestep a sub-optimal quorum-intersection-based constraint present in previous solutions. We adapt our construction to the existing Ethereum protocol to derive optimal flexible confirmation rules that clients can adopt unilaterally without requiring system-wide changes. This is possible because existing Ethereum protocol features can double as the extra voting and locking. We demonstrate an implementation using Ethereum's consensus API.

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

↑