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

Kronos:一种开销优化的安全通用分片区块链共识机制

Kronos: A Secure and Generic Sharding Blockchain Consensus with Optimized Overhead

Yizhong Liu, Andi Liu, Yuan Lu, Zhuocheng Pan, Yinuo Li, Jianwei Liu, Song Bian, Mauro Conti

AI总结:

针对分片区块链中跨分片交易的安全与效率挑战,该研究提出基于共享缓冲区的通用共识机制Kronos,通过批量认证等技术优化开销,实验验证其吞吐量最高提升12倍、延迟降低50%,可支持数千共识节点。

摘要:

分片技术通过将网络划分为多个分片(每个分片管理特定的未花费交易输出或账户)来提升区块链的可扩展性。跨分片交易作为一种新引入的交易类型,对分片区块链的安全性和效率构成了关键挑战。目前,尚缺乏一种同时实现安全性与低开销的通用分片共识模式。本文提出Kronos,一种实现开销优化的安全分片区块链共识机制。具体而言,我们基于由分片成员共同管理的缓冲区,提出了一种全新的安全分片共识模式。有效交易通过缓冲区转移至收款方,无效交易则通过“顺利路径”或“非顺利路径”被拒绝。经证明,在存在恶意客户端的场景下,Kronos可实现具备原子性的安全性,且分片内开销达到最优,为kB(k为涉及的分片数量,B为拜占庭容错(BFT)的开销成本)。此外,我们提出了基于批量认证和可靠跨分片传输的安全跨分片认证方法:前者结合了混合树或向量承诺,后者集成了擦除编码。经证明,在处理b笔交易时,Kronos可实现可靠性,且跨分片开销较低,为O(nbλ)(n为分片规模,λ为安全参数)。值得注意的是,Kronos对BFT协议无限制,也不依赖时间假设,在各模块中提供了可选的构建方案。我们使用两种主流BFT协议实现了Kronos:异步的Speeding Dumbo协议和部分同步的Hotstuff协议。大量实验表明,Kronos可将共识节点扩展至数千个,实现320千笔/秒的高吞吐量,延迟为2.0秒。与现有方案相比,Kronos性能更优,吞吐量最高提升12倍,延迟降低50%。

英文摘要:

Sharding enhances blockchain scalability by dividing the network into shards, each managing specific unspent transaction outputs or accounts. As an introduced new transaction type, cross-shard transactions pose a critical challenge to the security and efficiency of sharding blockchains. Currently, there is a lack of a generic sharding consensus pattern that achieves both security and low overhead. In this paper, we present Kronos, a secure sharding blockchain consensus achieving optimized overhead. In particular, we propose a new secure sharding consensus pattern, based on a buffer managed jointly by shard members. Valid transactions are transferred to the payee via the buffer, while invalid ones are rejected through happy or unhappy paths. Kronos is proved to achieve security with atomicity under malicious clients with optimal intra-shard overhead $kB$ ($k$ for involved shard number and $B$ for a Byzantine fault tolerance (BFT) cost). Besides, we propose secure cross-shard certification methods based on batch certification and reliable cross-shard transfer. The former combines hybrid trees or vector commitments, while the latter integrates erasure coding. Handling $b$ transactions, Kronos is proved to achieve reliability with low cross-shard overhead $O(n b λ)$ ($n$ for shard size and $λ$ for the security parameter). Notably, Kronos imposes no restrictions on BFT and does not rely on time assumptions, offering optional constructions in various modules. We implement Kronos using two prominent BFT protocols: asynchronous Speeding Dumbo and partial synchronous Hotstuff. Extensive experiments demonstrate Kronos scales the consensus nodes to thousands, achieving a substantial throughput of 320 ktx/sec with 2.0 sec latency. Compared with the past solutions, Kronos outperforms, achieving up to a 12* improvement in throughput and a 50% reduction in latency.

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

↑