| Literature DB >> 31940309 |
Stefano Martinazzi1, Andrea Flori1.
Abstract
The Lightning Network (LN) was released on Bitcoin's mainnet in January 2018 as a solution to favor scalability. This work analyses the evolution of the LN during its first year of existence in order to assess its impact over some of the core fundamentals of Bitcoin, such as: node centralization, resilience against attacks and disruptions, anonymity of users, autonomous coordination of its members. Using a network theory approach, we find that the LN represents a centralized configuration with few highly active nodes playing as hubs in that system. We show that the removal of these central nodes is likely to generate a remarkable drop in the LN's efficiency, while the network appears robust to random disruptions. In addition, we observe that improvements in efficiency during the sample period are primarily due to the increase in the capacity installed on the channels, while nodes' synchronization does not emerge as a distinctive feature of the LN. Finally, the analysis of the structure of the network suggests a good preservation of nodes' identity against attackers with prior knowledge about topological characteristics of their targets, but also that LN is probably weak against attackers that are within the system.Entities:
Year: 2020 PMID: 31940309 PMCID: PMC6961907 DOI: 10.1371/journal.pone.0225966
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1Representation of a multi-hop transaction.
A collection of topological measures for the LN.
Columns in the table refer respectively to: number of nodes, number of edges, density of the network, median degree, median strength, average degree, average strength, average edges’ capacity, total capacity of the network, diameter, radius, transitivity, portion of the capacity of the edges composing the minimum spanning tree, assortativity coefficients for both the weighted and unweighted networks, correlation between nodes’ degree and their average capacity (asterisks **,*** refer to significance at 1% and 0.1%, respectively). We refer to the weighted adjacency matrix as W. Strength and capacity are expressed in USD.
| 518 | 1910 | 0.014 | 2 | 22.09 | 7.33 | 208.77 | 28.31 | |
| 733 | 2060 | 0.008 | 2 | 18.91 | 5.60 | 121.15 | 21.56 | |
| 1359 | 6029 | 0.006 | 3 | 14.71 | 8.70 | 161.89 | 18.25 | |
| 1721 | 8172 | 0.005 | 3 | 17.72 | 9.35 | 203.95 | 21.48 | |
| 1808 | 7876 | 0.005 | 3 | 13.78 | 8.57 | 174.18 | 19.99 | |
| 2039 | 8996 | 0.004 | 3 | 15.01 | 8.57 | 380.66 | 43.14 | |
| 2130 | 11137 | 0.005 | 3 | 21.80 | 10.07 | 564.55 | 53.99 | |
| 2337 | 12312 | 0.004 | 3 | 25.50 | 10.01 | 621.25 | 58.96 | |
| 2466 | 12429 | 0.004 | 3 | 30.54 | 9.62 | 578.33 | 57.37 | |
| 2626 | 12958 | 0.004 | 3 | 31.33 | 9.47 | 558.71 | 56.61 | |
| 2878 | 17086 | 0.004 | 3 | 20.90 | 11.40 | 1136.71 | 95.73 | |
| 3613 | 23853 | 0.003 | 3 | 33.65 | 12.48 | 1173.98 | 88.91 | |
| 54072 | 6 | 4 | 12% | 66% | -0.16 | -0.37 | 0.03 | |
| 44401 | 7 | 4 | 5% | 74% | -0.14 | -0.37 | 0.02 | |
| 110003 | 7 | 4 | 9% | 68% | -0.05 | -0.27 | 0.03 | |
| 175503 | 8 | 5 | 9% | 64% | -0.06 | -0.29 | 0.04 | |
| 157455 | 8 | 5 | 7% | 64% | -0.05 | -0.28 | 0.04 | |
| 388082 | 8 | 5 | 7% | 69% | -0.01 | -0.26 | 0.05 ** | |
| 601241 | 8 | 5 | 9% | 55% | -0.03 | -0.25 | 0.14*** | |
| 725934 | 8 | 5 | 9% | 48% | -0.07 | -0.26 | 0.17*** | |
| 713085 | 8 | 5 | 9% | 46% | -0.07 | -0.25 | 0.16*** | |
| 733584 | 9 | 5 | 8% | 48% | -0.07 | -0.27 | 0.14*** | |
| 1635724 | 9 | 5 | 10% | 25% | 0.01 | -0.24 | 0.25*** | |
| 2120788 | 9 | 5 | 10% | 25% | -0.07 | -0.22 | 0.21*** |
Fig 2Strength distributions.
The log-log plots show the fitted Power-Law (in red) and the Log-Normal (in green) distributions for the cCDF of the strength distribution. We binned data using 50 quantiles; to take into consideration the skeweness within the bins we aggregated by medians. The strength distributions for the original data are reported in the plot inserts. In December 2018 and January 2019 we can notice the sudden decay due to the limit in capacities embedded in the protocol.
Fig 3Tendency of incoming nodes to form channels.
The log-log plots show the amount of channels formed by new nodes with well-established ones, the latter ranked on the x-axis with respect to their strength values at time T − 1.
Efficiency of the LN.
Global and local efficiencies and their normalized variants against an ideal complete network where the total capacity is allocated evenly among all the N(N − 1) edges.
| Feb-18 | Mar-18 | Apr-18 | May-18 | Jun-18 | Jul-18 | Aug-18 | Sep-18 | Oct-18 | Nov-18 | Dec-18 | Jan-19 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 8.00 | 4.76 | 4.99 | 5.95 | 5.05 | 10.94 | 14.42 | 15.86 | 14.38 | 14.34 | 16.63 | 17.90 | |
| 0.15 | 0.08 | 0.07 | 0.06 | 0.05 | 0.09 | 0.11 | 0.09 | 0.08 | 0.07 | 0.12 | 0.08 | |
| < | 13.23 | 4.15 | 6.47 | 8.37 | 9.61 | 17.68 | 33.02 | 42.47 | 34.91 | 27.38 | 38.22 | 41.27 |
| < | 0.25 | 0.07 | 0.10 | 0.08 | 0.10 | 0.15 | 0.24 | 0.25 | 0.18 | 0.13 | 0.27 | 0.18 |
Fig 4Efficiency drops due to random failures and attacks based on strength, betweenness, and eigenvector centralities.
Colors refer to the 12th of: April 2018 (black), July 2018 (red), October 2018 (green), January 2019 (orange). The first column’s x-axis represents the percentage of nodes removed. For the second, third and fourth columns the x-axis is the number of removed nodes. The LN has improved its robustness against random failures and malicious attacks both in terms of local and global efficiency loss.
LN’s synchronization.
The table shows that LN’s topology has evolved into a structure less prone to promote a distributed consensus.
| Feb-18 | Mar-18 | Apr-18 | May-18 | Jun-18 | Jul-18 | Aug-18 | Sep-18 | Oct-18 | Nov-18 | Dec-18 | Jan-19 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 8.00 | 25.36 | 25.82 | 25.87 | 25.94 | 25.99 | 26.08 | 26.15 | 26.17 | 26.20 | 30.08 | 30.10 | |
| 0.222 | 0.076 | 0.075 | 0.074 | 0.074 | 0.074 | 0.074 | 0.074 | 0.074 | 0.074 | 0.064 | 0.064 | |
| 1.778 | 1.924 | 1.925 | 1.926 | 1.926 | 1.926 | 1.926 | 1.926 | 1.926 | 1.926 | 1.936 | 1.936 |
Fig 5Evolution of LN’s anonymity preservation.
Plot on the left refers to the Degree of Anonymity, while plot on the right is for the Topological Anonymity. Continuous lines: Feb-2018 (black), Mar-2018 (red), Apr-2018 (green) and May-2018 (orange). Segmented lines: Jun-2018 (black), Jul-2018 (red), Aug-2018 (green) and Sep-2018 (orange). Double segmented lines: Oct-2018 (black), Nov-2018 (red), Dec-2018 (green) and Jan-2019 (orange).