区块链中的有些区块包含的交易数据不可信,提高有效交易量处理效率的关键在于可信区块的识别。从图论的角度看,区块链是有向无环图(Directed Acyclic Graph,DAG),最大可信区块的识别问题可转化为无向图G=(V,E)的最大k-相关集问题。针对k=1的情况,调用最大独立集算法,给出了求解d-正则二部图(d≥3)最大1-相关集问题的多项式时间近似算法,从理论上证明了算法的近似比为$\frac{2 d}{2 d-1}$,并给出d=3的3-正则二部图上的紧例。
Some blocks in the blockchain contain untrusted transaction data. The key to improve the efficiency of effective transaction processing is to identify trusted blocks. From the perspective of graph theory, blockchain is a directed acyclic graph (DAG), and the problem of maximum trusted block identification can be transformed into the problem of the maximum K-dependent set of the undirected graph G=(V,E). For the case of k=1, a polynomial time approximation algorithm for solving the maximum 1-dependent set problem of d-regular bipartite graphs (d≥3) is proposed by using the maximum independent set algorithm. The approximation ratio of the algorithm is proved to be $\frac{2 d}{2 d-1}$ theoretically, and a tight instance on the 3-regular bipartite graph with d=3 is given.
[1] 中本聪.比特币:一种点对点的电子现金系统[EB/OL].(2008-11-01)[2022-04-10].https://wenku.baidu.com/view/58c0129f68eae009581b6bd97f1922791788bef4?fr=xueshu.
[2] 袁勇,王飞跃.区块链技术发展现状与展望[J].自动化学报,2016,42(4):481-494.
[3] WANG X, WU L Y. Operations research in the blockchain technology[J]. Journal of the Operations Research Society of China, 2022,10(2):401-422.
[4] LEWENBERG Y, SOMPOLINSKY Y, ZOHAR A. Inclusive block chain protocols[J]. Lecture Notes in Computer Science, 2015,8975:528-547.
[5] WANG X, GAN G H, WU L Y. Framework and algorithms for identifying honest blocks in blockchain[J]. PloS One, 2020,15(1):1-14.
[6] DESSMARK A, JANSEN K, LINGAS A. The maximum k-dependent and f-dependent set problem[J]. Lecture Notes in Computer Science, 2005,762:88-97.
[7] KUMAR M, MISHRA S, DEVI N S, et al. Approximation algorithms for node deletion problems on bipartite graphs with finite forbidden subgraph characterization[J]. Theoretical Computer Science, 2014,526:90-96.
[8] HOSSEINIAN S, BUTENKO S. An improved approximation for maximum k-dependent set on bipartite graphs[J]. Discrete Applied Mathematics, 2022,307:95-101.
[9] RIZZI R. A short proof of König's matching theorem[J]. Journal of Graph Theory, 2000,33(3):2-3.