Abstract
The Lightning Network (LN) is designed to address the scalability and privacy limitations of the Bitcoin blockchain. As a payment channel network, LN allows transactions to be issued off-chain and onion-routed through private paths, aiming for faster, cheaper, and more private settlements. However, because these transactions are not recorded on a public ledger, the network's actual economic health and privacy efficacy remain largely opaque. In this work, we develop a traffic simulator to empirically study LN's transaction fees and privacy provisions. Using only publicly available data on network structure and capacities, we generate transaction models validated against real-world node operator data. Our findings suggest that the current network relies heavily on altruistic behavior and faces significant privacy challenges due to its small-world architecture.
Introduction
While Bitcoin revolutionized decentralized finance, its mainnet struggles with a throughput of approximately seven transactions per second and a lack of absolute privacy. The Lightning Network (LN) was proposed as a "Layer-2" solution to these hurdles, facilitating instant payments by moving them off the main blockchain.
Despite its promise, LN operates as a "black box." Because it utilizes onion routing, the specific traffic patterns and fee revenues of intermediaries are cryptographically hidden. This lack of transparency raises two critical questions: Is the network economically sustainable for the nodes providing liquidity? And do the privacy guarantees of onion routing actually hold up under statistical scrutiny? This paper addresses these questions through empirical simulation.
Methodology and Data
To analyze the network, we designed a discrete traffic simulator that models Bitcoin flow across the LN topology. The simulator operates on several key assumptions:
- Rational Routing: Users are assumed to choose the "cheapest path," selecting routes that minimize total transaction fees.
- Merchant-Centric Traffic: Based on node metadata from sources like 1ML.com, we categorized nodes (merchants, wallets, services) and simulated traffic primarily from ordinary users toward merchant entities.
- Ground Truth Validation: To ensure the simulator's accuracy, we calibrated our results against rare public financial reports from LNBIG—a major entity controlling a significant portion of the network's capacity during the study period.
The study utilized edge stream data (public channel openings/closures from 2017 to 2019) and 40 consecutive daily snapshots of the LN graph to capture a high-fidelity view of the network's evolution.
Economic Sustainability: The Altruism Gap
A primary finding of our analysis is the "Altruism Gap." Currently, most large routing nodes operate at a significant loss when considering the opportunity cost of the capital locked in their channels. For almost all major entities analyzed, the annual Return on Investment (RoI) was well below 1%.
To reach a modest 5% RoI—comparable to other low-risk investments—transaction fees would likely need to increase by orders of magnitude. Such an increase could push LN fees toward the cost of on-chain transactions (1,000–2,000 satoshis), potentially undermining the network's value proposition as a low-cost alternative. This suggests that current node operators are behaving "economically irrationally," likely motivated by a desire to support the ecosystem's growth rather than immediate profit, echoing the early altruistic days of the Bitcoin mainnet.
Privacy and the Efficiency Paradox
LN’s architecture is characterized by a "small-world" topology, with an average shortest path of only 2.8 hops. While this makes the network highly efficient, it creates a significant privacy paradox.
Our simulations revealed that between 16% and 34% of payments are single-hop transactions. In these scenarios, the intermediary node is positioned directly between the sender and the receiver, effectively de-anonymizing both parties and nullifying the benefits of onion routing.
However, privacy is not necessarily expensive to recover. By employing a genetic algorithm to identify "privacy-enhanced" paths—deliberately longer routes (up to 6 hops)—we demonstrated that users can significantly increase their anonymity set. The trade-off is a marginal increase in transaction fees, suggesting that "cheap privacy" is achievable for users willing to deviate from the absolute cheapest path.
Limitations and Future Outlook
This study focuses on the public graph of the LN. Since approximately 28% of channels are estimated to be private, the actual network topology may offer different connectivity and profitability profiles. Furthermore, our model assumes constant transaction values and does not fully account for sophisticated rebalancing techniques used by professional node operators.
Future research should explore the impact of Atomic Multi-path Payments (AMP), which allow payments to be split across multiple routes. AMP has the potential to improve both transaction success rates and privacy, further evolving the cryptoeconomic landscape of the Lightning Network.
Summary updated