分片区块链中面向延迟的交易打包排序

IF 7.9 2区 计算机科学 Q1 ENGINEERING, MULTIDISCIPLINARY
Yuqi Fan;Xiaoyu Wang;Weili Wu;Dingzhu Du
{"title":"分片区块链中面向延迟的交易打包排序","authors":"Yuqi Fan;Xiaoyu Wang;Weili Wu;Dingzhu Du","doi":"10.1109/TNSE.2025.3564740","DOIUrl":null,"url":null,"abstract":"In blockchain, miners make profits by packaging transactions. There are a large number of pending transactions in the blockchain, and users often assign high transaction fees to reduce the delay in transaction packaging. However, in sharded blockchains, it requires more computational and communication resources to process cross-shard transactions than intra-shard transactions. As a result, miners are inclined to package intra-shard transactions to maximize their profits when packaging transactions, and cross-shard transactions with higher transaction fees are unable to be processed in time, which degrades the quality of service (QoS) of users. That is, the existing transaction packaging methods lack a clear mechanism to ensure that the QoS of users is directly related to the transaction fees they pay. In this paper, we design a new incentive mechanism, such that the block reward is not a fixed value but is related to the transaction processing delay and the number of cross-shard communications involved. The block reward can encourage miners to process transactions in time. We then study how to maximize the total miners' profit by determining the appropriate transaction packaging order to provide QoS to users. Specifically, we model the problem of transaction packaging ordering in each shard as a delay-oriented transaction processing problem and propose a Transaction Delay Optimization algorithm (TDO). Theoretical analysis proves that TDO is an approximation algorithm for the transaction packaging ordering problem with the approximation ratio of <inline-formula><tex-math>$\\frac{eC}{({e - 1})C - 2eS_{\\text{max}}}$</tex-math></inline-formula>, given block capacity <inline-formula><tex-math>$C$</tex-math></inline-formula> and maximum transaction size <inline-formula><tex-math>$S_{\\text{max}}$</tex-math></inline-formula>. We conduct experiments through simulations. Simulation results show that TDO can effectively provide QoS to users and maximize the profits of miners.","PeriodicalId":54229,"journal":{"name":"IEEE Transactions on Network Science and Engineering","volume":"12 5","pages":"3731-3743"},"PeriodicalIF":7.9000,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Delay-Oriented Transaction Packaging Ordering in Sharded Blockchains\",\"authors\":\"Yuqi Fan;Xiaoyu Wang;Weili Wu;Dingzhu Du\",\"doi\":\"10.1109/TNSE.2025.3564740\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In blockchain, miners make profits by packaging transactions. There are a large number of pending transactions in the blockchain, and users often assign high transaction fees to reduce the delay in transaction packaging. However, in sharded blockchains, it requires more computational and communication resources to process cross-shard transactions than intra-shard transactions. As a result, miners are inclined to package intra-shard transactions to maximize their profits when packaging transactions, and cross-shard transactions with higher transaction fees are unable to be processed in time, which degrades the quality of service (QoS) of users. That is, the existing transaction packaging methods lack a clear mechanism to ensure that the QoS of users is directly related to the transaction fees they pay. In this paper, we design a new incentive mechanism, such that the block reward is not a fixed value but is related to the transaction processing delay and the number of cross-shard communications involved. The block reward can encourage miners to process transactions in time. We then study how to maximize the total miners' profit by determining the appropriate transaction packaging order to provide QoS to users. Specifically, we model the problem of transaction packaging ordering in each shard as a delay-oriented transaction processing problem and propose a Transaction Delay Optimization algorithm (TDO). Theoretical analysis proves that TDO is an approximation algorithm for the transaction packaging ordering problem with the approximation ratio of <inline-formula><tex-math>$\\\\frac{eC}{({e - 1})C - 2eS_{\\\\text{max}}}$</tex-math></inline-formula>, given block capacity <inline-formula><tex-math>$C$</tex-math></inline-formula> and maximum transaction size <inline-formula><tex-math>$S_{\\\\text{max}}$</tex-math></inline-formula>. We conduct experiments through simulations. Simulation results show that TDO can effectively provide QoS to users and maximize the profits of miners.\",\"PeriodicalId\":54229,\"journal\":{\"name\":\"IEEE Transactions on Network Science and Engineering\",\"volume\":\"12 5\",\"pages\":\"3731-3743\"},\"PeriodicalIF\":7.9000,\"publicationDate\":\"2025-04-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Network Science and Engineering\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10980372/\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ENGINEERING, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Network Science and Engineering","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10980372/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

在2010年,矿商通过打包交易获利。区块链中存在大量待处理的事务,用户通常会分配较高的交易费用,以减少事务打包的延迟。然而,在分片区块链中,处理跨分片事务比处理分片内事务需要更多的计算和通信资源。因此,矿工在打包交易时倾向于打包分片内交易以实现利润最大化,交易费用较高的跨分片交易无法及时处理,降低了用户的服务质量(QoS)。也就是说,现有的交易打包方法缺乏明确的机制来保证用户的QoS与其支付的交易费用直接相关。在本文中,我们设计了一种新的激励机制,使得区块奖励不是一个固定的值,而是与交易处理延迟和涉及的跨分片通信次数有关。区块奖励可以鼓励矿工及时处理交易。然后,我们研究了如何通过确定合适的交易打包顺序来最大化矿工的总利润,从而为用户提供QoS。具体来说,我们将每个分片中的事务打包排序问题建模为一个面向延迟的事务处理问题,并提出了一个事务延迟优化算法(TDO)。理论分析证明了TDO是交易打包排序问题的近似算法,给定块容量$C$和最大交易大小$S_{\text{max}}$,其近似比为$\frac{eC}{({e - 1})C - 2eS_{\text{max}} $。我们通过模拟来进行实验。仿真结果表明,TDO可以有效地为用户提供QoS,使矿工的利润最大化。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Delay-Oriented Transaction Packaging Ordering in Sharded Blockchains
In blockchain, miners make profits by packaging transactions. There are a large number of pending transactions in the blockchain, and users often assign high transaction fees to reduce the delay in transaction packaging. However, in sharded blockchains, it requires more computational and communication resources to process cross-shard transactions than intra-shard transactions. As a result, miners are inclined to package intra-shard transactions to maximize their profits when packaging transactions, and cross-shard transactions with higher transaction fees are unable to be processed in time, which degrades the quality of service (QoS) of users. That is, the existing transaction packaging methods lack a clear mechanism to ensure that the QoS of users is directly related to the transaction fees they pay. In this paper, we design a new incentive mechanism, such that the block reward is not a fixed value but is related to the transaction processing delay and the number of cross-shard communications involved. The block reward can encourage miners to process transactions in time. We then study how to maximize the total miners' profit by determining the appropriate transaction packaging order to provide QoS to users. Specifically, we model the problem of transaction packaging ordering in each shard as a delay-oriented transaction processing problem and propose a Transaction Delay Optimization algorithm (TDO). Theoretical analysis proves that TDO is an approximation algorithm for the transaction packaging ordering problem with the approximation ratio of $\frac{eC}{({e - 1})C - 2eS_{\text{max}}}$, given block capacity $C$ and maximum transaction size $S_{\text{max}}$. We conduct experiments through simulations. Simulation results show that TDO can effectively provide QoS to users and maximize the profits of miners.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
IEEE Transactions on Network Science and Engineering
IEEE Transactions on Network Science and Engineering Engineering-Control and Systems Engineering
CiteScore
12.60
自引率
9.10%
发文量
393
期刊介绍: The proposed journal, called the IEEE Transactions on Network Science and Engineering (TNSE), is committed to timely publishing of peer-reviewed technical articles that deal with the theory and applications of network science and the interconnections among the elements in a system that form a network. In particular, the IEEE Transactions on Network Science and Engineering publishes articles on understanding, prediction, and control of structures and behaviors of networks at the fundamental level. The types of networks covered include physical or engineered networks, information networks, biological networks, semantic networks, economic networks, social networks, and ecological networks. Aimed at discovering common principles that govern network structures, network functionalities and behaviors of networks, the journal seeks articles on understanding, prediction, and control of structures and behaviors of networks. Another trans-disciplinary focus of the IEEE Transactions on Network Science and Engineering is the interactions between and co-evolution of different genres of networks.
×
引用
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学术官方微信