arXiv · 2509.13448
An Empirical Evaluation of BMSSP and Dijkstra's Algorithm for the Lightning Network
Abstract
Efficient routing is critical for payment channel networks (PCNs) such as the Lightning Network (LN), where shortest-path computations are commonly performed using Dijkstra-based algorithms. Recent theoretical work introduced the Bounded Multi-Source Shortest Path (BMSSP) algorithm, which achieves an asymptotically faster running time than Dijkstra's algorithm on sparse directed graphs. This paper presents an empirical evaluation of BMSSP on real-world LN topology snapshots and compares its performance with a standard Dijkstra implementation written in Rust. Across five LN snapshots and 100 randomized source-node trials per snapshot, BMSSP consistently exhibited higher runtimes than Dijkstra's algorithm, with statistically significant differences observed in all evaluated datasets. These findings indicate that, for current LN graph sizes and the implementations studied, BMSSP does not provide practical runtime advantages despite its stronger asymptotic guarantees. Rather than demonstrating a routing acceleration technique, this work contributes an LN-specific empirical case study of a recently proposed shortest-path algorithm and highlights the gap between theoretical complexity improvements and practical performance on contemporary payment-channel-network topologies.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Danila Valko, Rohan Paranjpe, Jorge Marx Gómez. 2026-09-16. An Empirical Evaluation of BMSSP and Dijkstra's Algorithm for the Lightning Network. https://arxiv.org/abs/2509.13448
Cite the original work for its findings. Save a collection to share your selection of sources.