Skip to main content

Fully Discover the Balance of Lightning Network Payment Channels

  • Conference paper
  • First Online:
Book cover Wireless Algorithms, Systems, and Applications (WASA 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12937))

Abstract

The Lightning Network is a payment channel network that runs on top of Bitcoin. It is an open network, in which anyone with a computing device capable of connecting to the Internet can participate. Every participant is referred as a node. The direct link between two nodes is called a payment channel. Two nodes connected by the payment channel can conduct transactions, even in parallel. If two nodes without connecting directly a payment channel want to trade, the sender needs to start the route discovery algorithm to find a payment path connecting the sender and the receiver. The route discovery algorithm is based on the channel capacity, and the ip address of the node is public. To protect the privacy of users, the specific distribution of balances in the channel is confidential. The channel capacity is public and has been determined at the beginning of the channel establishment. The balance is private and has been dynamically changing, which brings challenges to the routing discovery algorithm. A channel balance disclosure attack was proposed to reveal the channel balance of most channels in the network. In this paper, we propose an enhanced channel balance disclosure attack that can reveal the balance of any channel in the network. We utilize a payment channel that can contain multiple outstanding parallel transactions at the same time to break the limit of the maximum value of a single transaction, thereby revealing the user’s precise balance. We explore countermeasures against enhanced balance disclosure attacks.

Supported by the National Key R&D Program of China (Grant No. 2020YFB1005900), the National Natural Science Foundation of China (Grant No. 62032025, 62071222, U20A201092), and the Natural Science Foundation of Jiangsu Province (Grant No. BK20200418), the Natural Science Foundation of Guangdong Province (Grant No. 2021A1515012650), and the Natural Science Foundation of Jiangsu Province (Grant No. BE2020106).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bolt # 2: Peer protocol for channel management. https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md

  2. Conoscenti, M., Vetrò, A., Martin, J.C.D.: Hubs, rebalancing and service providers in the lightning network. IEEE Access 7, 132828–132840 (2019)

    Article  Google Scholar 

  3. Decker, C., Wattenhofer, R.: A fast and scalable payment network with bitcoin duplex micropayment channels. In: Pelc, A., Schwarzmann, A.A. (eds.) SSS 2015. LNCS, vol. 9212, pp. 3–18. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21741-3_1

    Chapter  Google Scholar 

  4. Donet Donet, J.A., Pérez-Solà, C., Herrera-Joancomartí, J.: The bitcoin P2P network. In: Böhme, R., Brenner, M., Moore, T., Smith, M. (eds.) FC 2014. LNCS, vol. 8438, pp. 87–102. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-44774-1_7

    Chapter  Google Scholar 

  5. Herrera-Joancomartí, J., Navarro-Arribas, G., Ranchal-Pedrosa, A., Pérez-Solà, C., Garcia-Alfaro, J.: On the difficulty of hiding the balance of lightning network channels. In: Proceedings of the 2019 ACM Asia Conference on Computer and Communications Security, pp. 602–612 (2019)

    Google Scholar 

  6. Malavolta, G., Moreno-Sanchez, P., Kate, A., Maffei, M., Ravi, S.: Concurrency and privacy with payment-channel networks. In: Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, pp. 455–471 (2017)

    Google Scholar 

  7. Mizrahi, A., Zohar, A.: Congestion attacks in payment channel networks. arXiv preprint arXiv:2002.06564 (2020)

  8. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. Technical report, Manubot (2019)

    Google Scholar 

  9. Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2016)

    Google Scholar 

  10. Prihodko, P., Zhigulin, S., Sahno, M., Ostrovskiy, A., Osuntokun, O.: Flare: an approach to routing in lightning network. White Paper (2016)

    Google Scholar 

  11. Tikhomirov, S., Pickhardt, R., Biryukov, A., Nowostawski, M.: Probing channel balances in the lightning network. arXiv preprint arXiv:2004.00333 (2020)

  12. van Dam, G., Kadir, R.A., Nohuddin, P.N.E., Zaman, H.B.: Improvements of the balance discovery attack on lightning network payment channels. In: Hölbl, M., Rannenberg, K., Welzer, T. (eds.) SEC 2020. IAICT, vol. 580, pp. 313–323. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58201-2_21

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lu Zhou .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhao, Z., Ge, C., Zhou, L., Wang, H. (2021). Fully Discover the Balance of Lightning Network Payment Channels. In: Liu, Z., Wu, F., Das, S.K. (eds) Wireless Algorithms, Systems, and Applications. WASA 2021. Lecture Notes in Computer Science(), vol 12937. Springer, Cham. https://doi.org/10.1007/978-3-030-85928-2_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-85928-2_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-85927-5

  • Online ISBN: 978-3-030-85928-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics