Abstract
As the amount of data grows, blockchain has an increasing need for data storage and how to query data efficiently and securely. The combination of erasure coding technology and permissioned chain can reduce the storage consumption of each block from O(n) to O(1), but the query strategy it adopts limits the query function, reduces the query efficiency, and increases the network load. In this paper, we propose a query method for blockchains based on erasure code sharding, which combines the idea of pushing queries and accumulator to make up for the shortcomings of the original query strategy and ensure the integrity of the query results. We design an accumulator-based authentication data structure (ADS), which supports verifiable single-attribute range queries. Second, in order to solve the problem of amplifying the effect of node mischief brought by distributed computing, we propose an error correction strategy that uses the erasure code recovery mechanism to locally recover the fault interval and correct the erroneous results. Finally, it is implemented on the open source blockchain system Tendermint. It has been proved through sufficient experiments that the system query efficiency has been improved while ensuring the availability of the system.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Nakamoto, S.: Bitcoin: A peer-to-peer electronic cash system. Decentralized Bus. Rev. 21260 (2008)
Wood, G., et al.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 151(2014), 1ā32 (2014)
Androulaki, E., et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: Proceedings of the Thirteenth EuroSys Conference, pp. 1ā15 (2018)
Castro, M., Liskov, B., et al.: Practical byzantine fault tolerance. In: OsDI, vol. 99, pp. 173ā186 (1999)
Xu, Y.: Section-blockchain: a storage reduced blockchain protocol, the foundation of an autotrophic decentralized storage architecture. In: 2018 23rd International Conference on Engineering of Complex Computer Systems (ICECCS), pp. 115ā125. IEEE (2018)
Al-Bassam, M., Sonnino, A., Bano, S., Hrycyszyn, D., Danezis, G.: Chainspace: a sharded smart contracts platform. arXiv preprint arXiv:1708.03778 (2017)
Weatherspoon, H., Kubiatowicz, J.D.: Erasure coding vs. replication: a quantitative comparison. In: Druschel, P., Kaashoek, F., Rowstron, A. (eds.) IPTPS 2002. LNCS, vol. 2429, pp. 328ā337. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45748-8_31
Qi, X., Zhang, Z., Jin, C., Zhou, A.: A reliable storage partition for permissioned blockchain. IEEE Trans. Knowl. Data Eng. 33(1), 14ā27 (2020)
McConaghy, T., et al.: BigChainDB: a scalable blockchain database. In: White Paper, BigChainDB (2016)
Li, Y., Zheng, K., Yan, Y., Liu, Q., Zhou, X.: EtherQL: a query layer for blockchain system. In: Candan, S., Chen, L., Pedersen, T.B., Chang, L., Hua, W. (eds.) DASFAA 2017. LNCS, vol. 10178, pp. 556ā567. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-55699-4_34
Zhu, Y., Zhang, Z., Jin, C., Zhou, A., Yan, Y.: Sebdb: semantics empowered blockchain database. In: 2019 IEEE 35th international conference on data engineering (ICDE). pp. 1820ā1831. IEEE (2019)
Xu, C., Zhang, C., Xu, J.: vchain: Enabling verifiable Boolean range queries over blockchain databases. In: Proceedings of the 2019 International Conference on Management of Data, pp. 141ā158 (2019)
Boneh, D., BĆ¼nz, B., Fisch, B.: Batching techniques for accumulators with applications to IOPs and stateless blockchains. In: Boldyreva, A., Micciancio, D. (eds.) CRYPTO 2019. LNCS, vol. 11692, pp. 561ā586. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-26948-7_20
Li, F., Hadjieleftheriou, M., Kollios, G., Reyzin, L.: Authenticated index structures for aggregation queries. ACM Trans. Inf. Syst. Secur. (TISSEC) 13(4), 1ā35 (2010)
Pang, H., Tan, K.L.: Authenticating query results in edge computing. In: Proceedings of 20th International Conference on Data Engineering, pp. 560ā571. IEEE (2004)
Narasimha, M., Tsudik, G.: Authentication of outsourced databases using signature aggregation and chaining. In: Li Lee, M., Tan, K.-L., Wuwongse, V. (eds.) DASFAA 2006. LNCS, vol. 3882, pp. 420ā436. Springer, Heidelberg (2006). https://doi.org/10.1007/11733836_30
Xu, C., Zhang, C., Xu, J., Pei, J.: SlimChain: Scaling blockchain transactions through off-chain storage and parallel processing. Technical report (2021)
Jiang, Qin, An, Yanjun, Qi, Yong, Fang, Hai: Oblivious data structure for secure multiple-set membership testing. In: Xing, Chunxiao, Fu, Xiaoming, Zhang, Yong, Zhang, Guigang, Borjigin, Chaolemen (eds.) WISA 2021. LNCS, vol. 12999, pp. 299ā310. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-87571-8_26
Merkle, R.C.: Protocols for public key cryptosystems. In: Secure Communications and Asymmetric Cryptosystems, pp. 73ā104. Routledge (2019)
Wang, S., et al.: ForkBase: an efficient storage engine for blockchain and forkable applications. arXiv preprint arXiv:1802.04949 (2018)
Zhu, Y., Zhang, Z., Jin, C., Zhou, A.: Enabling generic verifiable aggregate query on blockchain systems. In: 2020 IEEE 26th International Conference on Parallel and Distributed Systems (ICPADS), pp. 456ā465. IEEE (2020)
Acknowledgements
This work was supported by the National Natural Science Foundation of China (62172082, 62072084, 62072086), the Fundamental Research Funds for the central Universities (N2116008) and the Open Project Fund of Neusoft Corporation (NCBETOP2002).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Pan, D., Shen, D., Nie, T., Kou, Y., He, G., Xu, S. (2022). Enabling Verifiable Single-Attribute Range Queries onĀ Erasure-Coded Sharding-Based Blockchain Systems. In: Zhao, X., Yang, S., Wang, X., Li, J. (eds) Web Information Systems and Applications. WISA 2022. Lecture Notes in Computer Science, vol 13579. Springer, Cham. https://doi.org/10.1007/978-3-031-20309-1_60
Download citation
DOI: https://doi.org/10.1007/978-3-031-20309-1_60
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-20308-4
Online ISBN: 978-3-031-20309-1
eBook Packages: Computer ScienceComputer Science (R0)