{"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}
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.
期刊介绍:
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.