Pith. sign in

REVIEW 2 cited by

Optimally Reliable & Cheap Payment Flows on the Lightning Network

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2107.05322 v1 pith:HVVX6SR5 submitted 2021-07-12 cs.NI

Optimally Reliable & Cheap Payment Flows on the Lightning Network

classification cs.NI
keywords flowpathspaymentpaymentsproblembalancecostdistributions
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

Today, payment paths in Bitcoin's Lightning Network are found by searching for shortest paths on the fee graph. We enhance this approach in two dimensions. Firstly, we take into account the probability of a payment actually being possible due to the unknown balance distributions in the channels. Secondly, we use minimum cost flows as a proper generalization of shortest paths to multi-part payments (MPP). In particular we show that under plausible assumptions about the balance distributions we can find the most likely MPP for any given set of senders, recipients and amounts by solving for a (generalized) integer minimum cost flow with a separable and convex cost function. Polynomial time exact algorithms as well as approximations are known for this optimization problem. We present a round-based algorithm of min-cost flow computations for delivering large payment amounts over the Lightning Network. This algorithm works by updating the probability distributions with the information gained from both successful and unsuccessful paths on prior rounds. In all our experiments a single digit number of rounds sufficed to deliver payments of sizes that were close to the total local balance of the sender. Early experiments indicate that our approach increases the size of payments that can be reliably delivered by several orders of magnitude compared to the current state of the art. We observe that finding the cheapest multi-part payments is an NP-hard problem considering the current fee structure and propose dropping the base fee to make it a linear min-cost flow problem. Finally, we discuss possibilities for maximizing the probability while at the same time minimizing the fees of a flow. While this turns out to be a hard problem in general as well - even in the single path case - it appears to be surprisingly tractable in practice.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Stochastic Reset Pathfinding: Path-Level Regret for Cascading Bandits over Graph Paths

    cs.LG 2026-07 accept novelty 6.0

    On known graphs with unknown edge success probabilities and full restart on failure, a UCB algorithm achieves provable O(log T) path-level regret via a prefix/suffix path complexity, while Thompson Sampling wins most ...

  2. MPFlow: Learning Budgeted Max-Flow Optimization on the Lightning Network with Deep Graph Reinforcement Learning

    cs.LG 2026-07 conditional novelty 5.0

    An MPNN-PPO agent with max aggregation and hub-exclusion curriculum outperforms betweenness-centrality heuristics on budgeted max-flow channel placement across real Lightning Network snapshots, and has been deployed i...