论文标题

区块链中的交易平行性理论

A theory of transaction parallelism in blockchains

论文作者

Bartoletti, Massimo, Galletta, Letterio, Murgia, Maurizio

论文摘要

去中心化的区块链平台使无信任当局的中间化可以安全地交换加密资源。为此,这些平台依赖于拜占庭节点的点对点网络,该网络协作维护仅附加的交易分类帐,称为区块链。交易代表用户所需的操作,例如某些加密货币单位转移给另一个用户,或执行智能合约,该合约根据其内部逻辑分发加密货币。点对点网络的一部分节点竞争将交易附加到区块链上。为此,他们将用户发送到块的交易对区块链状态进行了分组,并通过选定的订单执行这些交易。一旦将交易块附加到区块链上,其他节点就会对其进行验证,以相同的顺序重新执行交易。交易的串行执行不会利用现代处理器的多核架构,因此有助于限制吞吐量。在本文中,我们为区块链制定了交易并行性理论,该理论基于对交易和智能合约的静态分析。我们说明了区块链节点如何使用我们的理论并平行于交易的执行。以太坊的最初实验表明,我们的技术可以改善节点的性能。

Decentralized blockchain platforms have enabled the secure exchange of crypto-assets without the intermediation of trusted authorities. To this purpose, these platforms rely on a peer-to-peer network of byzantine nodes, which collaboratively maintain an append-only ledger of transactions, called blockchain. Transactions represent the actions required by users, e.g. the transfer of some units of crypto-currency to another user, or the execution of a smart contract which distributes crypto-assets according to its internal logic. Part of the nodes of the peer-to-peer network compete to append transactions to the blockchain. To do so, they group the transactions sent by users into blocks, and update their view of the blockchain state by executing these transactions in the chosen order. Once a block of transactions is appended to the blockchain, the other nodes validate it, re-executing the transactions in the same order. The serial execution of transactions does not take advantage of the multi-core architecture of modern processors, so contributing to limit the throughput. In this paper we develop a theory of transaction parallelism for blockchains, which is based on static analysis of transactions and smart contracts. We illustrate how blockchain nodes can use our theory to parallelize the execution of transactions. Initial experiments on Ethereum show that our technique can improve the performance of nodes.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源