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

异步 Merkle 树

Asynchronous Merkle Trees

Anoushk Kharangate

AI总结:

本文针对大规模数据下 Merkle 树构建成本高且单叶插入需重建整树的问题,提出一种基于并发批处理数据的异步 Merkle 树构建方法,避免每次插入都重新计算整棵树。

摘要:

Merkle 树已成为一种广泛成功的密码学数据结构,支持了从检查 Dynamo 等数据库中的不一致性,到 Git 等基本工具,再到 Bitcoin 及其他区块链等大规模分布式系统的大量应用。此外,还出现了针对不同应用设计的各种 Merkle 树版本,如 Jellyfish Merkle Trees 和 Sparse Merkle Trees。然而,所有这些 Merkle 树的一个关键缺点是,当数据集较大时,计算树的成本会显著增加;而且对单个叶子节点的插入操作需要重新构建整棵树。对于某些用例来说,以这种方式构建树是可以接受的,但在计算时间需要尽可能短且数据被并行处理的环境中,我们产生了对异步计算的需求。本文提出了一种解决方案:给定一批必须并发处理的数据,可以从该批次中异步构建 Merkle 树,而无需为每次插入重新计算整棵树。

英文摘要:

Merkle trees have become a widely successful cryptographic data structure. Enabling a vast variety of applications from checking for inconsistencies in databases like Dynamo to essential tools like Git to large scale distributed systems like Bitcoin and other blockchains. There have also been various versions of Merkle trees like Jellyfish Merkle Trees and Sparse Merkle Trees designed for different applications. However, one key drawback of all these Merkle trees is that with a large data set the cost of computing the tree increases significantly, moreover insert operations on a single leaf require re-building the entire tree. For certain use cases building the tree this way is acceptable, however in environments where compute time needs to be as low as possible and where data is processed in parallel, we are presented with a need for asynchronous computation. This paper proposes a solution where given a batch of data that has to be processed concurrently, a Merkle Tree can be constructed from the batch asynchronously without needing to recalculate the tree for every insert.

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

↑