Boomerang: Redundancy Improves Latency and Throughput in Payment Networks

Vivek Kumar Bagaria, Joachim Neu, David TsearXiv 2019

TL;DR

This paper introduces "Boomerang," a novel technique for payment channel networks (PCNs) that uses redundant payment paths to significantly improve transaction speed and network capacity. By strategically adding extra paths, Boomerang mitigates delays caused by straggling transactions, leading to a 40% reduction in latency and a doubling of throughput in experiments.

What Problem Does This Paper Address?

Payment channel networks (PCNs), like the Lightning Network, aim to scale blockchains by enabling off-chain transactions. A key challenge in these networks is achieving atomic multi-path payments (AMP), where a large payment is split across multiple channels. While AMP improves flexibility, it suffers from a "winner-takes-all" atomicity requirement: the entire payment only succeeds if all partial payments reach their destination. This means that even a single slow or failed path can stall the entire transaction, leading to high latency and wasted liquidity. This "straggler problem" significantly limits the overall throughput and efficiency of PCNs.

Methods

Boomerang tackles the straggler problem by introducing redundancy in a novel way. Instead of simply retrying failed paths, Boomerang constructs redundant payment paths that are free of counterparty risk. The core idea is based on publicly verifiable secret sharing.

Here's a breakdown of the approach:

  • Secret Sharing for Preimages: The destination (Bob) generates a secret polynomial. The source (Alice) receives commitments to this polynomial in the form of hashed values. Bob can then reveal parts of the polynomial (preimages) to claim funds.
  • Boomerang Contract: This is a special type of smart contract that allows for conditional forwarding of funds. It enables Alice to revert a transfer if Bob overdraws funds from the redundant paths, effectively learning a secret that Bob was trying to keep hidden.
  • Atomic Multi-Path Payments (AMP) Enhancement: Boomerang is designed to be layered on top of existing AMP routing schemes. It increases the number of payment attempts (paths) beyond the minimum required for the payment to succeed.
  • Counterparty Risk Mitigation: The construction ensures that Alice can only learn Bob's secret if Bob attempts to cheat by overdrawing from the redundant paths. Otherwise, the payment is final.
  • Bitcoin Script Implementation: The paper details how Boomerang contracts can be implemented using Bitcoin Script, leveraging concepts like adaptor signatures for a more practical deployment.

Datasets

Not discussed in the paper. The experiments were conducted using a simulated payment network with a Watts-Strogatz topology and randomly generated transaction requests.

Key Insights and Ideas

  • Redundancy as a Solution to Stragglers: The paper demonstrates that adding redundant paths, rather than just retrying, is a more effective strategy for mitigating the impact of slow transactions in PCNs.
  • Counterparty Risk-Free Redundancy: Boomerang's clever use of secret sharing ensures that adding redundancy doesn't introduce new security vulnerabilities for the sender.
  • Liquidity Efficiency: By reducing the time funds are locked up in pending transactions, Boomerang frees up liquidity, allowing the network to handle more transactions overall.
  • Generic Applicability: The technique is presented as a generic tool that can be applied to various multi-path routing schemes, suggesting broad potential impact.

Key Results

The experimental evaluation showed significant improvements:

  • Latency Reduction: Boomerang achieved a 40% reduction in Time-To-Completion (TTC) for successful transfers compared to a baseline "Retry" scheme.
  • Throughput Increase: Boomerang led to a 2x increase in network throughput (average amount of funds transferred successfully per unit of time).
  • Volume Increase: Successful transfers handled by Boomerang were 40% larger than those handled by the baseline.

Limitations and Future Work

  • Low-Fidelity Prototype: The experiments were conducted on a "low-fidelity prototype implementation," meaning real-world network conditions and complexities might lead to different results.
  • Static Topology: The experimental setup used a static network topology, whereas real-world PCNs are dynamic.
  • Future Work: The authors suggest exploring the trade-offs between adaptively retrying and upfront redundancy, as well as further optimizing the implementation for practical deployment. They also highlight the potential for Boomerang to improve other aspects of PCN routing.

Summary updated

BibTeX
@misc{bagaria2019boomerang,
  author = {Vivek Kumar Bagaria and Joachim Neu and David Tse},
  title = {{Boomerang: Redundancy Improves Latency and Throughput in Payment Networks}},
  year = {2019},
  eprint = {1910.01834},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.01834},
}
Figure