arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.01247cs.CRcs.ITmath.IT
收藏

Coded Merkle Tree:解决区块链中的数据可用性攻击

Coded Merkle Tree: Solving Data Availability Attacks in Blockchains

Mingchao Yu, Saeid Sahraei, Songze Li, Salman Avestimehr, Sreeram Kannan, Pramod Viswanath

摘要:

在本文中,我们提出了编码Merkle树(CMT),这是一种新型的哈希累加器,即使大多数网络节点都是恶意的,也可以提供针对区块链中数据可用性攻击的恒定成本保护。一个CMT构造使用一个家庭的稀疏擦除码的每一层上,并通过迭代地应用剥离解码技术,使一个紧凑的证明数据可用性攻击的任何层上恢复。我们的算法使任何节点只需下载一个$Θ(1)$字节块哈希承诺和随机采样$Θ(\log b)$字节,其中$b$是数据块的大小,以验证系统生成的任何数据块的完全可用性。在系统中只有一个连接的诚实节点的帮助下,我们的方法还允许任何节点通过下载$Θ(\log b)$字节来验证编码的Merkle树的任何篡改。我们在Rust和Python中为CMT提供了一个模块化库,并在Parity Bitcoin客户端中展示了它的有效性。

英文摘要:

In this paper, we propose coded Merkle tree (CMT), a novel hash accumulator that offers a constant-cost protection against data availability attacks in blockchains, even if the majority of the network nodes are malicious. A CMT is constructed using a family of sparse erasure codes on each layer, and is recovered by iteratively applying a peeling-decoding technique that enables a compact proof for data availability attack on any layer. Our algorithm enables any node to verify the full availability of any data block generated by the system by just downloading a $Θ(1)$ byte block hash commitment and randomly sampling $Θ(\log b)$ bytes, where $b$ is the size of the data block. With the help of only one connected honest node in the system, our method also allows any node to verify any tampering of the coded Merkle tree by just downloading $Θ(\log b)$ bytes. We provide a modular library for CMT in Rust and Python and demonstrate its efficacy inside the Parity Bitcoin client.

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

↑