Abstract
Merkle tree is a fundamental part of blockchain technology, especially in Ethereum cryptocurrency system. The balance of the accounts involved in each transaction is stored on the leaf nodes and must be updated in the State Merkle tree. In this paper, we take advantage of typical transaction characteristics for better constructing the Merkle tree to improve blockchain network performance. It consists of identifying a tree structure with the minimum number of hash values required to update the account data associated with each transaction based on the distribution of all transactions. The proposed optimization model is a combinatorial problem with quadratic functions and binary variables. By using the binary character of variables and penalty techniques, we provide a conventional DC (Difference of Convex functions) program that is efficiently solvable by the DCA (DC Algorithm). Additionally, we suggest an effective recursive DCA-based method for building a Merkle tree for a great amount of blockchain accounts. Numerical experiments on several datasets illustrate the efficiency of our approaches.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bodkhe, U., et al.: Blockchain for industry 4.0: a comprehensive review. IEEE Access 8, 79764–79800 (2020)
Chen, T., Li, Z., Zhu, Y., Chen, J., Luo, X., Lui, J.C.S., Lin, X., Zhang, X.: Understanding Ethereum via graph analysis. ACM Trans. Internet Technol. (TOIT) 20(2), 1–32 (2020)
Gao, W., Hatcher, W.G., Yu, W.: A survey of blockchain: techniques, applications, and challenges. In: 2018 27th International Conference on Computer Communication and Networks (ICCCN), pp. 1–11. IEEE (2018)
Kshetri, N., Voas, J.: Blockchain-enabled E-voting. IEEE Softw. 35(4), 95–99 (2018)
Le Thi, H.A., Pham Dinh, T.: The DC (difference of convex functions) programming and DCA revisited with DC models of real world nonconvex optimization problems. Ann. Oper. Res. 133(1–4), 23–46 (2005)
Le Thi, H.A., Pham Dinh, T.: DC programming and DCA: thirty years of developments. Math Program Spec. Issue: DC Program. - Theory Algorithms Appl. 169(1), 5–68 (2018)
Merkle, R.C.: A digital signature based on a conventional encryption function. In: Pomerance, C. (ed.) CRYPTO 1987. LNCS, vol. 293, pp. 369–378. Springer, Heidelberg (1988). https://doi.org/10.1007/3-540-48184-2_32
Mizrahi, A., Koren, N., Rottenstreich, O.: Optimizing Merkle proof size for blockchain transactions. In: 2021 International Conference on COMmunication Systems & NETworkS (COMSNETS), pp. 299–307. IEEE (2021)
Muñoz, J.L., Forné, J., Esparza, O., Rey, M.: Efficient certificate revocation system implementation: Huffman Merkle hash tree (HuffMHT). In: Katsikas, S., López, J., Pernul, G. (eds.) TrustBus 2005. LNCS, vol. 3592, pp. 119–127. Springer, Heidelberg (2005). https://doi.org/10.1007/11537878_13
Nakamoto, S.: A peer-to-peer electronic cash system (2008). https://bitcoin.org/bitcoin.pdf
Pham Dinh, T., Le Thi, H.A.: Convex analysis approach to DC programming: theory, algorithms and applications. Acta Math. Vietnam 22(1), 289–355 (1997)
Pham Dinh, T., Le Thi, H.A.: A DC optimization algorithm for solving the trust-region subproblem. SIAM J. Optim. 8(2), 476–505 (1998)
Pham Dinh, T., Le Thi, H.A.: Recent advances in DC programming and DCA. Trans. Comput. Intell. XIII 1–37 (2014)
Pham Dinh, T., Nguyen, C.N., Le Thi, H.A.: An efficient combined DCA and B &B using DC/SDP relaxation for globally solving binary quadratic programs. J. Glob. Optim. 48(4), 595–632 (2010)
Somin, S., Gordon, G., Altshuler, Y.: Social signals in the Ethereum trading network. arXiv preprint arXiv:1805.12097 (2018)
Wood, G., et al.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 151, 1–32 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Nguyen, T.T.T., Le Thi, H.A., Doan, X.V. (2023). Optimizing Merkle Tree Structure for Blockchain Transactions by a DC Programming Approach. In: Nguyen, N.T., et al. Computational Collective Intelligence. ICCCI 2023. Lecture Notes in Computer Science(), vol 14162. Springer, Cham. https://doi.org/10.1007/978-3-031-41456-5_31
Download citation
DOI: https://doi.org/10.1007/978-3-031-41456-5_31
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-41455-8
Online ISBN: 978-3-031-41456-5
eBook Packages: Computer ScienceComputer Science (R0)