arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.05523cs.CRcs.DC
收藏

Coq中Algorand共识协议的验证模型

Towards a Verified Model of the Algorand Consensus Protocol in Coq

Musab A. Alturki, Jing Chen, Victor Luchangco, Brandon Moore, Karl Palmskog, Lucas Peña, Grigore Roşu

摘要:

Algorand区块链是一个安全和分散的公共账本,基于纯粹的权益证明而不是工作证明。它的核心是一种新的共识协议,每轮只有一个区块得到认证:也就是说,该协议保证区块链不会分叉。在本文中,我们报告了我们的努力,模型和形式化验证的Algorand共识协议的Coq证明助手。类似于以前的共识协议验证工作,我们建模的协议作为一个状态转换系统和原因可达的全局状态。然而,与以前的工作相比,我们的模型明确地包含了时间问题(例如,超时和网络延迟)和对抗性行为,反映了公共区块链面临的更现实的环境。到目前为止,我们已经证明了协议的异步安全性:即使对手完全控制了网络中的消息传递,也不能在同一轮中验证两个不同的块。我们相信,我们的模型是足够的一般性和其他相关属性的协议,如活性可以证明相同的模型。

英文摘要:

The Algorand blockchain is a secure and decentralized public ledger based on pure proof of stake rather than proof of work. At its core it is a novel consensus protocol with exactly one block certified in each round: that is, the protocol guarantees that the blockchain does not fork. In this paper, we report on our effort to model and formally verify the Algorand consensus protocol in the Coq proof assistant. Similar to previous consensus protocol verification efforts, we model the protocol as a state transition system and reason over reachable global states. However, in contrast to previous work, our model explicitly incorporates timing issues (e.g., timeouts and network delays) and adversarial actions, reflecting a more realistic environment faced by a public blockchain. Thus far, we have proved asynchronous safety of the protocol: two different blocks cannot be certified in the same round, even when the adversary has complete control of message delivery in the network. We believe that our model is sufficiently general and other relevant properties of the protocol such as liveness can be proved for the same model.

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

↑