Flash: E icient Dynamic Routing for O chain Networks

Peng Wang,Hong Xu,Xin Jin,Tao Wang
2019-01-01
Abstract:O chain networks emerge as a promising solution to address the scalability challenge of blockchain. Participants make payments through o chain networks instead of committing transactions onchain. Routing is critical to the performance of o chain networks. Existing solutions use either static routing with poor performance or dynamic routing with high overhead to obtain the dynamic channel balance information. In this paper, we propose Flash, a new dynamic routing solution that leverages the unique transactions characteristics in o chain networks to strike a better tradeo between path optimality and probing overhead. By studying the traces of real o chain networks, we nd that the payment sizes are heavy-tailed, and most payments are highly recurrent. Flash thus di erentiates the treatment of elephant payments from that of mice payments. It uses a modi ed max-ow algorithm for elephant payments to nd paths with su cient capacity, and strategically routes the payment across paths to minimize the transaction fees. Mice payments are sent directly by looking up a routing table with a few precomputed paths to reduce probing overhead. Testbed experiments and trace-driven simulations show that Flash improves the success volume of payments by up to 2.3 x compared to the state-of-the-art routing algorithm.
What problem does this paper attempt to address?