Modelling the resilience and scalability of the BTC Lightning Network as a knapsack problem

107 Pages Posted: 14 Jul 2025

See all articles by Dr Craig S Wright

Dr Craig S Wright

University of Exeter; Harvard University; RCJBR Holdings PLC

Date Written: February 01, 2023

Abstract

The Lightning Network is represented as a “layer-2” payment protocol designed to improve transaction speed and scalability while maintaining privacy and security. This research aims to test the ability of the Lightning Network to scale effectively by optimising it for efficiency and scalability while ensuring privacy and security. We propose a methodology to model the Lightning Network as a weighted graph using Python and NetworkX, capture channel balances and transaction history, and evaluate the efficiency and scalability of the network using appropriate metrics. The methodology involves dividing the network into control and experimental groups, implementing optimisation strategies for the experimental group based on node structure and channel balances, simulating transactions on both groups and performing statistical tests to evaluate the significance of the difference in efficiency and scalability between the groups (Tang et al., 2022). This research aims to answer the research question: “Can the Lightning Network be optimised for efficiency and scalability while maintaining privacy and security?” The null hypothesis is that there is no significant difference in the efficiency and scalability of the Lightning Network between the control group and the experimental group. The alternative hypothesis is that after optimising the Lightning Network based on node structure and channel balances, there is a significant difference in the efficiency and scalability of the Lightning Network between the control and experimental groups. This research will provide insights into the economic problems discovered in the Lightning Network and the effectiveness of optimising it based on node structure and channel balances to improve its efficiency and scalability while maintaining privacy and security.

Suggested Citation

Wright, Craig S, Modelling the resilience and scalability of the BTC Lightning Network as a knapsack problem (February 01, 2023). Available at SSRN: https://ssrn.com/abstract=5343463 or http://dx.doi.org/10.2139/ssrn.5343463

Craig S Wright (Contact Author)

University of Exeter ( email )

Department of Accounting and Finance
Exeter, EX4 4ST
United Kingdom

Harvard University ( email )

1875 Cambridge Street
Cambridge, MA 02138
United States

RCJBR Holdings PLC ( email )

5 Brayford Square
London, E1 0SG
United Kingdom

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
65
Abstract Views
743
Rank
916,100
PlumX Metrics