arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.01332cs.CR
收藏

Synchro:一种在状态分片中同步处理跨分片事务的区块生成协议

Synchro: Block-generation Protocol to Synchronously Process Cross-shard Transactions in State Sharding

Takaki Asanuma, Takeshi Miyamae, Yuji Yamaoka

AI总结:

针对状态分片中跨分片交易导致的状态不一致与回滚问题,提出Synchro协议,通过协调区块同步处理交易,消除不一致并借助零知识证明实现可扩展性。

摘要:

传统区块链无法达到与Web2相同的交易吞吐量,因此其应用场景受到限制。为此,人们提出了状态分片技术,通过划分区块链网络并并行管理状态和交易来提高交易吞吐量。然而,NEAR协议中的Nightshade(一种状态分片方案)提供了一种回滚协议,用于取消包含不一致交易结果的区块生成,因为在两阶段提交中处理跨分片交易(CSTXs)可能导致状态不一致。我们提出了一种新的攻击,通过重复执行必然导致状态不一致的CSTXs来干扰新区块的生成,从而引发持续回滚。我们还提出了一种名为Synchro的区块生成协议,通过在批准每个分片中的交易之前协调区块,将每个CSTX的所有状态变更纳入同一区块。Synchro消除了由CSTXs引起的状态不一致的发生以及对回滚协议的需求。我们使用零知识证明使Synchro在全局验证阶段具有可扩展性。尽管零知识证明的实际开销尚未评估,但我们表明,根据未来零知识证明技术的创新,Synchro理论上可以达到与Nightshade相同的交易吞吐量。

英文摘要:

Traditional blockchains cannot achieve the same transaction throughput as Web2, so their use cases are limited. Therefore, state sharding has been proposed to improve transaction throughput by dividing the blockchain network and managing states and transactions in parallel. However, Nightshade in the NEAR Protocol, a type of state sharding, provides a rollback protocol to cancel the generation of blocks containing inconsistent transaction results because processing cross-shard transactions (CSTXs) in a 2-phase commit may cause state inconsistency. We present a new attack that interferes with the generation of new blocks by repeatedly executing CSTXs that certainly causes state inconsistency, causing continuous rollback. We also propose a block-generation protocol called Synchro to incorporate all the state changes of each CSTX into the same block by coordinating the block prior to approving transactions in each shard. Synchro eliminates the occurrence of the state inconsistency caused by the CSTXs and the necessity of the rollback protocol. We use zero-knowledge proof to make Synchro scalable in the global validation phase. Although the actual overhead of the zero-knowledge proof has not yet been evaluated, we show that Synchro could achieve the same transaction throughput as Nightshade theoretically, depending on the future innovations in zero-knowledge proof techniques.

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

↑