{"title":"New Gas-Efficient Authenticated Range Query Schemes in Hybrid-Storage Blockchain","authors":"Yulong Chen;Bo Yin;Alia Asheralieva;Xuetao Wei","doi":"10.1109/TNSE.2024.3521398","DOIUrl":null,"url":null,"abstract":"Blockchain is a promising technology that ensures data integrity for applications. However, the expensive cost of blockchain storage makes putting all data on-chain impossible. Hybrid-storage blockchain (HSB) can alleviate this problem by storing the data content off-chain and the data hash on-chain while using an authenticated data structure (ADS) in the smart contract to ensure the integrity of data storage and retrieval. The key challenge in HSB is minimizing the maintenance cost of ADS on-chain. In this paper, we focus on the authenticated range query in HSB and propose a new scheme named UpOnFly to efficiently maintain the root of the MB-tree as ADS for any dynamic changes without using all the data or storing internal nodes of the tree in the smart contract. Furthermore, without sacrificing much off-chain verification performance, we propose another new scheme named KeyLink that decouples the on-chain ADS and the off-chain index and only maintains the order of all data keys in the smart contract, in which the ADS maintenance cost is significantly reduced and will not increase with the dataset size. Extensive experimental results demonstrate that the UpOnFly scheme requires only <inline-formula><tex-math>$63\\%$</tex-math></inline-formula> and <inline-formula><tex-math>$48\\%$</tex-math></inline-formula> of the gas consumption of the state-of-the-art approach <inline-formula><tex-math>$GEM^{2*}$</tex-math></inline-formula>-tree with the dataset size of <inline-formula><tex-math>$10^6$</tex-math></inline-formula> and <inline-formula><tex-math>$10^8$</tex-math></inline-formula>, respectively. The KeyLink scheme is even more efficient, requiring only <inline-formula><tex-math>$29\\%$</tex-math></inline-formula> and <inline-formula><tex-math>$18\\%$</tex-math></inline-formula> of the gas consumption of <inline-formula><tex-math>$GEM^{2*}$</tex-math></inline-formula>-tree with the dataset size of <inline-formula><tex-math>$10^6$</tex-math></inline-formula> and <inline-formula><tex-math>$10^8$</tex-math></inline-formula>, respectively.","PeriodicalId":54229,"journal":{"name":"IEEE Transactions on Network Science and Engineering","volume":"12 2","pages":"925-942"},"PeriodicalIF":6.7000,"publicationDate":"2024-12-26","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/10816573/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
New Gas-Efficient Authenticated Range Query Schemes in Hybrid-Storage Blockchain
Blockchain is a promising technology that ensures data integrity for applications. However, the expensive cost of blockchain storage makes putting all data on-chain impossible. Hybrid-storage blockchain (HSB) can alleviate this problem by storing the data content off-chain and the data hash on-chain while using an authenticated data structure (ADS) in the smart contract to ensure the integrity of data storage and retrieval. The key challenge in HSB is minimizing the maintenance cost of ADS on-chain. In this paper, we focus on the authenticated range query in HSB and propose a new scheme named UpOnFly to efficiently maintain the root of the MB-tree as ADS for any dynamic changes without using all the data or storing internal nodes of the tree in the smart contract. Furthermore, without sacrificing much off-chain verification performance, we propose another new scheme named KeyLink that decouples the on-chain ADS and the off-chain index and only maintains the order of all data keys in the smart contract, in which the ADS maintenance cost is significantly reduced and will not increase with the dataset size. Extensive experimental results demonstrate that the UpOnFly scheme requires only $63\%$ and $48\%$ of the gas consumption of the state-of-the-art approach $GEM^{2*}$-tree with the dataset size of $10^6$ and $10^8$, respectively. The KeyLink scheme is even more efficient, requiring only $29\%$ and $18\%$ of the gas consumption of $GEM^{2*}$-tree with the dataset size of $10^6$ and $10^8$, respectively.
期刊介绍:
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.