Optimizing Off-Chain Payment Networks in Cryptocurrencies

Off-chain transaction channels represent one of the leading techniques to scale the transaction throughput in cryptocurrencies such as Bitcoin. They allow multiple agents to route payments through one another. So far, the topology and construction of payment networks has not been explored much. Participants are expected to minimize costs that are due to the allocation of liquidity as well as blockchain record fees. In this paper we study the optimization of maintenance costs of such networks. We present for the first time, a closed model for symmetric off-chain channels, and provide efficient algorithms for constructing minimal cost spanning-tree networks under this model. We prove that for any network demands, a simple hub topology provides a 2-approximation to the minimal maintenance cost showing that spanning trees in general are efficient. We also show an unbounded price of anarchy in a greedy game between the transactors, when each player wishes to minimize his costs by changing the network's structure. Finally, we simulate and compare the costs of payment networks with scale free demand topologies.

[1]  T. C. Hu,et al.  Multi-Terminal Network Flows , 1961 .

[2]  D. Adolphson Optimal linear-ordering. , 1973 .

[3]  T. C. Hu Optimum Communication Spanning Trees , 1974, SIAM J. Comput..

[4]  Thomas L. Magnanti,et al.  Network Design and Transportation Planning: Models and Algorithms , 1984, Transp. Sci..

[5]  Michel Minoux,et al.  Networks synthesis and optimum network design problems: Models, solution methods and applications , 1989, Networks.

[6]  Maurice Queyranne,et al.  Minimizing symmetric submodular functions , 1998, Math. Program..

[7]  JOSEP DÍAZ,et al.  A survey of graph layout problems , 2002, CSUR.

[8]  Walter Willinger,et al.  Towards a Theory of Scale-Free Graphs: Definition, Properties, and Implications , 2005, Internet Math..

[9]  Pavel Prihodko,et al.  Flare : An Approach to Routing in Lightning Network White Paper , 2016 .

[10]  Sandra Lowe,et al.  Probability A Graduate Course , 2016 .

[11]  Christof Weinhardt,et al.  Towards an economic analysis of routing in payment channel networks , 2017, SERIAL@Middleware.

[12]  Rami Khalil,et al.  Revive: Rebalancing Off-Blockchain Payment Networks , 2017, IACR Cryptol. ePrint Arch..

[13]  S. Schmid Balanced Routing in Micropayment Channel Networks , 2017 .

[14]  Simina Brânzei,et al.  How to Charge Lightning , 2017, ArXiv.

[15]  Giulio Malavolta,et al.  Concurrency and Privacy with Payment-Channel Networks , 2017, IACR Cryptol. ePrint Arch..

[16]  Joseph Poon,et al.  Plasma : Scalable Autonomous Smart Contracts , 2017 .

[17]  Cyril Grunspan,et al.  Ant routing algorithm for the Lightning Network , 2018, ArXiv.

[18]  H. Stanley,et al.  Scaling properties of extreme price fluctuations in Bitcoin markets , 2018, Physica A: Statistical Mechanics and its Applications.

[19]  Joaquín García,et al.  On the Difficulty of Hiding the Balance of Lightning Network Channels , 2019, IACR Cryptol. ePrint Arch..

[20]  Stefan Dziembowski,et al.  Perun: Virtual Payment Hubs over Cryptocurrencies , 2019, 2019 IEEE Symposium on Security and Privacy (SP).

[21]  Roger Wattenhofer,et al.  Payment Networks as Creation Games , 2019, DPM/CBT@ESORICS.

[22]  István András Seres,et al.  A Cryptoeconomic Traffic Analysis of Bitcoins Lightning Network , 2019, Cryptoeconomic Systems.

[23]  Zekeriya Erkin,et al.  How to profit from payments channels , 2019, Financial Cryptography.

[24]  Roger Wattenhofer,et al.  Ride the Lightning: The Game Theory of Payment Channels , 2019, Financial Cryptography.

[25]  Daniela Rincón,et al.  Identifying Beneficial Connection Types in Payment Channel Networks: The Case of Lightning , 2020 .