arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.05007cs.CR
收藏

并行与异步智能合约执行

Parallel and Asynchronous Smart Contract Execution

Jian Liu, Peilun Li, Raymond~Cheng, N. Asokan, Dawn Song

AI总结:

针对区块链智能合约吞吐低、延迟高的问题,提出区分共识节点与执行节点的并行异步执行范式,并通过 Ethereum 无硬分叉扩展和新公有链验证其高吞吐与防饿死效果。

摘要:

如今的区块链面临低吞吐量和高延迟问题,这阻碍了智能合约等更复杂应用的广泛采用。本文提出一种智能合约执行的新范式。它区分共识节点与执行节点:不同执行节点组可以并行执行交易;同时,共识节点可以异步地对交易排序并处理执行结果。此外,该范式不需要执行节点之间进行协调,并能有效防止活锁。我们展示了将该范式应用于区块链的两种方式。首先,说明如何使 Ethereum 在无需硬分叉的情况下支持并行和异步合约执行。随后,提出一条新的公有、无需许可区块链。基准测试表明,借助快速共识层,即使面对 Cryptokitties 基因混合等复杂交易,它也能提供高吞吐量;它还能保护简单交易,避免其被复杂交易饿死。

英文摘要:

Today's blockchains suffer from low throughput and high latency, which impedes their widespread adoption of more complex applications like smart contracts. In this paper, we propose a novel paradigm for smart contract execution. It distinguishes between consensus nodes and execution nodes: different groups of execution nodes can execute transactions in parallel; meanwhile, consensus nodes can asynchronously order transactions and process execution results. Moreover, it requires no coordination among execution nodes and can effectively prevent livelocks. We show two ways of applying this paradigm to blockchains. First, we show how we can make Ethereum support parallel and asynchronous contract execution \emph{without hard-forks}. Then, we propose a new public, permissionless blockchain. Our benchmark shows that, with a fast consensus layer, it can provide a high throughput even for complex transactions like Cryptokitties gene mixing. It can also protect simple transactions from being starved by complex transactions.

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

↑