arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2010.07031cs.DCcs.LO
收藏

Tendermint轻客户端

A Tendermint Light Client

Sean Braithwaite, Ethan Buchman, Ismail Khoffi, Igor Konnov, Zarko Milosevic, Romain Ruetschi, Josef Widder

摘要:

在Tendermint区块链中,权益证明机制和底层的共识算法需要一个动态故障模型,这意味着活跃的验证者(对区块进行签名的节点)可能会随着时间的推移而变化,并且这些验证者的法定人数被假设为仅在有限的时间段内(称为信任期)是正确的。验证器集的更改受区块链应用程序的控制,并在每个区块中提交。为了检查区块链应用程序在某个高度h处的状态,需要知道在该高度处设置的验证器,以便可以验证相应的数字签名和散列。确定高度为h的验证器集的简单方法需要:(i)下载h之前的所有块,(ii)通过检查数字签名和散列来验证块,以及(iii)执行相应的事务,以便再现验证器集中的更改。这可能非常缓慢,并且计算和数据密集。在本文中,我们形式化了Tendermint施加的动态故障模型,并描述了一种轻客户端协议,该协议允许检查区块链应用程序的状态,在实际设置中,该协议显着减少了需要下载的数据量,以及所需的计算昂贵的签名验证操作的数量。除了数学证明之外,我们还在TLA+中形式化了轻客户端协议,并使用APALACHE模型检查器检查了安全性和活性。

英文摘要:

In Tendermint blockchains, the proof-of-stake mechanism and the underlying consensus algorithm entail a dynamic fault model that implies that the active validators (nodes that sign blocks) may change over time, and a quorum of these validators is assumed to be correct only for a limited period of time (called trusting period). The changes of the validator set are under control of the blockchain application, and are committed in every block. In order to check what is the state of the blockchain application at some height h, one needs to know the validator set at that height so that one can verify the corresponding digital signatures and hashes. A naive way of determining the validator set for height h requires one to: (i) download all blocks before h, (ii) verify blocks by checking digital signatures and hashes and (iii) execute the corresponding transactions so the changes in the validator sets are reproduced. This can potentially be very slow and computationally and data intensive. In this paper we formalize the dynamic fault model imposed by Tendermint, and describe a light client protocol that allows to check the state of the blockchain application that, in realistic settings, reduces significantly the amount of data needed to be downloaded, and the number of required computationally expensive signature verification operations. In addition to mathematical proofs, we have formalized the light client protocol in TLA+, and checked safety and liveness with the APALACHE model checker.

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

↑