Unjamming lightning (new research paper)



Summary:

The discussion in the email thread centers around the trade-offs between privacy, fees, and success rate when it comes to routing payments on the Lightning Network. There are different goals that users may want to optimize for, such as optimizing for success rate for "live" payments or optimizing for fees for background rebalancing. However, these choices come with tricky trade-offs that need to be navigated, and ideally, the choice of trade-offs should be pushed to the user. The network is willing to pay a cost in routing success to ensure better balance privacy, but if the routing success degrades too much, then the network may not be willing to put up with it. Similarly, not knowing the source of the payment or intermediate nodes on the route can improve privacy, assuming jamming attacks occur rarely. Still, if the network experiences regular jamming attacks, then routing nodes will show more interest in knowing which Lightning nodes they are routing payments for. From a protocol developer perspective, decisions made by developers impact what data can be collected and how easy it is to collect that data. Hence, the protocol developer should leave it to others to make decisions regarding trade-offs. Developers must wrestle with these trade-offs and decide to what extent options can be pushed to the user. Upfront fees are almost essential and help with probing, general spam, and other aspects. Enabling probing via non-HTLC messages and pre-send-probing can avoid paying upfront fees on paths that will fail. There are at least three different routing goals to maximize, privacy, fees, and success rate, and each has its benefits and drawbacks. Choosing to optimize for fees or future privacy is an important thing to allow and make as reliable as possible without charging extra for it. Reputation tokens that can be sold or transferred to an attacker pose a problem and could lead to even worse issues.


Updated on: 2023-06-03T10:34:47.229947+00:00