Probing Channel Balances in the Lightning Network

04/01/2020
by   Sergei Tikhomirov, et al.
0

As Lightning network payments are neither broadcasted nor publicly stored. Thus LN has been seen not only as scalability but also as privacy solution for Bitcoin. The protocol guarantees that only the latest channel state can be confirmed on channel closure. LN nodes gossip about channels available for routing and their total capacities. To issue a (multi-hop) payment, the sender creates a route based on its local knowledge of the graph. As local channel balances are not public, payments often fail due to insufficient balance at an intermediary hop. In that case, the payment is attempted along multiple routes until it succeeds. This constitutes a privacy-efficiency tradeoff: hidden balances improve privacy but hinder routing efficiency. In this work, we show that an attacker can easily discover channel balances using probing. This takes under a minute per channel and requires moderate capital commitment and no expenditures. We describe the algorithm and test our proof-of-concept implementation on Bitcoin's testnet. We argue that LN's balance between privacy and routing efficiency is suboptimal: channel balances are neither well protected nor utilized. We outline two ways for LN to evolve in respect to this issue. To emphasize privacy, we propose a modification of error handling that hides details of the erring channel from the sending node. This would break our probing technique but make routing failures more common, as the sender would not know which channel from the attempted route has failed. To improve efficiency, we propose a new API call that would let the sender query balances of channels that it is not a party of. We argue that combining these approaches can help LN take the best of both worlds: hide private data when feasible, and utilize public data for higher routing efficiency.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/29/2019

Boros: Secure Cross-Channel Transfers via Channel Hub

The payment channel, which allows two parties to perform micropayments w...
research
12/08/2020

RouTEE: A Secure Payment Network Routing Hub using Trusted Execution Environments

Cryptocurrencies such as Bitcoin and Ethereum have made payment transact...
research
05/15/2020

CryptoMaze: Atomic Off-Chain Payments in Payment Channel Network

Payment protocols developed to realize off-chain transactions in Payment...
research
02/04/2020

Ant Routing scalability for the Lightning Network

The ambition of the Lightning Network is to provide a second layer to th...
research
09/15/2019

Hijacking Routes in Payment Channel Networks: A Predictability Tradeoff

Off-chain transaction networks can mitigate the scalability issues of to...
research
09/23/2021

WebFlow: Scalable and Decentralized Routing for Payment Channel Networks with High Resource Utilization

Payment channel networks (PCNs) have been designed and utilized to addre...
research
12/19/2019

Imbalance measure and proactive channel rebalancing algorithm for the Lightning Network

Making a payment in a privacy-aware payment channel network is achieved ...

Please sign up or login with your details

Forgot password? Click here to reset