Security and Privacy of Lightning Network Payments with Uncertain Channel Balances

Rene Pickhardt, Sergei Tikhomirov, Alex Biryukov, Mariusz Nowostawski
3/15/2021
19 citations
cs.CR

Official code: lightning/bolts (2,254 stars, Markdown, last commit 2026-10-27).

Abstract

The Lightning Network (LN) is a prominent payment channel network aimed at addressing Bitcoin's scalability issues. Due to the privacy of channel balances, senders cannot reliably choose sufficiently liquid payment paths and resort to a trial-and-error approach, trying multiple paths until one succeeds.

Show full abstract

This leaks private information and decreases payment reliability, which harms the user experience. This work focuses on the reliability and privacy of LN payments. We create a probabilistic model of the payment process in the LN, accounting for the uncertainty of the channel balances. This enables us to express payment success probabilities for a given payment amount and a path. Applying negative Bernoulli trials for single- and multi-part payments allows us to compute the expected number of payment attempts for a given amount, sender, and receiver. As a consequence, we analytically derive the optimal number of parts into which one should split a payment to minimize the expected number of attempts. This methodology allows us to define service level objectives and quantify how much private information leaks to the sender as a side effect of payment attempts. We propose an optimized path selection algorithm that does not require a protocol upgrade. Namely, we suggest that nodes prioritize paths that are most likely to succeed while making payment attempts. A simulation based on the real-world LN topology shows that this method reduces the average number of payment attempts by 20% compared to a baseline algorithm similar to the ones used in practice. This improvement will increase to 48% if the LN protocol is upgraded to implement the channel rebalancing proposal described in BOLT14.

View on arXivView PDF

Code Implementations(1)

lightning/boltsOfficial100%

BOLT: Basis of Lightning Technology (Lightning Network Specifications)

2,254539Markdown, ShellNov 14, 20161 months ago
bitcoinblockchaincryptocurrencycryptographylightning+2 more

Similar Papers

Cite this paper

@article{pickhardt2021security,
  title  = {Security and Privacy of Lightning Network Payments with Uncertain Channel Balances},
  author = {Rene Pickhardt and Sergei Tikhomirov and Alex Biryukov and Mariusz Nowostawski},
  year   = {2021},
  eprint = {2103.08576},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.08576}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.08576.svg)](https://codeofpaper.com/paper/2103.08576)

Discussion