A theory of transaction parallelism in blockchains

Massimo Bartoletti, Letterio Galletta, Maurizio Murgia
{"title":"A theory of transaction parallelism in blockchains","authors":"Massimo Bartoletti, Letterio Galletta, Maurizio Murgia","doi":"10.46298/lmcs-17(4:10)2021","DOIUrl":null,"url":null,"abstract":"Decentralized blockchain platforms have enabled the secure exchange of\ncrypto-assets without the intermediation of trusted authorities. To this\npurpose, these platforms rely on a peer-to-peer network of byzantine nodes,\nwhich collaboratively maintain an append-only ledger of transactions, called\nblockchain. Transactions represent the actions required by users, e.g. the\ntransfer of some units of crypto-currency to another user, or the execution of\na smart contract which distributes crypto-assets according to its internal\nlogic. Part of the nodes of the peer-to-peer network compete to append\ntransactions to the blockchain. To do so, they group the transactions sent by\nusers into blocks, and update their view of the blockchain state by executing\nthese transactions in the chosen order. Once a block of transactions is\nappended to the blockchain, the other nodes validate it, re-executing the\ntransactions in the same order. The serial execution of transactions does not\ntake advantage of the multi-core architecture of modern processors, so\ncontributing to limit the throughput. In this paper we develop a theory of\ntransaction parallelism for blockchains, which is based on static analysis of\ntransactions and smart contracts. We illustrate how blockchain nodes can use\nour theory to parallelize the execution of transactions. Initial experiments on\nEthereum show that our technique can improve the performance of nodes.","PeriodicalId":314387,"journal":{"name":"Log. Methods Comput. Sci.","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Log. Methods Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/lmcs-17(4:10)2021","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

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.
区块链中的事务并行理论
去中心化的区块链平台实现了加密资产的安全交换,而无需可信机构的中介。为此,这些平台依赖于拜占庭节点的点对点网络,这些节点协同维护交易的附加分类账,称为区块链。交易代表用户所需的操作,例如将某些单位的加密货币转移给另一个用户,或者执行根据其内部逻辑分配加密资产的智能合约。点对点网络的部分节点竞相将交易附加到区块链。为此,他们将用户发送的事务分组到块中,并通过按选择的顺序执行这些事务来更新他们的区块链状态视图。一旦一个事务块被附加到区块链,其他节点就会验证它,并以相同的顺序重新执行事务。事务的串行执行不能利用现代处理器的多核架构,因此限制了吞吐量。在本文中,我们开发了一种基于交易和智能合约静态分析的区块链交易并行理论。我们将演示区块链节点如何使用我们的理论来并行化事务的执行。初步实验表明,我们的技术可以提高节点的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信